From 768a5b1809bbf2e0748e543e9f30a86e5ce00d44 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 2 Feb 2022 04:26:08 -0600 Subject: [PATCH] Cosmetics --- assets/sass/_content.scss | 8 ++++++++ assets/sass/main.scss | 6 +++--- layouts/_default/baseof.html | 3 +-- layouts/posts/single.html | 3 +-- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/assets/sass/_content.scss b/assets/sass/_content.scss index a20883a..aca050c 100644 --- a/assets/sass/_content.scss +++ b/assets/sass/_content.scss @@ -158,6 +158,12 @@ table.table { } } +.post-title { + font-size: 3rem; + font-weight: 500; + margin-bottom: 0; +} + .post-container { display: flex; @@ -203,6 +209,8 @@ table.table { .division .post-content, .post-content { .heading { + font-weight: 500; + a { color: $heading-color; } diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 155964c..3715053 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -16,7 +16,7 @@ $monofont: "PragmataPro Mono Liga", "Roboto Mono", "Roboto Mono for Powerline", @media (prefers-color-scheme: light) { $background-color: white; $faded-background-color: darken($background-color, 10%); - $heading-color: #15202B; + $heading-color: darken(royalblue, 10%); $text-color: #15202B; $small-text-color: #6e707f; $smaller-text-color: lighten($text-color, 30%); @@ -27,9 +27,9 @@ $monofont: "PragmataPro Mono Liga", "Roboto Mono", "Roboto Mono for Powerline", } @media (prefers-color-scheme: dark) { - $background-color: #151520; + $background-color: #202030; $faded-background-color: lighten($background-color, 10%); - $heading-color: #E4E4E4; + $heading-color: lighten(lightskyblue, 20%); $text-color: #BCBCBC; $small-text-color: darken($text-color, 8%); $smaller-text-color: darken($text-color, 12%); diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3ba2d6e..b01520c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -39,8 +39,7 @@ post contents licensed under [cc by-sa 4.0].
written by michael zhang. - [source]. - [mastodon]. + [source].

{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 70caf6a..36ed819 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -9,8 +9,7 @@ {{- define "content" -}} -« back -

{{ .Title }}

+

{{ .Title }}

Posted