Skip to content

Commit 6799fa6

Browse files
Add WHATWG-themed CSS for nginx directory listings
Relates to #91 and whatwg/misc-server#79
1 parent a83ed05 commit 6799fa6

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
html {
2+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
3+
--whatwggreen: #3A7908;
4+
}
5+
body {
6+
padding:0;
7+
margin:1em;
8+
}
9+
a {
10+
color: #00F;
11+
}
12+
a:visited {
13+
color: #0E388C;
14+
}
15+
a:hover, a:focus {
16+
color:var(--whatwggreen);
17+
text-decoration:none;
18+
}
19+
h1 {
20+
color:var(--whatwggreen);
21+
}
22+
table {
23+
border:1px solid #aaa;
24+
width:100%;
25+
}
26+
tr:nth-child(even) {
27+
background:#f4f4f4;
28+
}
29+
th,td {
30+
padding:0.5em;
31+
}
32+
th {
33+
text-align:left;
34+
font-weight:bold;
35+
background:#eee;
36+
border-bottom:1px solid #aaa;
37+
}
38+
th > a {
39+
text-decoration:none;
40+
}

0 commit comments

Comments
 (0)