From 7ba36b5b17791e449235bab3bbea2f7da51e7d59 Mon Sep 17 00:00:00 2001 From: Emilia Date: Wed, 28 Sep 2022 22:04:21 -0400 Subject: [PATCH] Changes to base styling Remove
from document and replace with CSS Add margin between sections --- src/cool-stuff/css-purgatory/base/index.css | 26 ++++++++++++++++++++ src/cool-stuff/css-purgatory/base/index.html | 25 +++++++++---------- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/src/cool-stuff/css-purgatory/base/index.css b/src/cool-stuff/css-purgatory/base/index.css index f404fd8..844c120 100644 --- a/src/cool-stuff/css-purgatory/base/index.css +++ b/src/cool-stuff/css-purgatory/base/index.css @@ -130,6 +130,18 @@ input, button, textarea, select { max-width: 80rem; } +.hr::after { /* Add fake hr after header */ + content: ''; + + position: absolute; + display: block; + clear: both; + width: 100%; + height: 0.15rem; + + background-color: black; +} + /* Color Classes */ .bg-dark { background-color: hsl( var(--color-dark) ); } @@ -158,6 +170,20 @@ input, button, textarea, select { .uppercase { text-transform: uppercase; } .lowercase { text-transform: lowercase; } +/* Semantic Tags and Their Classes */ + +header { + margin-bottom: 3vh; +} + +section:not(:last-of-type) { + margin-bottom: 3vh; +} + +footer { + margin-top: 3vh; +} + /* -------------------- */ /* Non-Reusable Classes */ /* -------------------- */ diff --git a/src/cool-stuff/css-purgatory/base/index.html b/src/cool-stuff/css-purgatory/base/index.html index daa9b59..32e81c9 100644 --- a/src/cool-stuff/css-purgatory/base/index.html +++ b/src/cool-stuff/css-purgatory/base/index.html @@ -5,27 +5,24 @@ CSS Purgatory - Base - +
-
+

Base

- -
- -
+