diff options
| author | Arne Rief <arne.rief@gmail.com> | 2023-02-10 21:40:00 +0100 |
|---|---|---|
| committer | Arne Rief <arne.rief@gmail.com> | 2023-02-11 14:53:10 +0100 |
| commit | 5bab4502a098eb0e3b5a59b68bc9d8d23529ea55 (patch) | |
| tree | b8a737694d1217f7af9a6884720678a179cacbb0 /sass/layout/_footer.scss | |
Desktop version
Diffstat (limited to 'sass/layout/_footer.scss')
| -rw-r--r-- | sass/layout/_footer.scss | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/sass/layout/_footer.scss b/sass/layout/_footer.scss new file mode 100644 index 0000000..ecfb0a5 --- /dev/null +++ b/sass/layout/_footer.scss @@ -0,0 +1,60 @@ +@use "../abstracts" as *; + +footer { + background-color: $bg-text-container; + // delete positioning to make grid footer from body work + // position: absolute; + // bottom: 0; + // left: 0; + width: 100%; + + & * { + margin: $margin-main; + } + + dl { + display: flex; + justify-content: center; + align-items: center; + height: 2rem; + + & * { + color: inherit; + font-size: $medium-text; + margin: 0.5rem; + transition: transform 0.3s; + } + + & dd i:hover { + @include main-link-hover; + } + } + + p { + text-align: center; + } + + .big-icon { + font-size: $big-text; + } +} + +@media screen and (max-width: 420px) { + footer { + top: 100; + + & * { + margin: $margin-mobile; + } + + dl { + flex-direction: column; + height: max-content; + + & * { + font-size: $medium-text-mobile; + margin: 0.3rem; + } + } + } +} |
