ソースを参照

dark mode scheme + delete useless shadow (#7872)

maTh 7 ヶ月 前
コミット
4cb82682b4
2 ファイル変更12 行追加2 行削除
  1. 6 1
      p/themes/p.css
  2. 6 1
      p/themes/p.rtl.css

+ 6 - 1
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;
+	}
+}

+ 6 - 1
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;
+	}
+}