diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-31 22:17:46 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-07-31 22:17:46 +0200 |
commit | 480a88ab4e327aee1244a0a5d7ff18b98b06bc52 (patch) | |
tree | 90c4242835d1f5540215f939028786aa6c2cea51 /themes/researcher/assets | |
parent | Add Home submenu (diff) | |
download | baitinq.ml-480a88ab4e327aee1244a0a5d7ff18b98b06bc52.tar.gz baitinq.ml-480a88ab4e327aee1244a0a5d7ff18b98b06bc52.tar.bz2 baitinq.ml-480a88ab4e327aee1244a0a5d7ff18b98b06bc52.zip |
Add dark theme toggle functionality
Diffstat (limited to 'themes/researcher/assets')
-rw-r--r-- | themes/researcher/assets/css/dark.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/researcher/assets/css/dark.css b/themes/researcher/assets/css/dark.css new file mode 100644 index 0000000..42a92f7 --- /dev/null +++ b/themes/researcher/assets/css/dark.css @@ -0,0 +1,10 @@ +html { + filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(85%); + -webkit-filter: invert(100%) hue-rotate(180deg) brightness(105%) contrast(85%); +} +img, +video, +body * [style*="background-image"] { + filter: hue-rotate(180deg) contrast(100%) invert(100%); + -webkit-filter: hue-rotate(180deg) contrast(100%) invert(100%); +} |