summaryrefslogtreecommitdiffstats
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html3
-rw-r--r--layouts/partials/style.html25
2 files changed, 21 insertions, 7 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 66fa74b..9b49dfb 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -1,4 +1,5 @@
<a href="{{ "" | relURL }}" class="title">
- <h1 class="site-name">{{ .Site.Title }}</h1>
+ <h1>{{ .Site.Title }}</h1>
</a>
<nav>{{- partial "nav.html" . -}}</nav>
+<hr>
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index 14b2eea..7d29d4e 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -1,7 +1,7 @@
<style>
/* light theme */
:root {
- --width-max: 720px;
+ --width-max: 700px;
--font-primary: "Noto Serif SC", "Source Han Serif SC", serif;
--font-secondary: monospace;
--font-size-primary: 1.105em;
@@ -36,8 +36,8 @@
nav a,
h1.post-title a,
- .category-link,
- .blog-posts li a {
+ .blog-posts li a,
+ a.category-link {
text-decoration: none !important;
}
@@ -48,6 +48,10 @@
text-decoration: underline 0.5px !important;
}
+ a.category-link:hover {
+ text-decoration: underline 0.5px !important;
+ }
+
.wm {
border: 1px #d0d7de solid;
border-radius: 0.25em;
@@ -62,7 +66,7 @@
}
article p {
- line-height: 40px;
+ line-height: 35px;
}
.item-link {
@@ -75,7 +79,7 @@
margin-bottom: 3vh;
}
.category-link {
- color: #999;
+ color: #444;
}
h1.post-title {
@@ -273,6 +277,10 @@
--toc-hover-color: #cac3c3;
}
+ .category-link {
+ color: #dbdbdb;
+ }
+
.wm {
background-color: #161b22;
border-color: #30363d;
@@ -372,6 +380,11 @@
border: 0;
}
+ header {
+ margin-top: 30px;
+ margin-bottom: 30px;
+ }
+
.title:hover {
text-decoration: none;
}
@@ -460,7 +473,7 @@
time {
font-family: var(--font-secondary);
font-size: 15px;
- color: rgb(163, 163, 163);
+ color: rgb(139, 139, 139);
}
code {