aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/themes/p.css7
-rw-r--r--p/themes/p.rtl.css7
2 files changed, 12 insertions, 2 deletions
diff --git a/p/themes/p.css b/p/themes/p.css
index 34b2ea72f..98be44503 100644
--- a/p/themes/p.css
+++ b/p/themes/p.css
@@ -7,7 +7,6 @@ body {
h1 {
font-size: xx-large;
- text-shadow: 1px -1px 0 #ccc;
}
h1 a {
@@ -18,3 +17,9 @@ h1 a {
img {
border: 0;
}
+
+@media screen and (prefers-color-scheme: dark) {
+ body {
+ background: black;
+ }
+}
diff --git a/p/themes/p.rtl.css b/p/themes/p.rtl.css
index db45295a1..98be44503 100644
--- a/p/themes/p.rtl.css
+++ b/p/themes/p.rtl.css
@@ -7,7 +7,6 @@ body {
h1 {
font-size: xx-large;
- text-shadow: -1px -1px 0 #ccc;
}
h1 a {
@@ -18,3 +17,9 @@ h1 a {
img {
border: 0;
}
+
+@media screen and (prefers-color-scheme: dark) {
+ body {
+ background: black;
+ }
+}