mykiwi/mykiwi.blogpublic Fork
⑂ 2b9977b
Commits
⬇ Clone ▾
git clone https://git.rickub.com/mykiwi/mykiwi.blog.git
git clone ssh://git@rickub.com/mykiwi/mykiwi.blog.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP

Fade a link's ink once the reader has already followed it

Scoped to where a reader is choosing what to read next: the post
body, the lead post, and the older-posts list. Menu and footer links
are unaffected. The underline stays the accent colour throughout;
only the text dims, and hover still brings the accent back.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Romain Gautier committed 2026-09-22T22:20:52+02:00 Browse files
2b9977b parent: 8775b9e
modified blog/assets/css/style.scss +18 -0
@@ -737,6 +737,24 @@ a {
737737 }
738738 }
739739
740+// Visited links: only where the reader is choosing what to read - the post
741+// body, the lead post and the list of posts. Menu and footer links stay as they are. Browsers
742+// only let :visited touch colours, so it is a quieter ink; the accent underline
743+// stays put, and :hover is repeated after it to keep the accent winning on
744+// specificity.
745+.prose a,
746+.entry a,
747+.index-lead .title {
748+ &:visited {
749+ color: var(--ink-faint);
750+ }
751+
752+ &:visited:hover {
753+ color: var(--accent);
754+ text-decoration-color: var(--accent);
755+ }
756+}
757+
740758 // --- Blockquote --------------------------------------------------------
741759
742760 blockquote {
@@ -737,6 +737,24 @@ a {
737 }737 }
738 }738 }
739 739
740+// Visited links: only where the reader is choosing what to read - the post
741+// body, the lead post and the list of posts. Menu and footer links stay as they are. Browsers
742+// only let :visited touch colours, so it is a quieter ink; the accent underline
743+// stays put, and :hover is repeated after it to keep the accent winning on
744+// specificity.
745+.prose a,
746+.entry a,
747+.index-lead .title {
748+ &:visited {
749+ color: var(--ink-faint);
750+ }
751+
752+ &:visited:hover {
753+ color: var(--accent);
754+ text-decoration-color: var(--accent);
755+ }
756+}
757+
740 // --- Blockquote --------------------------------------------------------758 // --- Blockquote --------------------------------------------------------
741 759
742 blockquote {760 blockquote {