style: tune link styles

This commit is contained in:
2026-06-22 21:07:58 +00:00
parent 78d6701d7d
commit 98c4f3d298
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
baseURL = "https://example.org/" baseURL = "https://example.org/"
locale = "en-us" locale = "en-us"
title = "Starless" title = "starless"
theme = "starless" theme = "starless"
enableRobotsTXT = true enableRobotsTXT = true
disableHugoGeneratorInject = true disableHugoGeneratorInject = true
+6 -5
View File
@@ -126,7 +126,7 @@
.site-title { .site-title {
display: block; display: block;
color: var(--text); color: var(--primary);
font: var(--text-display); font: var(--text-display);
} }
@@ -155,6 +155,7 @@
margin-bottom: var(--space-4); margin-bottom: var(--space-4);
color: var(--text-muted); color: var(--text-muted);
font-style: italic; font-style: italic;
font-size: 15px;
transition: color 150ms ease; transition: color 150ms ease;
} }
@@ -279,7 +280,7 @@
padding-block: 0.125rem; padding-block: 0.125rem;
} }
.tree-link--nested:hover { .tree-link--nested:not(.tree-link--current):hover {
color: var(--text); color: var(--text);
} }
@@ -289,7 +290,7 @@
font-style: italic; font-style: italic;
} }
.tree-link--leaf:hover { .tree-link--leaf:not(.tree-link--current):hover {
color: var(--text); color: var(--text);
} }
@@ -562,8 +563,8 @@
.content a { .content a {
color: var(--primary); color: var(--primary);
text-decoration: underline; font-style: italic;
text-underline-offset: 0.15em; text-decoration: none;
} }
.content blockquote { .content blockquote {