Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitd47d99636a23cf3ce51de784d2c7a98a7ef154ee (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-20 12:49:46 +0200
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-03-20 12:49:46 +0200
Files347028ee23a396fa29d3b3797965325654d8d295 /src
syndamia.com-d47d99636a23cf3ce51de784d2c7a98a7ef154ee.tar
syndamia.com-d47d99636a23cf3ce51de784d2c7a98a7ef154ee.tar.gz
syndamia.com-d47d99636a23cf3ce51de784d2c7a98a7ef154ee.zip
Parent66ad5fa68069e76968ab574a8c74cbb7b4168f4f (diff)
Fixed file-icons not changing color in light mode
2 files changed, 4 insertions, 1 deletions
-rw-r--r--src/darkmode.css2
-rw-r--r--src/styles.css3
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)
*/