Pi66

pi66.xyz
My personal website.
git clone https://git.pi66.xyz/pi66.xyz

← back to log

style: move underline style to `h1` instead of `strong`

author: pi66
date: 2026-07-04 00:07
hash: 5ac9029b1c5a5539b823b05eec0cf2929b83ac3f

Diffstat:

M

static/css/style.css
4 +++++++++++++++---------------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/static/css/style.css b/static/css/style.css
index d328586..4ec98ef 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -101,6 +101,8 @@ h1 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.9rem;
+   text-decoration: underline;
+   text-decoration-color: var(--color-heading-h3);
    color: var(--color-heading-h3);
    font-weight: 900;
 }
@@ -241,8 +243,6 @@ hr {

 strong, b {
    color: var(--color-strong);
-   text-decoration: underline;
-   text-decoration-color: var(--color-heading-h3);
    font-weight: 900;
 }