From 1c14722f06554814748f3e03f9da1aac1827c5e0 Mon Sep 17 00:00:00 2001 From: TLSM Date: Sun, 24 Jul 2022 16:23:21 -0400 Subject: [PATCH] Restyle glow award links for visibility. At present, we typically distinguish links from other text by coloring them, underlining on hover, and changing cursor to pointer on hover. However, when a post is glow-awarded, both color and underline-on-hover are suppressed, making links very hard to find in text. Given chiobu's tendency to glow award effortposts, this can make posts hard to read. My solution is to always show links as underlined in glow-awarded posts and comments. Not terribly attached to this particular approach, but it seems to undermine the award effect the least while largely restoring accessibility of links. --- files/assets/css/main.css | 4 ++++ files/templates/util/assetcache.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 6b7728096f..38cf4334e4 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -5316,6 +5316,10 @@ th, td { color: lightgreen; } +.glow .post-body a, .glow .comment-text a { + text-decoration: underline; +} + .text-green { color: green !important; } diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 64d50a3834..31a9e62173 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 428, + 'css/main.css': 429, 'css/catalog.css': 2, 'css/4chan.css': 61,