summaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authormatthew <matt.kosarek@canonical.com>2026-03-24 16:23:58 -0400
committermatthew <matt.kosarek@canonical.com>2026-03-24 16:23:58 -0400
commit5df5ae2fc3f3bcbd53a9e34ba6b8ddaf4b00036a (patch)
tree3346cc0490a993d5b993740bb5e1884b399be350 /src/styles
parentada238192cb091645ad3ac1850cb0be2bb2d62b7 (diff)
feature: plugin post completeHEADpluginmaster
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/post.css38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/styles/post.css b/src/styles/post.css
index 32e69c2..33b8729 100644
--- a/src/styles/post.css
+++ b/src/styles/post.css
@@ -27,6 +27,7 @@ pre {
border-radius: 2px;
padding: 1rem;
overflow: auto;
+ font-size: 0.8rem;
}
code {
@@ -73,6 +74,43 @@ code {
padding-bottom: 10vh;
}
+.org-article-content h2,
+.org-article-content h3,
+.org-article-content h4 {
+ position: relative;
+ font-family: "Space Grotesk", sans-serif;
+}
+
+.org-article-content h2 {
+ font-size: 1.6rem;
+ border-bottom: 2px solid var(--link-color);
+ padding-bottom: 0.2rem;
+}
+
+.org-article-content h3 {
+ font-size: 1.2rem;
+ color: var(--link-color);
+}
+
+.org-article-content h2 > a.heading-anchor,
+.org-article-content h3 > a.heading-anchor,
+.org-article-content h4 > a.heading-anchor {
+ position: absolute;
+ left: -1.4em;
+ top: 0;
+ opacity: 0;
+ text-decoration: none;
+ font-weight: normal;
+ color: var(--link-color);
+ transition: opacity 100ms ease;
+}
+
+.org-article-content h2:hover > a.heading-anchor,
+.org-article-content h3:hover > a.heading-anchor,
+.org-article-content h4:hover > a.heading-anchor {
+ opacity: 1;
+}
+
.figure p {
text-align: center;
}