Replace tricks with mods (fixes #88)

This commit is contained in:
daudix
2024-09-25 20:51:11 +03:00
parent 75f993017e
commit c00e2da03e
20 changed files with 210 additions and 199 deletions

View File

@ -0,0 +1,39 @@
#site-nav {
margin-block-start: 0;
inset-block-start: 0;
box-shadow: var(--shadow-glass);
border-radius: 0;
width: 100%;
max-width: 100%;
nav,
#search-container {
margin: 0 auto;
width: min(var(--container-width), 90%);
}
nav ul li {
a,
summary,
&#search button,
&#language-switcher details summary,
&#theme-switcher details summary {
border-radius: var(--rounded-corner);
}
}
#home {
margin-inline-end: auto;
}
.divider {
display: none;
}
#search-container {
#search-bar {
border-radius: var(--rounded-corner);
}
}
}