%footer > a:first-child { position: relative; } %footer > a:first-child::before { @extend %with-hashicorp-logo-mask, %as-pseudo; background-color: $gray-400; font-size: 1.4em; position: absolute; top: 50%; margin-top: -0.7em; left: -25px; } %footer { border-top: $decor-border-100; } %footer { border-color: $gray-200; background-color: $white; } %footer > * { color: $gray-400; } %footer { display: flex; justify-content: center; position: relative; z-index: 1; } %footer > * { display: block; } @media #{$--tall-footer} { %footer { padding-top: 12px; padding-bottom: 12px; } } @media #{$--wide-footer} { %footer { padding-left: 12px; padding-right: 12px; } %footer > * { padding: 11px; } } @media #{$--lt-wide-footer} { %footer > :first-child { padding: 5px; margin-left: 20px; } %footer > :not(:first-child) { display: none; } }