Skip to content

Commit c3ab3f8

Browse files
committed
style: fix logo spacing
Avoid leaking styles from navigation to logo. Add a bit of space.
1 parent 8a104fb commit c3ab3f8

File tree

1 file changed

+21
-16
lines changed

1 file changed

+21
-16
lines changed

layouts/css/page-modules/_header.styl

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,28 @@ header
2828
&.active:first-child:after
2929
margin-left -($border-width)px
3030

31-
a,
32-
a:link,
33-
a:active
34-
padding 0 8px
35-
text-transform uppercase
36-
font-size 14px
37-
// the header css apparently disobeys cascading rules, so, !important.
38-
color #ccc !important
39-
40-
a:hover
41-
background-color transparent
42-
text-decoration underline
31+
nav
32+
a,
33+
a:link,
34+
a:active
35+
padding 0 8px
36+
text-transform uppercase
37+
font-size 14px
38+
color #ccc
39+
40+
a:hover
41+
background-color transparent
42+
text-decoration underline
4343

4444
#logo
45-
width 182px
46-
margin 30px auto
45+
display block
46+
width 9em
47+
margin .5em auto 1em auto
4748
border none
4849

49-
#logo img
50-
width 182px
50+
&:hover
51+
background-color transparent
52+
text-decoration underline
53+
54+
img
55+
display block

0 commit comments

Comments
 (0)