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 }}
header {
#hamburger-menu {
@extend .nerdlink;
display: none !important;
}
#main-nav-toggler {
display: none;
}
}
@media only screen and (max-width: 520px) {
header {
.titleAndSearchContainer {
z-index: 9999999 !important;
}
#hamburger-menu {
display: block !important;
font-size: 1.2em;
cursor: pointer;
text-align: center;
margin: 0;
padding: ($content_spacing / 4);
align-self: center;
@extend .nerdlink;
display: none !important;
}
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;
text-align: center;
a {
#main-nav-toggler {
display: none;
}
}
@media only screen and (max-width: 520px) {
header {
.titleAndSearchContainer {
z-index: 9999999 !important;
}
#hamburger-menu {
display: block !important;
font-size: 1.2em;
cursor: pointer;
text-align: center;
margin: 0;
padding: ($content_spacing / 4);
align-self: center;
}
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;
width: 100%;
padding: 0;
text-align: center;
a {
display: block;
width: 100%;
padding: 0;
}
}
}
}
#main-nav-toggler:checked ~ #main-nav {
display: flex;
#main-nav-toggler:checked ~ #main-nav {
display: flex;
}
}
}
}
}
{{ end }}
{{ if and