Skip to content

Commit da11701

Browse files
committed
update html template
1 parent b2b50f4 commit da11701

1 file changed

Lines changed: 28 additions & 3 deletions

File tree

licensecheck/html.template

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<head>
44
<style>
55
body {
6-
font-family: Arial, sans-serif;
6+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
7+
color: #222;
78
}
89
h2 {
910
color: #333;
@@ -20,7 +21,8 @@
2021
border-collapse: collapse;
2122
width: 100%;
2223
}
23-
th, td {
24+
th,
25+
td {
2426
border: 1px solid #ddd;
2527
padding: 8px;
2628
text-align: left;
@@ -35,10 +37,33 @@
3537
background-color: #ddd;
3638
}
3739
h3 {
38-
color: #555;
40+
color: #444;
41+
}
42+
@media (prefers-color-scheme: dark) {
43+
body {
44+
background-color: #222;
45+
color: #eee;
46+
}
47+
h2 {
48+
color: #ccc;
49+
}
50+
h3 {
51+
color: #eee;
52+
}
53+
th {
54+
background-color: #333;
55+
color: #eee;
56+
}
57+
tr:nth-child(even) {
58+
background-color: #333;
59+
}
60+
tr:hover {
61+
background-color: #444;
62+
}
3963
}
4064
</style>
4165
</head>
4266
<body>
4367
{html}
4468
</body>
69+
</html>

0 commit comments

Comments
 (0)