update
This commit is contained in:
parent
4bda4a620b
commit
56f5bea285
2 changed files with 8 additions and 8 deletions
|
@ -30,16 +30,12 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 9999;
|
z-index: 9999;
|
||||||
@if $type == blog {
|
@if $type == wiki {
|
||||||
position: absolute;
|
|
||||||
top: -$ngtb_height;
|
|
||||||
} @else if $type == wiki {
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
} @else {
|
} @else {
|
||||||
order: -1;
|
order: -1;
|
||||||
position: sticky;
|
position: relative;
|
||||||
top: 0;
|
|
||||||
}
|
}
|
||||||
ul {
|
ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -95,7 +91,8 @@ $ngtb_height: 32px; // ngtb == nom_globaltopbar
|
||||||
@if $type == blog {
|
@if $type == blog {
|
||||||
|
|
||||||
body {
|
body {
|
||||||
top: $ngtb_height; // WordPress nach unten verschieben, damit globaltopbar sichtbar wird
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
header {
|
header {
|
||||||
.search-modal {
|
.search-modal {
|
||||||
top: $ngtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
top: $ngtb_height; // Suchleiste nach unten versetzen, damit sie unter der Topbar angezeigt werden
|
||||||
|
|
|
@ -4,7 +4,10 @@ body {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
a {
|
a {
|
||||||
color: $nom_blue;
|
color: $nom_blue-light;
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
|
|
Reference in a new issue