From 77abd06a2cdf87b79453297de0b5d32272ba9a6c Mon Sep 17 00:00:00 2001 From: Ryan Stafford Date: Sun, 28 Apr 2024 11:41:14 -0400 Subject: [PATCH] mark links visited when read --- public/dark.css | 4 ++-- public/style.css | 7 +++++-- templates/post.html | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/dark.css b/public/dark.css index f61b4af..821e0b7 100644 --- a/public/dark.css +++ b/public/dark.css @@ -32,8 +32,8 @@ input[type=text], input[type=password], textarea { .title a { color: #dedede; } -.title a:visited { - color: #a6a6a6 +.title a:visited, .title.visited a { + color: #a6a6a6 !important; } .message b { color: #ddd; diff --git a/public/style.css b/public/style.css index ffe203c..a8b8e3d 100644 --- a/public/style.css +++ b/public/style.css @@ -115,6 +115,9 @@ summary { font-size: 10px; margin-bottom: 2px; } +.post .title.visited a { + color: #551A8B; +} .activity .post .title a { font-size: medium; } @@ -1049,8 +1052,8 @@ body.dark { .dark .title a { color: #dedede; } -.dark .title a:visited { - color: #a6a6a6 +.dark .title a:visited, .dark .title.visited a { + color: #a6a6a6 !important; } .dark .message b { color: #ddd; diff --git a/templates/post.html b/templates/post.html index b3f65b4..86ec934 100644 --- a/templates/post.html +++ b/templates/post.html @@ -33,7 +33,7 @@ {{ end }}
-
+