-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.css
89 lines (73 loc) · 1.31 KB
/
global.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
86
87
88
89
* {
box-sizing: border-box;
}
:root {
--black: #000;
--near-black: #222;
--white: #fff;
--firebrick: #b22222;
--orange-red: #ff4500;
--blue: #00f;
--deep-sky-blue: #00bfff;
--purple: #800080;
--orchid: #da70d6;
}
body {
width: 88%;
max-width: 40em;
margin: 1em auto;
line-height: 1.5;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: var(--black);
background: var(--white);
}
a:link {
color: var(--blue);
}
a:visited {
color: var(--purple);
}
a:active {
color: var(--firebrick);
}
code {
color: var(--firebrick);
}
small {
font-size: inherit;
}
[aria-expanded] {
display: flex;
align-items: center;
}
[aria-expanded]::before {
content: '';
width: 0.5em;
height: 0.5em;
margin-right: 0.25em;
background: currentColor;
}
[aria-expanded='false']::before {
clip-path: polygon(0 0, 100% 50%, 0 100%);
}
[aria-expanded='true']::before {
clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@media (prefers-color-scheme: dark) {
body {
color: var(--white);
background: var(--near-black);
}
a:link {
color: var(--deep-sky-blue);
}
a:visited {
color: var(--orchid);
}
a:active {
color: var(--orange-red);
}
code {
color: var(--orange-red);
}
}