summaryrefslogtreecommitdiffstats
path: root/layouts/partials/style.html
diff options
context:
space:
mode:
authorVerdant <i@glowisle.me>2026-03-22 20:54:46 +0800
committerVerdant <i@glowisle.me>2026-03-22 20:54:46 +0800
commit03757128df8774136f68acddcd346ffa3ee275fe (patch)
tree0461e73fcefe742ee3aa463c09b5295f82abfb54 /layouts/partials/style.html
parent5b1ddd7cc2ad7f334b1d29b7374c818614e654bd (diff)
downloadblog-03757128df8774136f68acddcd346ffa3ee275fe.tar.gz
blog-03757128df8774136f68acddcd346ffa3ee275fe.zip
refactor: refactor index
- add introduction - modify recent posts pieces - modify background color
Diffstat (limited to 'layouts/partials/style.html')
-rw-r--r--layouts/partials/style.html20
1 files changed, 5 insertions, 15 deletions
diff --git a/layouts/partials/style.html b/layouts/partials/style.html
index ec4dae2..0c11755 100644
--- a/layouts/partials/style.html
+++ b/layouts/partials/style.html
@@ -4,10 +4,10 @@
--font-secondary: monospace;
--font-size-primary: 1rem;
--font-size-secondary: .85rem;
- --body-bg-color: #ffffff;
+ --body-bg-color: #fbfbf6;
--bold-text-color: #222;
--body-text-color: #444;
- --link-color: #0066cc;
+ --link-color: #0355a6;
--link-visited-color: #551a8b;
--table-border-color: #f2f2f2;
--table-th-bg-color: #f2f2f2;
@@ -68,7 +68,7 @@ h1, h2 {
margin-top: 1.5em;
}
-.post-meta-item a, .rss-icon a, .post-title a, header a, a.title h1, p {
+.post-meta-item a, .rss-icon a, .post-title a, a.title h1, p {
color: var(--body-text-color)
}
@@ -140,7 +140,6 @@ time {
header {
margin-top: 30px;
-margin-bottom: 2rem;
}
.title {
@@ -161,18 +160,10 @@ a.title h1 {
font-weight: 400;
}
-nav {
- text-align: left;
- margin-bottom: 20px;
-}
-nav a {
- margin-right: 8px;
- text-decoration: none !important;
-}
-nav a:hover {
- text-decoration: underline 0.5px !important;
+nav a {
+ margin-right: 8px;
}
footer {
@@ -811,7 +802,6 @@ nav {
header {
margin-top: 30px;
- margin-bottom: 2rem;
display: block;
}