-
Notifications
You must be signed in to change notification settings - Fork 2
/
demo.css
70 lines (57 loc) · 909 Bytes
/
demo.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
body {
font-family: system-ui;
min-height: 100vh;
display: flex;
flex-direction: column;
}
body.use-preferred-font {
font-family: var(--preferred-font), system-ui;
}
#toolbar {
position: sticky;
width: 100%;
top: 0;
z-index: 100;
overflow-y: auto;
}
#preferred-font {
}
#preferred-font::after {
content: '(' var(--preferred-font) ')';
display: inline;
}
main {
max-width: 1024px;
}
main > .window-body {
overflow: auto;
}
.example {
margin: var(--margin) 0;
padding-left: 16px;
}
details {
margin-top: 8px;
}
details > summary {
display: inline-block;
cursor: normal;
user-select: none;
margin-bottom: 4px;
}
@media screen and (min-width: 750px) {
section {
display: flex;
flex-direction: row;
}
section > *:first-child {
flex: 0 0 200px;
}
section > div {
flex-grow: 1;
}
}
a {
color: #00c;
text-decoration: underline;
}