From 80d63f0cf8bf07a349332d43af2d1fd9a0e8e828 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 25 Jul 2021 17:18:45 +0200 Subject: 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 . --- sass/style.sass | 7 +++++++ 1 file changed, 7 insertions(+) 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) -- cgit v1.2.3-2-gb3c3