website-redesign/draft/res/navbar.scss

51 lines
721 B
SCSS

body > nav {
background: black;
color: white;
a.sitelogo {
display: block;
width: 100%;
& img {
width: 100%;
}
}
& > ul {
list-style: none;
padding: 0 0.75rem;
& > li {
padding: 0.5rem 0;
&:not(:first-child) {
border-top: 1px solid #444;
}
line-height: 1.5rem;
& > ul {
list-style: none;
& > li {
color: #CCC;
padding-left: 1rem;
line-height: 1.5rem;
}
}
}
li.current {
& > a {
font-weight: bold;
}
}
a {
text-decoration: none;
color: inherit;
&:active, &:hover, &:focus {
color: #DAB737;
}
}
}
}