summaryrefslogtreecommitdiff
path: root/assets/css/main.css
diff options
context:
space:
mode:
authorFrancesco Tomaselli <tomaselli.fr@gmail.com>2024-11-18 22:17:01 +0100
committerGitHub <noreply@github.com>2024-11-18 22:17:01 +0100
commited6bfa7c143ed665ebedacce9ac79c1c8a5657b7 (patch)
treeda571e68a5f998572ff15199de2fc67b0bdb8752 /assets/css/main.css
parentbd2e58d4b89d5f641af339636f6d2c78210fa1dd (diff)
parent047cecf5e03e27c57026b4c7a8d50a5e0bfc6c3c (diff)
Merge pull request #49 from runofthemillgeek/feat/heading-anchors
Add article heading anchors
Diffstat (limited to 'assets/css/main.css')
-rw-r--r--assets/css/main.css13
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);