@import '_shims'; @import '_conditionals'; @import '_measurements'; $header-background-color: #f7f7ed; $header-foreground-color: $black; #global-header { background-color: $header-background-color; width: 100%; .header-wrapper { background-color: $header-background-color; max-width: 990px; margin: 0 auto; padding-top: 8px; padding-bottom: 8px; @extend %contain-floats; @include media(tablet){ padding-left: $gutter-half; padding-right: $gutter-half; } @include ie-lte(8) { width: 990px; } .header-global { @extend %contain-floats; .header-logo { @extend %contain-floats; float: left; @include media(desktop){ width: 33.33%; } @media screen and (max-width: 379px) { width: auto; float: none; } .content { margin: 0 15px; } } .header-logo { margin: 5px 0 2px; } } } #logo { float: left; position: relative; top: 1px; height: 30px; overflow: visible; vertical-align: baseline; color: $header-foreground-color; font-weight: bold; font-size: 30px; line-height: 1em; text-decoration: none; text-rendering: optimizeLegibility; margin-bottom: -1px; padding-bottom: 1px; img { position: relative; top: -2px; width: 35px; height: 31px; padding-right: 6px; float: left; display: inline; line-height: inherit; border: none; } &:hover, &:focus { text-decoration: none; border-bottom: 1px solid; padding-bottom: 0; } &:active { color: $light-blue; } } #log-in-out { font-size: 16px; float: right; margin-top: 15px; margin-right: 15px; a { color: inherit; text-decoration: none; } a:hover { text-decoration: underline; } } } /* Global header bar */ #global-header-bar { @include outer-block; .inner-block { @include inner-block; } .header-bar { height: 10px; background-color: $header-foreground-color; @include ie-lte(8) { font-size: 0; } } }