-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.css
More file actions
72 lines (69 loc) · 1.44 KB
/
Copy pathtest.css
File metadata and controls
72 lines (69 loc) · 1.44 KB
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
/* colors */
body {
--bg-color: white;
--text-color: #202020;
--emph-color: #101010;
--link-color: #1a0dab;
--vlink-color: #681da8;
--text-secondary: #888;
--text-danger: #dc3545;
--text-warning: #ffc107;
--text-success: #198754;
}
@media (prefers-color-scheme: dark) {
body {
--bg-color: #1b1e20;
--text-color: #c8c8c8;
--emph-color: #e4e4e4;
--link-color: #8ab4f8;
--vlink-color: #c58af9;
--text-danger: #e74c3c;
--text-warning: #f39c12;
--text-success: #00bc8c;
}
}
/* small-screen */
@media (max-width: 820px) {
body {margin: 1em;}
}
@media (min-width: 821px) {
body {margin: 1em 2em;}
}
/* generic */
body {
font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Open Sans", "Helvetica Neue", sans-serif;
color: var(--text-color);
background-color: var(--bg-color);
line-height: 1.4;
font-size: 1.1em;
}
a {color: var(--link-color);}
a:visited {color: var(--vlink-color);}
a:not(:hover) {
text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 600;
line-height: initial;
color: var(--emph-color);
}
strong, em {
color: var(--emph-color);
}
/* specific */
#tests > li > span {
margin: 0 0.5em;
}
.wrong {
color: var(--text-danger);
}
.correct {
color: var(--text-success);
}
.indScript {
font-size: 1.5em;
}
#errors > ol {
color: var(--text-danger);
font-family: monospace;
}