/////////////////////////////// // !THEME / COMPONENTS / FOOTER /////////////////////////////// .unl .dcf-footer { color: $color-footer; background-color: $color-footer-bg; } .unl-footer-stripe::before { background-image: linear-gradient(to top, fade-out($scarlet,1) 3px, $scarlet 3px, $scarlet 5px, fade-out($scarlet,1) 5px); content: ''; height: 5px; position: absolute; top: -5px; width: 100%; } .unl .dcf-footer h2 { @include cream; @include txt-md; @include ls-2; @include lh-3; text-transform: uppercase; } // Footer lists .unl .dcf-footer dl, .unl .dcf-footer ol, .unl .dcf-footer ul { // Fix list-style: none in VoiceOver and Safari: https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html list-style: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E"); margin-bottom: 0; padding-left: 0; } .unl .dcf-footer li { @include mb-0; } .unl .dcf-footer li a { display: inline-block; @include pb-1; @include pt-1; } // Footer links // TODO: determine focus state styles .unl .dcf-footer a, .unl .dcf-footer a:link, .unl .dcf-footer a:visited, .unl .dcf-footer a:active { color: $color-footer-link; text-decoration: none; } .unl .dcf-footer a:hover { color: $color-footer-link; text-decoration: underline; } @include mq(sm, max, width) { .unl-footer-unl { margin-bottom: #{ms(-8)}em; } } @include mq(sm, min, width) { .unl-footer-logos { justify-content: flex-end; } }