diff options
Fixed file-icons not changing color in light mode
2 files changed, 4 insertions, 1 deletions
| -rw-r--r-- | src/darkmode.css | 2 | ||||
| -rw-r--r-- | src/styles.css | 3 |
diff --git a/src/darkmode.css b/src/darkmode.css index 8e6583a..5e89896 100644 --- a/src/darkmode.css +++ b/src/darkmode.css @@ -23,7 +23,7 @@ } /* This selects the link images, next to headings */ -h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img { +h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img, .file-icon { /* Refer to styles.css on why this is necessary */ filter: none; } diff --git a/src/styles.css b/src/styles.css index 26a144d..79d236c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -187,6 +187,9 @@ h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img { height: 1.3em; border: none; vertical-align: text-top; +} + +h2 + p img, h3 + p img, h4 + p img, h5 + p img, h6 + p img, .about-p img, .file-icon { /* Since link images are made for dark mode, and have white-ish foreground, * this filter makes them black (when in light mode) */ |