1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Specified menu height in px's as ems just won't line up in all browsers!

This commit is contained in:
Dan Barber 2011-10-11 15:06:43 +01:00
parent 150ce3955e
commit 5d8c19945d

View File

@ -17,7 +17,7 @@ header
margin: 0 0 1em margin: 0 0 1em
padding: 0 1em padding: 0 1em
list-style: none list-style: none
height: 2.5em height: 35px
position: relative position: relative
z-index: 100 z-index: 100
li a li a
@ -27,9 +27,9 @@ header
color: #444 color: #444
text-decoration: none text-decoration: none
display: block display: block
height: 1.5em height: 21px
float: left float: left
padding: 0.6em 1em 0.4em padding: 7px 1em 7px
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5)
@include transition(all 0.15s 0s ease) @include transition(all 0.15s 0s ease)
&:hover, &:focus &:hover, &:focus