From a62f16462f3913ea552a50080c37b664dd6317ed Mon Sep 17 00:00:00 2001 From: WriterV2 Date: Sat, 28 Jan 2023 15:17:20 +0100 Subject: Add home page content --- sass/style.scss | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) (limited to 'sass') diff --git a/sass/style.scss b/sass/style.scss index 17b8c4f..27a6125 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -31,6 +31,13 @@ header { } } +h2 { + font-family: 'Times New Roman', Times, serif; + letter-spacing: 0.1em; + text-decoration: underline $accent-color 1px; + margin: 1em; +} + nav { display: flex; justify-content: space-evenly; @@ -39,6 +46,7 @@ nav { background-color: $background-color; } + main { margin: 2em; min-height: calc(100vh - 108.8px - 25.6px - 25.6px - 32px - 32px); @@ -69,6 +77,11 @@ a { color: lighten($color: $font-color, $amount: 10); } } +h3 { + font-weight: 500; + color: $accent-color; +} + .work-card { padding: 2em; @@ -82,12 +95,6 @@ a { display: flex; flex-direction: column; justify-content: space-between; - .title-and-description, .info { - h3 { - font-weight: 500; - color: $accent-color; - } - } .info { display: flex; flex-flow: row wrap; @@ -121,3 +128,25 @@ a { padding: 0.2em; } } + +table { + border-collapse: collapse; + width: 100%; + margin: 1em; + tr { + td { + border: 1px solid $background-color; + background-color: $box-color; + text-align: left; + padding: 1em; + font-size: 0.9em; + } + &.title-row { + td { + border: none; + background-color: $background-color; + font-size: inherit; + } + } + } +} -- cgit v1.2.3