-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.css
85 lines (73 loc) · 1.79 KB
/
main.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
:root, [data-theme="light"] {
--page-bg-color: #fafafa;
--page-fg-color: #333333;
--a-fg-color: #1D84C6;
--table-bg-color: #FFFFFF;
--table-border-color: lightgrey;
}
[data-theme="dark"] {
--page-bg-color: #212529;
--page-fg-color: #cccccc;
--a-fg-color: #6e9fff;
--table-bg-color: #2C3034;
--table-border-color: dimgrey;
scrollbar-color: #757575 #2E2E2E;
}
body {
background-color: var(--page-bg-color);
color: var(--page-fg-color);
font-family: Arial,sans-serif;
font-size: 100%;
max-width: 860px;
padding: 10px;
margin: auto;
}
h1 { font-size: 1.6em; padding-top: 24px; }
h2 { font-size: 1.4em; padding-top: 22px; }
h3 { font-size: 1.15em; }
a { color: var(--a-fg-color); }
ul#toc, ul#toc ul { list-style-type: none; }
ul#toc { padding: 0; }
ul#toc ul { padding-inline-start: 2ch; }
div#newsContainer {
height: 300px;
overflow: scroll;
overflow-x: hidden;
border: 1px solid var(--table-border-color);
padding: 6px;
}
div#newsContainer > div {
font-size: 0.8em;
font-style: italic;
color: #888888;
margin-top: 20px;
}
div#newsContainer div:nth-child(1) {
margin-top: 0;
}
div#moreNews {
font-size: 0.8em;
font-style: italic;
color: #888888;
margin-top: 20px;
line-height: 1.5;
}
div.maps div { display: inline-block; padding-top: 10px; vertical-align: top }
div.maps img { padding-top: 10px; }
table {
background-color: var(--table-bg-color);
border-collapse: collapse;
word-break: break-word;
}
th, td {
padding: 10px;
border-top: 1px solid var(--table-border-color);
border-bottom: 1px solid var(--table-border-color);
border-left: 0;
border-right: 0;
}
table.t_courts td:nth-child(3) { text-align:center; }
.warn {
font-size: small;
color: red;
}