From 04ddc307728df29eb69fb9a29da2d98e51aceb8d Mon Sep 17 00:00:00 2001 From: Emilia Date: Thu, 29 Sep 2022 23:29:00 -0400 Subject: [PATCH] Fix cool-stuff Made the footer solution less awful --- src/cool-stuff/index.html | 7 +++---- src/scss/ilia1.scss | 26 +++++++++++++++++++++----- src/scss/index.scss | 20 -------------------- 3 files changed, 24 insertions(+), 29 deletions(-) diff --git a/src/cool-stuff/index.html b/src/cool-stuff/index.html index 778752d..cc36398 100644 --- a/src/cool-stuff/index.html +++ b/src/cool-stuff/index.html @@ -6,11 +6,10 @@ -
+
-
-
-
+
+

Cool Stuff

diff --git a/src/scss/ilia1.scss b/src/scss/ilia1.scss index d5a038e..cf6addf 100644 --- a/src/scss/ilia1.scss +++ b/src/scss/ilia1.scss @@ -60,6 +60,27 @@ $color-dark: hsl(195, 47%, 7%); place-self: center; grid-area: main; } + + footer { + @extend .row; + flex-wrap: nowrap; + + margin-bottom: 2vh; + position: static; + grid-row: 3 / span 1; + 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; + } + } } .grid-center { @@ -169,11 +190,6 @@ a { /* Semantic */ -footer { - position: fixed; - bottom: 0px; -} - /* ------------- */ /* ILIA Specific */ /* ------------- */ diff --git a/src/scss/index.scss b/src/scss/index.scss index 436df11..5b5ef07 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -1,22 +1,2 @@ @import "ilia1"; -footer { - @extend .row; - flex-wrap: nowrap; - - margin-bottom: 2vh; - position: static; - grid-row: 3 / span 1; - 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; - } -}