header: tweak sizing
This commit is contained in:
parent
e1052c811a
commit
996a0760b6
@ -1,10 +1,13 @@
|
|||||||
header
|
header
|
||||||
width: 100vw
|
width: 100vw
|
||||||
min-height: 50px
|
min-height: 3em
|
||||||
|
|
||||||
background-color: green
|
background-color: green
|
||||||
color: white
|
color: white
|
||||||
font-weight: 600
|
font-weight: 600
|
||||||
|
font-size: 1.2em
|
||||||
|
line-height: 1.5em
|
||||||
|
white-space: nowrap
|
||||||
|
|
||||||
a
|
a
|
||||||
color: white
|
color: white
|
||||||
@ -19,13 +22,12 @@ header
|
|||||||
list-style-type: none
|
list-style-type: none
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
|
overflow: hidden
|
||||||
|
|
||||||
// menu items
|
// menu items
|
||||||
li
|
& > li
|
||||||
display: inline
|
display: inline
|
||||||
margin: 0 10px
|
padding: 4px 20px
|
||||||
padding: 2px 10px
|
|
||||||
line-height: 1.5rem
|
|
||||||
|
|
||||||
// submenus
|
// submenus
|
||||||
& > ul
|
& > ul
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user