소스 검색

dark mode scheme + delete useless shadow (#7872)

maTh 9 달 전
부모
커밋
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;
+	}
+}