diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-31 10:28:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-31 10:28:09 +0100 |
| commit | 244fda8c63356bfcc19a0ea437edf36458e4bc9b (patch) | |
| tree | a54fe436f4d71cd9d735f34b4f7b8829b1af4456 /public/css/modules | |
| parent | 73bbbe8307f9474e751236a44db2dcc6924c5035 (diff) | |
| parent | 5bfb00f6cdbb369d834dbe27d213d80a821f8036 (diff) | |
Merge pull request #4 from Sycamost/dev
Changes site to scotsleidassocie.org
Diffstat (limited to 'public/css/modules')
| -rw-r--r-- | public/css/modules/footer.css | 27 | ||||
| -rw-r--r-- | public/css/modules/index.css | 3 |
2 files changed, 29 insertions, 1 deletions
diff --git a/public/css/modules/footer.css b/public/css/modules/footer.css new file mode 100644 index 0000000..eb9e108 --- /dev/null +++ b/public/css/modules/footer.css @@ -0,0 +1,27 @@ +footer { + display: grid; + grid-template-columns: repeat(var(--grid-column-count), var(--grid-column-width)); + gap: var(--grid-gutter-width); + align-items: baseline; +} + +.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 { + width: calc(8 * var(--relative-eighth-rem)); +} + +.footer__back-to-top { + grid-column: calc(var(--grid-column-count) - 2) / calc(var(--grid-column-count) + 1); +}
\ No newline at end of file diff --git a/public/css/modules/index.css b/public/css/modules/index.css index 1a1c62a..d33754f 100644 --- a/public/css/modules/index.css +++ b/public/css/modules/index.css @@ -12,4 +12,5 @@ @import './nav.lg.css' (min-width: 64rem); @import './skip-to-content.css'; @import './committee.css'; -@import './committee.md.css' (min-width: 48rem);
\ No newline at end of file +@import './committee.md.css' (min-width: 48rem); +@import './footer.css'; |
