Replace tricks with mods (fixes #88)
This commit is contained in:
23
sass/mods/_sticked-nav.scss
Normal file
23
sass/mods/_sticked-nav.scss
Normal file
@ -0,0 +1,23 @@
|
||||
#site-nav {
|
||||
margin-block-start: 0;
|
||||
inset-block-start: 0;
|
||||
box-shadow: var(--shadow-glass);
|
||||
border-radius: 0 0 calc(var(--rounded-corner) + 0.5rem) calc(var(--rounded-corner) + 0.5rem);
|
||||
|
||||
nav ul li {
|
||||
a,
|
||||
summary,
|
||||
&#search button,
|
||||
&#language-switcher details summary,
|
||||
&#theme-switcher details summary {
|
||||
border-radius: var(--rounded-corner);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#search-container {
|
||||
#search-bar {
|
||||
border-radius: var(--rounded-corner);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user