summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-07-25 17:18:45 +0200
committerWolfgang Müller2021-07-25 17:18:45 +0200
commit80d63f0cf8bf07a349332d43af2d1fd9a0e8e828 (patch)
tree8619c3c2c2ee1263c5b9d2bc99952b5fd59e4e8f
parent752c54eb6320950ee0d591a6404de2ef43560c7d (diff)
downloadzunzuncito-80d63f0cf8bf07a349332d43af2d1fd9a0e8e828.tar.gz
sass: Add style for internal links
We may want a post to contain references to a whole number of previous posts. The styling for external links will then clash, especially if there are a lot of them. Make sure to make it possible to highlight internal links differently and more subtly by adding an "internal" class for <a>.
-rw-r--r--sass/style.sass7
1 files changed, 7 insertions, 0 deletions
diff --git a/sass/style.sass b/sass/style.sass
index e800b14..f914171 100644
--- a/sass/style.sass
+++ b/sass/style.sass
@@ -144,6 +144,13 @@ article > section.post
a
text-decoration: underline
+ a.internal
+ text-decoration-style: dotted
+ color: var(--fg-color)
+
+ &:visited
+ color: inherit
+
a:visited
color: var(--fg-href-visited)