You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
914 B
Sass
41 lines
914 B
Sass
@import "_variables"
|
|
|
|
// nav bar
|
|
nav
|
|
color: white
|
|
background-color: $color-main
|
|
display: flex
|
|
flex-direction: row
|
|
flex-wrap: wrap
|
|
justify-content: space-around
|
|
align-items: stretch
|
|
// links, groups of links, and links inside
|
|
> a.item, > span, > span a.item
|
|
display: flex
|
|
flex-wrap: wrap
|
|
align-items: center
|
|
a.item, .dropper
|
|
min-height: 2.5em
|
|
padding: 0 0.5em
|
|
a
|
|
color: white
|
|
a.active
|
|
background-color: $color-nav-link-active
|
|
a:hover
|
|
background-color: $color-nav-link-hover
|
|
color: white
|
|
text-decoration: none
|
|
img
|
|
height: 1.2em
|
|
margin-right: .2em
|
|
.dropper
|
|
padding: 0 0.5em
|
|
.dropdown-content
|
|
position: absolute
|
|
right: 0
|
|
min-width: 8.5em
|
|
|
|
// font
|
|
font-family: JetBrainsMono
|
|
font-size: 18px
|
|
font-weight: 600 |