diff options
author | Francesco Tomaselli <tomaselli.fr@gmail.com> | 2024-11-18 22:17:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 22:17:01 +0100 |
commit | ed6bfa7c143ed665ebedacce9ac79c1c8a5657b7 (patch) | |
tree | da571e68a5f998572ff15199de2fc67b0bdb8752 /assets | |
parent | bd2e58d4b89d5f641af339636f6d2c78210fa1dd (diff) | |
parent | 047cecf5e03e27c57026b4c7a8d50a5e0bfc6c3c (diff) |
Merge pull request #49 from runofthemillgeek/feat/heading-anchors
Add article heading anchors
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/main.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index 57d9066..75173aa 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -37,6 +37,19 @@ h6 { margin-bottom: var(--hx-margin-bottom); } +.heading { + a { + text-decoration: none; + color: var(--content-secondary); + visibility: hidden; + font-size: 0.95em; + } + + &:hover a { + visibility: visible; + } +} + p { margin-top: var(--p-margin-top); margin-bottom: var(--p-margin-bottom); |