fixed style indentation

This commit is contained in:
Gabriele Musco 2021-12-26 23:43:30 +01:00
parent 5082511f06
commit ae8c44e50b
No known key found for this signature in database
GPG Key ID: 0587A5D65B5DC99E
1 changed files with 47 additions and 47 deletions

View File

@ -792,62 +792,62 @@ input, textarea, textarea.cactus-editor-textarea {
} }
{{ if .Site.Params.mobileHamburgerNav | default false }} {{ if .Site.Params.mobileHamburgerNav | default false }}
header {
#hamburger-menu {
@extend .nerdlink;
display: none !important;
}
#main-nav-toggler {
display: none;
}
}
@media only screen and (max-width: 520px) {
header { header {
.titleAndSearchContainer {
z-index: 9999999 !important;
}
#hamburger-menu { #hamburger-menu {
display: block !important; @extend .nerdlink;
font-size: 1.2em; display: none !important;
cursor: pointer;
text-align: center;
margin: 0;
padding: ($content_spacing / 4);
align-self: center;
} }
nav:not(#TableOfContents) { #main-nav-toggler {
ul#main-nav { display: none;
&, li, li a {text-shadow: none !important;} }
display: none; }
position: absolute;
z-index: 99999; @media only screen and (max-width: 520px) {
right: 6px; header {
padding: 12px; .titleAndSearchContainer {
width: 120px; z-index: 9999999 !important;
{{ if eq .Site.Params.navtype "circles" }} }
border-radius: $border_radius; #hamburger-menu {
{{ end }} display: block !important;
border: 2px solid var(--default_accent); font-size: 1.2em;
background-color: var(--default_hl_bg); cursor: pointer;
flex-direction: column; text-align: center;
li { margin: 0;
border-right: none !important; padding: ($content_spacing / 4);
display: block; align-self: center;
text-align: center; }
a { nav:not(#TableOfContents) {
ul#main-nav {
&, li, li a {text-shadow: none !important;}
display: none;
position: absolute;
z-index: 99999;
right: 6px;
padding: 12px;
width: 120px;
{{ if eq .Site.Params.navtype "circles" }}
border-radius: $border_radius;
{{ end }}
border: 2px solid var(--default_accent);
background-color: var(--default_hl_bg);
flex-direction: column;
li {
border-right: none !important;
display: block; display: block;
width: 100%; text-align: center;
padding: 0; a {
display: block;
width: 100%;
padding: 0;
}
} }
} }
} #main-nav-toggler:checked ~ #main-nav {
#main-nav-toggler:checked ~ #main-nav { display: flex;
display: flex; }
} }
} }
} }
}
{{ end }} {{ end }}
{{ if and {{ if and