/** * https://submelon.dev/external/news.ycombinator.com.css * CSS Override script for https://news.ycombinator.com/ * * I am not sure where I got these specific styles from or how much I tweaked them. * Provides system/"auto" dark theme and keeps the default light theme when applicable. * * You can use a browser extension like "Custom Style Script" to link this stylesheet. */ @media (prefers-color-scheme: dark) { 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: #ccc !important; } .admin td { color: #aaa !important; } /* search box and comment box */ input, textarea { border: 1px solid #828282 !important; } }