Cosmetics
This commit is contained in:
parent
44ba9624f7
commit
768a5b1809
4 changed files with 13 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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%);
|
||||
|
|
|
@ -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>.
|
||||
<br />
|
||||
written by michael zhang.
|
||||
<a href="https://git.mzhang.io/michael/blog" class="colorlink" target="_blank">[source]</a>.
|
||||
<a rel="me" href="https://social.mzhang.io/@michael">[mastodon]</a>.
|
||||
<a href="https://git.sr.ht/~mzhang/blog" class="colorlink" target="_blank">[source]</a>.
|
||||
</p>
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
|
|
@ -9,8 +9,7 @@
|
|||
|
||||
{{- define "content" -}}
|
||||
|
||||
<a href="../">« back</a>
|
||||
<h1 style="margin: 0;">{{ .Title }}</h1>
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
|
||||
<small style="display: block; margin-bottom: 20px;">
|
||||
Posted
|
||||
|
|
Loading…
Reference in a new issue