Fixed header style
This commit is contained in:
parent
a8a50eafa1
commit
8b6cd92700
|
@ -481,7 +481,7 @@
|
||||||
|
|
||||||
@include media-breakpoint-up(lg) {
|
@include media-breakpoint-up(lg) {
|
||||||
margin-left: 0.5em !important;
|
margin-left: 0.5em !important;
|
||||||
margin-right: 0;
|
margin-right: 0.5em;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
@ -497,21 +497,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&,
|
|
||||||
a::before {
|
a::before {
|
||||||
border-radius: 1.2em !important;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:hover,
|
a:hover,
|
||||||
a:hover {
|
button:hover {
|
||||||
background-color: var(--link-hover-background);
|
|
||||||
color: var(--link-hover-color);
|
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
filter: invert(0);
|
filter: invert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.textLabel {
|
.textLabel {
|
||||||
|
background-color: var(--link-hover-background);
|
||||||
color: var(--link-hover-color);
|
color: var(--link-hover-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
.subnavigation {
|
.subnavigation {
|
||||||
@include font-size(1.5rem);
|
@include font-size(1.4rem);
|
||||||
|
height: 6rem;
|
||||||
height: 3em;
|
line-height: 6rem;
|
||||||
line-height: 3em;
|
margin-bottom: 5rem !important;
|
||||||
margin-bottom: 1.2rem !important;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
@ -14,22 +13,37 @@
|
||||||
.topics {
|
.topics {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin-right: 2.2rem;
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding: 0;
|
padding: 0 7em 0 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
margin-right: 2.4rem;
|
margin-right: 2.4rem;
|
||||||
|
|
||||||
&:last-child {
|
&.right {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.icon {
|
||||||
|
filter: invert(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
display: inline-block;
|
||||||
|
margin-left: 0.3em;
|
||||||
|
position: relative;
|
||||||
|
top: 0.15em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,8 +25,8 @@ export const NavTopics = (props: { topics: Topic[] }) => {
|
||||||
<li class="item right">
|
<li class="item right">
|
||||||
<a href={`/topics`}>
|
<a href={`/topics`}>
|
||||||
<span>
|
<span>
|
||||||
<Icon name="arrow-right-black" style={{ height: '12px', display: 'inline-block' }} />
|
{t('All topics')}
|
||||||
<small style={{ margin: '4px' }}>{t('All topics')} </small>
|
<Icon name="arrow-right-black" class={'icon'} />
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
.withPadding {
|
.withPadding {
|
||||||
padding-top: 100px;
|
padding-top: 58px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -561,7 +561,7 @@ figure {
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 2rem;
|
margin-right: 2.4rem;
|
||||||
margin-bottom: 0.6em;
|
margin-bottom: 0.6em;
|
||||||
|
|
||||||
@include media-breakpoint-down(md) {
|
@include media-breakpoint-down(md) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user