From b1e2b04a5080f3e20e11b64f87756bafec9536bb Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 5 Feb 2021 18:31:03 +0530 Subject: style visited posts --- docs/style.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/style.css b/docs/style.css index 568665b..42b2f15 100644 --- a/docs/style.css +++ b/docs/style.css @@ -30,6 +30,7 @@ div.hot-links { --light-black: #666666; --white: #ffffff; --dark-white: #eeeeee; + --inactive: #888; --light-yellow: #F7B955; --dark-yellow: #F49B0B; @@ -43,6 +44,7 @@ div.hot-links { --light-black: #ccc; --white: #000; --dark-white: #323232; + --inactive: #555 } ::-moz-selection, ::selection { color: var(--white); @@ -242,13 +244,17 @@ a, a:hover, a:visited, a:active { color: var(--light-black); } -.post-link, .post-link:hover, .post-link:visited, .post-link:active { +a.post-link, a.post-link:hover, a.post-link:active { color: var(--black); font-weight: 600; font-size: 1.1rem; text-decoration: none; } +a.post-link:visited { + color: var(--inactive); +} + .post-end-link, .post-end-link:hover, .post-end-link:visited, .post-end-link:active { text-decoration: none; -- cgit v1.2.3