summaryrefslogtreecommitdiffstats
path: root/app/media.styl
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2021-07-04 18:09:14 +0200
committerAhmed Abdelhalim <[email protected]>2021-07-04 18:09:14 +0200
commit3913b19fc08a459ec9ef8f1773ae0c335149a37b (patch)
treead0b5bf8924770f5416fbe32af5c37caca461bab /app/media.styl
parenta4a1aec1821b8da2e46eddf7c2113edc38bcd2d9 (diff)
Update the header section to use BEM convention
Diffstat (limited to 'app/media.styl')
-rw-r--r--app/media.styl14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/media.styl b/app/media.styl
new file mode 100644
index 0000000..0f8eb63
--- /dev/null
+++ b/app/media.styl
@@ -0,0 +1,14 @@
+@media (prefers-color-scheme: dark) {
+ html {
+ color: #FFFFFF
+ background-color: #181818
+ }
+}
+
+@media (prefers-color-scheme: light) {
+ html {
+ color: #000000
+ background-color: #FFFFFF
+ }
+}
+