diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-28 18:06:56 +0000 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2023-12-28 18:06:56 +0000 |
| commit | cbaed7475d5b5600c82b539661a5cde4da584dcf (patch) | |
| tree | 0b82f2c8d3f832296d2496dbff276a0d7027b107 /src/static/external/news.ycombinator.com.css | |
| parent | 7371cb691d4fb9d51f72e6237555e025a6a1ca31 (diff) | |
| download | submelon.dev-cbaed7475d5b5600c82b539661a5cde4da584dcf.tar.gz submelon.dev-cbaed7475d5b5600c82b539661a5cde4da584dcf.tar.bz2 submelon.dev-cbaed7475d5b5600c82b539661a5cde4da584dcf.zip | |
external/*.css: Add header comments
Diffstat (limited to 'src/static/external/news.ycombinator.com.css')
| -rw-r--r-- | src/static/external/news.ycombinator.com.css | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/src/static/external/news.ycombinator.com.css b/src/static/external/news.ycombinator.com.css index cc1fb80..6de54d8 100644 --- a/src/static/external/news.ycombinator.com.css +++ b/src/static/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; } |
