aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2025-08-29 23:48:40 +0200
committerGravatar GitHub <noreply@github.com> 2025-08-29 23:48:40 +0200
commit4cb82682b4efef78c407e3f25db796a50584128a (patch)
treebdc07304c72197c14fa12d22ef3792575b1de43b /p
parent288992d9ad64c52b77983e27f497aa6f4ed5728e (diff)
dark mode scheme + delete useless shadow (#7872)
Diffstat (limited to 'p')
-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;
+ }
+}