personal_site/_sass/nav.scss
2023-10-23 14:12:46 +01:00

31 lines
575 B
SCSS

nav {
display: flex;
flex-direction: column;
}
.current {
color: darkslategray;
}
@media (prefers-color-scheme: dark) {
.current {
color: lightslategray;
}
}
@media
only screen and (max-width: $horizontal_breakpoint),
only screen and (max-height: $vertical_breakpoint)
{
nav.page-table-of-contents {
white-space: normal;
justify-content: left;
text-align: left;
ul {padding-left: 0em;}
li li {
padding-right: 0em;
padding-left: 2em;
}
}
}