aboutsummaryrefslogtreecommitdiff
path: root/css/shim.css
diff options
context:
space:
mode:
authorXe <me@christine.website>2021-12-19 17:54:02 +0000
committerXe <me@christine.website>2021-12-19 17:54:02 +0000
commit66fd857b569007f9e6e1452e2454b8fab46b4840 (patch)
tree396177369c7b32c9dd1886f8aa9227f890b2352f /css/shim.css
parent540ae4a3a9735d3f55ebceb1d271e472cd7f950e (diff)
downloadxesite-66fd857b569007f9e6e1452e2454b8fab46b4840.tar.xz
xesite-66fd857b569007f9e6e1452e2454b8fab46b4840.zip
fix CSS contrast ratio
Signed-off-by: Xe <me@christine.website>
Diffstat (limited to 'css/shim.css')
-rw-r--r--css/shim.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/css/shim.css b/css/shim.css
index 2654330..16b9d8c 100644
--- a/css/shim.css
+++ b/css/shim.css
@@ -53,3 +53,13 @@ img {
/* content: "<"attr(name)">"; */
/* font-weight: bold; */
/* } */
+
+.warning {
+ background-color: #282828;
+}
+
+@media (prefers-color-scheme: light) {
+ .warning {
+ background-color: #fbf1c7;
+ }
+}