diff options
| author | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-28 18:07:27 +0000 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-12-28 18:07:27 +0000 |
| commit | 9a8068b54e802dc23abf7ab2cc1a487c71609cfc (patch) | |
| tree | 9566a7c97ef1a4860f99e1e77f41c6bb090f12d8 /public/external/news.ycombinator.com.css | |
| parent | cbaed7475d5b5600c82b539661a5cde4da584dcf (diff) | |
| download | submelon.dev-9a8068b54e802dc23abf7ab2cc1a487c71609cfc.tar.gz submelon.dev-9a8068b54e802dc23abf7ab2cc1a487c71609cfc.tar.bz2 submelon.dev-9a8068b54e802dc23abf7ab2cc1a487c71609cfc.zip | |
chore: autopublish 2023-12-28T18:07:26Z
Diffstat (limited to 'public/external/news.ycombinator.com.css')
| -rw-r--r-- | public/external/news.ycombinator.com.css | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/public/external/news.ycombinator.com.css b/public/external/news.ycombinator.com.css index cc1fb80..6de54d8 100644 --- a/public/external/news.ycombinator.com.css +++ b/public/external/news.ycombinator.com.css @@ -1,3 +1,11 @@ +/** + * 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. + */ + @media (prefers-color-scheme: dark) { body { background-color: #262626 !important; @@ -14,10 +22,21 @@ } /* 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/"] - { + 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; } |
