From 32c169e95723c35287931c2aa00707bc1221a868 Mon Sep 17 00:00:00 2001 From: Emilia Date: Thu, 29 Sep 2022 23:30:38 -0400 Subject: [PATCH] Make footer solution universal --- src/scss/ilia1.scss | 15 +++++---------- src/scss/index.scss | 11 +++++++++++ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/scss/ilia1.scss b/src/scss/ilia1.scss index cf6addf..cc83963 100644 --- a/src/scss/ilia1.scss +++ b/src/scss/ilia1.scss @@ -60,7 +60,6 @@ $color-dark: hsl(195, 47%, 7%); place-self: center; grid-area: main; } - footer { @extend .row; flex-wrap: nowrap; @@ -71,15 +70,6 @@ $color-dark: hsl(195, 47%, 7%); grid-column: 2 / span 1; place-self: end center; - a { - display: table-cell; - height: 6vh; - width: 15%; - margin: 3%; - - font-size: 6vh; - text-align: center; - } } } @@ -190,6 +180,11 @@ a { /* Semantic */ +footer { + position: fixed; + bottom: 0px; +} + /* ------------- */ /* ILIA Specific */ /* ------------- */ diff --git a/src/scss/index.scss b/src/scss/index.scss index 5b5ef07..eb72e3d 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -1,2 +1,13 @@ @import "ilia1"; +footer { + a { + display: table-cell; + height: 6vh; + width: 15%; + margin: 3%; + + font-size: 6vh; + text-align: center; + } +}