Skip to content

Commit a9ca79c

Browse files
committed
fix background color for mobile devices
closes: haskell#1167
1 parent e6646f9 commit a9ca79c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

datafiles/static/hackage.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,23 @@
44

55
/* Is this portable? */
66
html {
7-
background-color: white;
87
width: 100%;
98
height: 100%;
109
}
1110

1211
@media (prefers-color-scheme: dark) {
12+
html {
13+
background-color: #333;
14+
}
1315
body {
1416
background: #333;
1517
color: #fefefe;
1618
}
1719
}
1820
@media (prefers-color-scheme: light) {
21+
html {
22+
background-color: #fefefe;
23+
}
1924
body {
2025
background: #fefefe;
2126
color: #333;

0 commit comments

Comments
 (0)