From 15eb1274260af3585130e033255fc1676e7ba044 Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Tue, 3 Jan 2023 17:45:52 +0000 Subject: [PATCH] Fixes link colors on comment pages --- Userstyles/Hacker News Dark.css | 55 +++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 20 deletions(-) diff --git a/Userstyles/Hacker News Dark.css b/Userstyles/Hacker News Dark.css index 9331213..a03ba85 100644 --- a/Userstyles/Hacker News Dark.css +++ b/Userstyles/Hacker News Dark.css @@ -19,13 +19,13 @@ body { background-color: #262626 !important; } -table#hnmain, -input, +table#hnmain, +input, textarea { background-color: #222 !important; } -/* header */ +/* header */ table#hnmain > tbody > tr:first-child > td { background-color: #ff6600 !important; @@ -46,29 +46,42 @@ a:link { color: #262626; } -td.title a:link, -span.comment font, -span.comment font a:link, +td.title a:link, +span.comment font, +span.comment font a:link, table.fatitem td, -u a:link, -span.yclinks a:link, +u a:link, +span.yclinks a:link, body:not([id]), -td:nth-child(2):not(.subtext) > a:link, -input, -textarea, -p > a, -a > u, -.c00, -.c00 a:link, -a[href="http://www.ycombinator.com/apply/"], +td:nth-child(2):not(.subtext) > a:link, +input, +textarea, +p > a, +a > u, +.c00, +a[href="http://www.ycombinator.com/apply/"], a[href="https://www.ycombinator.com/apply/"], font[color="#000000"] { - color: #dee2e6 !important; + color: #dee2e6; } + .fatitem a:link, + .comment a:link { + color: #e59a6d; /*#72aed4;*/ + } + + .reply a:link { + color: #dee2e6; + } + + .toptext a:link, + .commtext a:link { + text-decoration: underline; + } + .title, .admin td, -.subtext a:link, +.subtext a:link, .subtext a:visited, .comhead a:link, a:visited { @@ -100,7 +113,7 @@ span.pagetop { } span.pagetop > a { - margin: 0 3px; + margin: 0 3px; } td.subtext { @@ -128,7 +141,7 @@ span.comhead > a.hnuser { /* search box and comment box */ -input, +input, textarea { border: 2px solid #8b949e !important; } @@ -160,6 +173,7 @@ td.votelinks { margin: 6px 10px; } +/* .rotate180 changes the down arrow direction already */ .votearrow::after { content: ''; position: absolute; @@ -189,3 +203,4 @@ a.nosee .votearrow::after { font-size: 16px; } } +