www.moparscape.org/stylesheets/partials/_navigation.sass

39 lines
974 B
Sass
Raw Normal View History

2009-11-14 14:08:19 -05:00
#nav
+clearfix
position: relative
z-index: 1
background-color: $nav-bg
+linear-gradient(color-stops(#fcfcfc, #f4f4f4 0.3, #dddddd))
2009-11-14 14:08:19 -05:00
border:
top: 1px solid $nav-border-top
bottom: 1px solid $nav-border-bottom
2009-11-14 14:08:19 -05:00
ul
position: relative
+horizontal-list
margin: 0 auto
2010-03-10 14:59:18 -05:00
padding: 6px 0
2009-11-14 14:08:19 -05:00
li
padding: 0 15px
border-left: 1px solid $nav-border-left
border-right: 1px solid $nav-border-right
2009-11-14 14:08:19 -05:00
&.alpha
border-left: none
padding-left: 0
&.omega
border-right: 0
&.subscribe
position: absolute
left: $page-width - $sidebar-width - $sidebar-margin / 2
2009-11-14 14:08:19 -05:00
border: none
a
display: inline-block
padding-left: 28px
background: image-url("rss.png") left top no-repeat
2009-11-14 14:08:19 -05:00
a
display: inline-block
color: $nav-color
2009-11-14 14:08:19 -05:00
line-height: 150%
text-decoration: none
&:hover
color: $nav-color-hover