Cosmetics

This commit is contained in:
Michael Zhang 2022-02-02 04:26:08 -06:00 committed by Michael Zhang
parent 44ba9624f7
commit 768a5b1809
4 changed files with 13 additions and 7 deletions

View file

@ -158,6 +158,12 @@ table.table {
} }
} }
.post-title {
font-size: 3rem;
font-weight: 500;
margin-bottom: 0;
}
.post-container { .post-container {
display: flex; display: flex;
@ -203,6 +209,8 @@ table.table {
.division .post-content, .post-content { .division .post-content, .post-content {
.heading { .heading {
font-weight: 500;
a { a {
color: $heading-color; color: $heading-color;
} }

View file

@ -16,7 +16,7 @@ $monofont: "PragmataPro Mono Liga", "Roboto Mono", "Roboto Mono for Powerline",
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
$background-color: white; $background-color: white;
$faded-background-color: darken($background-color, 10%); $faded-background-color: darken($background-color, 10%);
$heading-color: #15202B; $heading-color: darken(royalblue, 10%);
$text-color: #15202B; $text-color: #15202B;
$small-text-color: #6e707f; $small-text-color: #6e707f;
$smaller-text-color: lighten($text-color, 30%); $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) { @media (prefers-color-scheme: dark) {
$background-color: #151520; $background-color: #202030;
$faded-background-color: lighten($background-color, 10%); $faded-background-color: lighten($background-color, 10%);
$heading-color: #E4E4E4; $heading-color: lighten(lightskyblue, 20%);
$text-color: #BCBCBC; $text-color: #BCBCBC;
$small-text-color: darken($text-color, 8%); $small-text-color: darken($text-color, 8%);
$smaller-text-color: darken($text-color, 12%); $smaller-text-color: darken($text-color, 12%);

View file

@ -39,8 +39,7 @@
post contents licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt">[cc by-sa 4.0]</a>. post contents licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt">[cc by-sa 4.0]</a>.
<br /> <br />
written by michael zhang. written by michael zhang.
<a href="https://git.mzhang.io/michael/blog" class="colorlink" target="_blank">[source]</a>. <a href="https://git.sr.ht/~mzhang/blog" class="colorlink" target="_blank">[source]</a>.
<a rel="me" href="https://social.mzhang.io/@michael">[mastodon]</a>.
</p> </p>
</footer> </footer>
{{ end }} {{ end }}

View file

@ -9,8 +9,7 @@
{{- define "content" -}} {{- define "content" -}}
<a href="../">&laquo; back</a> <h1 class="post-title">{{ .Title }}</h1>
<h1 style="margin: 0;">{{ .Title }}</h1>
<small style="display: block; margin-bottom: 20px;"> <small style="display: block; margin-bottom: 20px;">
Posted Posted