Fixes link colors on comment pages

This commit is contained in:
Andrew Gioia 2023-01-03 17:45:52 +00:00
parent 13ee881871
commit 15eb127426
1 changed files with 35 additions and 20 deletions

View File

@ -19,13 +19,13 @@ body {
background-color: #262626 !important; background-color: #262626 !important;
} }
table#hnmain, table#hnmain,
input, input,
textarea { textarea {
background-color: #222 !important; background-color: #222 !important;
} }
/* header */ /* header */
table#hnmain > tbody > tr:first-child > td { table#hnmain > tbody > tr:first-child > td {
background-color: #ff6600 !important; background-color: #ff6600 !important;
@ -46,29 +46,42 @@ a:link {
color: #262626; color: #262626;
} }
td.title a:link, td.title a:link,
span.comment font, span.comment font,
span.comment font a:link, span.comment font a:link,
table.fatitem td, table.fatitem td,
u a:link, u a:link,
span.yclinks a:link, span.yclinks a:link,
body:not([id]), body:not([id]),
td:nth-child(2):not(.subtext) > a:link, td:nth-child(2):not(.subtext) > a:link,
input, input,
textarea, textarea,
p > a, p > a,
a > u, a > u,
.c00, .c00,
.c00 a:link, a[href="http://www.ycombinator.com/apply/"],
a[href="http://www.ycombinator.com/apply/"],
a[href="https://www.ycombinator.com/apply/"], a[href="https://www.ycombinator.com/apply/"],
font[color="#000000"] { 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, .title,
.admin td, .admin td,
.subtext a:link, .subtext a:link,
.subtext a:visited, .subtext a:visited,
.comhead a:link, .comhead a:link,
a:visited { a:visited {
@ -100,7 +113,7 @@ span.pagetop {
} }
span.pagetop > a { span.pagetop > a {
margin: 0 3px; margin: 0 3px;
} }
td.subtext { td.subtext {
@ -128,7 +141,7 @@ span.comhead > a.hnuser {
/* search box and comment box */ /* search box and comment box */
input, input,
textarea { textarea {
border: 2px solid #8b949e !important; border: 2px solid #8b949e !important;
} }
@ -160,6 +173,7 @@ td.votelinks {
margin: 6px 10px; margin: 6px 10px;
} }
/* .rotate180 changes the down arrow direction already */
.votearrow::after { .votearrow::after {
content: ''; content: '';
position: absolute; position: absolute;
@ -189,3 +203,4 @@ a.nosee .votearrow::after {
font-size: 16px; font-size: 16px;
} }
} }