diff options
| author | Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> | 2024-01-19 09:16:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-19 09:16:42 +0000 |
| commit | 0cb6960f0c65c0d791ccdee2f5bc2e2b910cfb76 (patch) | |
| tree | 503e1129a999fe834d2a7b98a4e82bf07264f49f /scss/modules/_footer.scss | |
| parent | 0b2fbe3f5b9e2fcf0da2b320af504d5cca759045 (diff) | |
Uses SCSS partials (#64)
Diffstat (limited to 'scss/modules/_footer.scss')
| -rw-r--r-- | scss/modules/_footer.scss | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/scss/modules/_footer.scss b/scss/modules/_footer.scss new file mode 100644 index 0000000..9210044 --- /dev/null +++ b/scss/modules/_footer.scss @@ -0,0 +1,28 @@ +footer { + display: flex; + flex-direction: column; + gap: var(--spacing-block-sm); + align-items: center; +} + +.footer__rss-button__label { + /* Hides the label from non-screen-readers */ + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + +.footer__rss-button__img { + display: block; +} + +.footer__back-to-top { + grid-column: calc(var(--grid-column-count) - 2) / calc(var(--grid-column-count) + 1); + margin: 0; +} |
