From 6cf68a52d22557013da4b7bd03d884fa86ec89a3 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sun, 18 Feb 2024 13:16:02 +0100 Subject: [PATCH] Update headers with new font and color theme --- _includes/header.html | 1 + _sass/_layout.scss | 14 +++++++++++++- _sass/_tags.scss | 4 ---- _sass/main.scss | 4 ---- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index 658531d..1e5eede 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -23,6 +23,7 @@ {{ my_page.title | escape }} {%- endif -%} {%- endfor -%} + Wiki {%- endif -%} diff --git a/_sass/_layout.scss b/_sass/_layout.scss index de874ad..739d998 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -127,7 +127,8 @@ figure.fullwidth { .post-title { --border: 3px dotted var(--brand-color); - font-size: 2em; + font-family: "Post title font"; + font-size: 4em; color: var(--brand-color); border-bottom: var(--border); letter-spacing: -1px; @@ -156,6 +157,9 @@ figure.fullwidth { h2, h3, h4 { + font-family: "Post title font"; + color: rgba(8,76,207,.5); + a { opacity: 0; transition: opacity 0.15s ease; @@ -170,6 +174,14 @@ figure.fullwidth { } } + h1 { + @include relative-font-size(2); + + @include media-query($on-laptop) { + @include relative-font-size(1.75); + } + } + h2 { @include relative-font-size(2); diff --git a/_sass/_tags.scss b/_sass/_tags.scss index 659196e..8b880a3 100644 --- a/_sass/_tags.scss +++ b/_sass/_tags.scss @@ -8,9 +8,5 @@ margin-left: 1.25em; color: var(--brand-color); list-style-type: square; - - li a { - color: white; - } } } diff --git a/_sass/main.scss b/_sass/main.scss index f783036..9099d25 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -15,10 +15,6 @@ font-family: "Post title font"; src: url("/assets/fonts/font-title.woff2"); } -@font-face { - font-family: "Post subtitle font"; - src: url("/assets/fonts/font-subtitle.woff2"); -} $text-color: #4B5361; $background-color: #F6F5EF;