@import "ustyle/content/c-header"; @import "ustyle/content/c-social"; .us-content { margin-bottom: $gutter-width; h2, h3, h4, h5, h6 { margin-top: 50px; } // // Default typography styling // p, ul, blockquote { @include baseline($base-font-size); @include respond-to(tablet) { @include baseline(18px); } @include respond-to(desktop, true) { @include baseline(20px); text-rendering: optimizeSpeed; } a { @extend %anchor-link; } } // // Default image styling // img { height: auto; max-width: 100%; padding-top: 1em; margin-bottom: 1em; } // // Default table styling // table { width: 100%; border-collapse: separate; img, p { @extend %reset-box-model; } a { border: 0; } td, th { padding: $gutter-width / 4; vertical-align: middle; border-bottom: 1px solid $c-bordergrey; } thead { background-color: $c-keylinegrey; } } // // Figure / image captions // figure { padding: $gutter-width / 2; margin: 0; background-color: $c-bggrey; border: 1px solid $c-keylinegrey; img { padding-top: 0; margin-bottom: 0; } figcaption { display: inline-block; vertical-align: top; @include respond-to(tablet, true) { width: 50%; margin-left: $gutter-width; } } } .strap { font-weight: 700; color: $c-navy; } .internal-menu { @extend %list; } // scss-lint:disable NestingDepth, SelectorDepth .plans-ending { @extend %clearfix; @extend %reset-box-model; list-style: none; border-top: 1px solid $c-blue; > li { padding-top: .5em; padding-bottom: .5em; margin: 0; border-bottom: 1px solid $c-blue; } ul { list-style: disc; } .row { position: relative; font-weight: 700; color: $c-blue; cursor: pointer; transition: color .3s; &:after { position: absolute; top: 50%; right: 1em; margin-top: -.75em; font-size: 2em; font-weight: 700; content: "\27E9"; } &:hover { color: $c-typecyan; } } img { @extend %reset-box-model; margin: 0 1em 0 1em; vertical-align: middle; } .table-container { margin-top: .5em; } .us-btn { @extend %btn; @extend %btn--primary; } .js & { .table-container { display: none; } } } .fuel-breakdown { @extend %clearfix; @extend %reset-box-model; width: 100%; overflow: hidden; list-style: none; li { float: left; padding: $gutter-width / 2 0; font-size: 16px; font-size: rem(16px); color: #fff; text-align: center; vertical-align: middle; b { display: block; } } $fuel-colors: (coal, $c-bordergrey), (gas, $c-typecyan), (nuclear, $c-orange), (renewable, $c-green), (other, $c-typegrey); @each $color in $fuel-colors { .#{nth($color, 1)} { background-color: nth($color, 2); @if nth($color, 1) == other { text-indent: -999em; } } } } // scss-lint:enable NestingDepth, SelectorDepth }