/** Layouts only */ html, #footer .container { background-color: $primary-color } body { height: auto; } #footer { //margin-top: 5em; } main { padding-bottom: 5em; background-color: $white; body.page-style-form & { //background-color: $color-5; } .no-banner & { //border-top: 0.25em solid $primary-color; } /*.no-banner &:before { content: '///////////////'; color: #CCC; font-weight: 100; font-family: $header-font-family; letter-spacing: 0.33333em; font-size: 1em; text-align: center; display: block; font-style: italic; }*/ } $body-background-color: $white; //$main-container-background-color: #F4F4F4; //$content-background-color: #FFF; //$layout-border-color: #DDD; $translation-control-background-color: $black !default; $translation-control-text-color: $black !default; #translation-control { position: fixed; padding: 0.75em; background-color: $translation-control-background-color; height: 3.75em; overflow: visible; z-index: 2; width: 100%; top: 0; .row { max-width: none; } select, button { height: 2.66667em; margin: 0; } select { } textarea { margin: 0 0 0.5em; min-height: 2.66667em; } button { line-height: 0em; font-size: 0.875em; } input, label { margin: 0.75em 0 0 0.5em; } + .top-bar { margin-top: 3.75em; } } #translatepluralizations { display: none; background-color: $translation-control-background-color; color: $translation-control-text-color; padding: 0.5em; label { color: inherit; } } #translatevars { display: none; //position: absolute; background-color: $translation-control-background-color; color: $translation-control-text-color; z-index: 1; padding: 0.5em; //margin-top: 0.5em; ul { list-style: none; margin: 0; display: inline-block; } li { font-family: monospace; font-size: 0.9em; display: inline-block; margin-right: 0.5em; &:before { content: '%{'; } &:after { content: '}'; } &.used { text-decoration: line-through; } } } #banner { //min-height: 5em; //background-color: rgba($black, 0.125); position: relative; color: $black; //border-top: 0.25em solid $primary-color; padding: 1em 0; margin-bottom: 2.5em; text-align: center; &.has-image { padding: 0; margin-bottom: 5em; color: #FFF; background-size: cover; background-position: center 75%; min-height: 25em; box-shadow: inset 0 10em 50em -5em #000; text-shadow: 0 0.1em 0.75em #000; text-align: left; &:before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background-color: $primary-color; opacity: 0.5; } &:after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1.1em; background-image: linear-gradient(45deg, $white 25%, transparent 25%), linear-gradient(-45deg, transparent 75%, $white 75%); background-image: -ms-linear-gradient(45deg, $white 25%, transparent 25%), -ms-linear-gradient(-45deg, transparent 75%, $white 75%); background-image: -moz-linear-gradient(56deg, $white 25%, transparent 25%), -moz-linear-gradient(-56deg, transparent 75%, $white 75%); background-image: -ms-linear-gradient(56deg, $white 25%, transparent 25%), -ms-linear-gradient(-56deg, transparent 75%, $white 75%); background-image: -webkit-linear-gradient(56deg, $white 20%, transparent 25%), -webkit-linear-gradient(-56deg, transparent 75%, $white 80%); background-repeat: repeat-x; background-size: 1.25em 1.1em; background-position: 0 bottom; //padding-top: 0.6em; //margin-top: 5em; } body.organizations & { border-color: $organization-color; &:before { background-color: $organization-color; } &.has-image { h1 { color: #FFF; } h2 { color: #CCC; } } } .page-style-emphasize-banner & { padding-top: $topbar-height; } h1 { color: $color-3; } h2, em { color: $color-2; } } figure img { margin-bottom: -2.5em; box-shadow: 0 0.1em 0.75em #000; position: relative; z-index: 1; } h1, h2 { line-height: 1em; } .info { padding-top: 5%; } p { line-height: 1.3333em; margin-top: 1.5em; //box-shadow: 0 0 5em 1em #000; //background-color: rgba(#000, 0.7); //border-radius: 1em; } .button { color: inherit; background-color: $primary-color;// rgba(0, 0, 0, 0.75); } } .top-bar { .name h1 a { text-shadow: 0 -3px $black, 0 1px $black, 0 3px $color-1, 0 4px $black, 0 6px $color-2, 0 7px $black, 0 9px $color-3, 0 10px $black, 0 12px $color-4, 0 13px $black, 0 15px $color-5, 0 16px $black; -webkit-transition: text-shadow 333ms ease-in-out; -moz-transition: text-shadow 333ms ease-in-out; -ms-transition: text-shadow 333ms ease-in-out; transition: text-shadow 333ms ease-in-out; line-height: 2em; padding-left: 0; &:hover { text-shadow: 0 0 $black, 0 0 $black, 0 0 $color-1, 0 0 $black, 0 0 $color-2, 0 0 $black, 0 0 $color-3, 0 0 $black, 0 0 $color-4, 0 0 $black, 0 0 $color-5, 0 0 $black; } } .top-bar-section ul li > a { text-transform: uppercase; font-weight: 800; font-size: 1em; &.button { background-color: transparent; margin: 1em 0; color: $white; border: 1px solid; } } .user-profile { padding: 0; a { padding: 0em 0.75em; } img { width: 2.25em; border-radius: 33%; } } .has-form { padding: 0; &.sign-out a.button { font-size: 0.6em; margin-top: 2.25em; } } .page-style-emphasize-banner & { position: absolute; left: 0; right: 0; z-index: 1; text-shadow: 0 0.1em 0.75em #000; } } .centered { text-align: center; } select.cant { display: none; } body.organizations-show { main > nav .tabs { position: relative; top: -2em; } } #overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.75); text-align: center; #overlay-inner { text-align: center; display: inline-block; background-color: $black; padding: 2em; margin: 5% 0 0 0; padding-top: 0; box-shadow: 0 0 1em #000; } &.user-select { #overlay-inner { min-width: 50%; } } } .user-preview { display: inline-block; margin: 0.5em; position: relative; label { position: absolute; bottom: 0; left: 0; right: 0; color: #FFF; background-color: rgba(#000, 0.5); } } .small-text-centered { text-align: center; @media #{$medium-up} { text-align: inherit; } } table { td { vertical-align: top; &.primary { width: 100%; } } } @media #{$medium-up} { .top-bar-section li a:not(.button) { background: transparent !important; } }