1
1
Fork 0
This commit is contained in:
Vrifox 2020-10-19 20:07:28 +02:00
parent 4bda4a620b
commit 56f5bea285
2 changed files with 8 additions and 8 deletions

View file

@ -30,16 +30,12 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
white-space: nowrap;
width: 100%;
z-index: 9999;
@if $type == blog {
position: absolute;
top: -$ngtb_height;
} @else if $type == wiki {
@if $type == wiki {
position: absolute;
top: 0;
} @else {
order: -1;
position: sticky;
top: 0;
position: relative;
}
ul {
display: flex;
@ -95,7 +91,8 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
@if $type == blog {
body {
top: $ngtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
display: flex;
flex-direction: column;
header {
.search-modal {
top: $ngtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden

View file

@ -4,7 +4,10 @@ body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
a {
color: $nom_blue;
color: $nom_blue-light;
&:hover {
text-decoration: none;
}
}
main {
font-size: 18px;