Sha256: 9c1cda0ac3f10c411eec47d0f841ee87a1d0229d33972c9994550fd8786f8623
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
$bourbon-nav-background-color: #5b5e63; nav.bourbon { @include clearfix; background-color: $bourbon-nav-background-color; padding: 0 2em 0 1em; @include media(max-width em(510)) { padding: 0; }; ul { text-align: center; @include media(em(901)) { float: left; text-align: left; }; } li { display: inline-block; } a { background-position: 1em center; background-repeat: no-repeat; color: #fff; display: inline-block; font-weight: bold; padding: 1em 1em 1em 3em; @include media(max-width em(515)) { padding: 0.75em 0.5em; text-align: center; }; @include media(max-width em(900)){ display: block; }; &:focus, &:hover { background-color: darken($bourbon-nav-background-color, 10); color: #fff; } &.current { background-color: darken($bourbon-nav-background-color, 5); } $sites: bourbon, neat, bitters, refills; @each $site in $sites { &.#{$site} { background-image: url("/images/bourbon-nav/#{$site}.png"); @include hidpi { background-image: url("/images/bourbon-nav/#{$site}@2x.png"); background-size: 20%; } @include media(max-width em(515)) { background-image: none; }; } } } h1 { color: rgba(#fff, 0.6); float: right; font-size: 1em; @include media(max-width em(900)) { display: none; }; a { padding: 1em 0; &:hover { background-color: transparent; } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refills-0.1.0 | source/stylesheets/_bourbon-nav.scss |