gists/Userstyles/Hacker News Dark.css

92 lines
1.6 KiB
CSS
Raw Normal View History

2022-04-25 16:53:49 +00:00
@-moz-document domain("news.ycombinator.com") {
body {
background-color: #262626 !important;
}
body > center > table, input, textarea {
background-color: #222 !important;
}
body > center > table > tbody > tr:first-child > td {
background-color: #ff6600 !important;
}
/* Bright text */
td.title a:link,
span.comment font,
span.comment font 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/"],
a[href="https://www.ycombinator.com/apply/"] {
color: #dee2e6 !important;
}
.admin td {
color: #aaa !important;
}
/* search box and comment box */
input, textarea {
border: 1px solid #828282 !important;
}
.votearrow {
position: relative;
background: none;
margin: 4px 10px;
}
.votearrow::after {
content: '';
position: absolute;
top: 2px;
left: 0;
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 9px solid #ccc;
}
a.nosee {
visibility: visible;
}
a.nosee .votearrow::after {
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 9px solid #ff6600;
}
.title {
font-family: Inter, sans-serif;
font-size: 16px;
}
.subtext {
font-family: Inter, sans-serif;
font-size: 12px;
color: #aaa;
padding-top: 5px;
}
tr.spacer {
height: 10px !important;
}
.comment {
font-family: Inter, sans-serif;
font-size: 14px;
line-height: 1.25rem;
}
}