diff options
Diffstat (limited to 'design/sass/_header.scss')
-rw-r--r-- | design/sass/_header.scss | 135 |
1 files changed, 135 insertions, 0 deletions
diff --git a/design/sass/_header.scss b/design/sass/_header.scss new file mode 100644 index 0000000..431897e --- /dev/null +++ b/design/sass/_header.scss @@ -0,0 +1,135 @@ +.header-wrapper { +} + +#logo { + a { + @include fontsize(32); + line-height: 1; + text-decoration: none; + display: block; + font-weight: 300; + font-family: 'carrois_gothicregular', Helvetica, sans-serif; + color: $body_font_color; + } + .tagline { + display: block; + @include fancy_sans; + @include smcaps; + @include fontsize(12); + font-style: normal; + margin-left: 2px; + } +} +.site-banner { + @extend %clearfix; + margin: 0 auto; + @include constrain_wide; + @include smcaps; + nav { + border-top: 1px #444444 dotted; + border-bottom: 1px #444444 dotted; + //box-shadow: 0 3px 8px 0 #e6e6e6 + padding-left: 20px; + padding-right: 20px; + margin-right: -20px; + margin-left: -20px; + margin-top: 1em; + padding: 0.25em 0.5em; + a { + text-decoration: none; + color: #505050; + &:visited { + color: #505050 + } + } + ul { + @include smcaps; + @include fancy_sans; + @include fontsize(15); + max-width: 100%; + font-weight: 600; + margin-top: 0.5em; + margin-bottom: 0.5em !important; + padding: 0; + @include constrain(85%); + } + li { + display: inline; + margin: 0 0.25em; + &:after { + content: "\00b7"; + color: #999999; + padding-left: 0.75em; + } + &:last-of-type { + margin-right: 0; + &:after { + content: " "; + } + } + } + @include breakpoint(beta) { + } + } + @include breakpoint(beta) { + height: 90px; + position: relative; + #logo { + float: left; + position: absolute; + bottom: 28%; + text-align: left; + a { + width: 360px; + &:before { + display: inline-block; + background-size: 102px; + //if sox + #background: url("img/soxlogo.svg") center bottom no-repeat; + #background-size: 70px; + height: 85px; + width: 105px; + //if sox + #width: 80px; + margin-right: 10px; + } + } + .sitesubtitle { + margin-left: 116px; + //if sox + #margin-left: 90px; + margin-top: -30px; + } + } + nav { + float: right; + border: none; + margin: 22px 0 0 0; + padding: 0; + ul { + max-width: 50em; + } + } + } +} + +.header-wrapper { + @extend %clearfix; + @include breakpoint(beta) { + border-bottom: 1px #f3efef solid; + position: relative; + } + @include breakpoint(gamma) { + max-width: $breakpoint-gamma; + margin-left: auto; + margin-right: auto; + } + @include breakpoint(delta) { + margin-top: 1.3rem; + max-width: $breakpoint-delta; + } + @include breakpoint(epsilon) { + margin-top: 1.3rem; + max-width: $max_width; + } +} |