Skip to content

Commit 884d28a

Browse files
committed
fixes #103: dark mode
1 parent 6056d83 commit 884d28a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

style.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
* {
32
box-sizing: border-box;
43
-webkit-box-sizing: border-box;
@@ -15,6 +14,8 @@ html {
1514
body {
1615
padding: 10px;
1716
line-height: 1.4;
17+
background-color: #fff;
18+
color: #000;
1819
}
1920
input:not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]),
2021
select,
@@ -393,6 +394,16 @@ body.loading > .hor-loader {
393394
-webkit-animation-delay: .15s;
394395
}
395396

397+
@media (prefers-color-scheme: dark) {
398+
body, .tab-links, .tab-pages, input, select, option, textarea {
399+
background-color: #000 !important;
400+
color: #ccc !important;
401+
}
402+
.markup {
403+
background-color: #222;
404+
}
405+
}
406+
396407
@-webkit-keyframes verLoader {
397408
0% {
398409
top: 0;

0 commit comments

Comments
 (0)