Skip to content

A free, self-hostable news aggregator…

dark mode scheme + delete useless shadow (#7872)

maTh4cb82682b4ef
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;
+ }
+}