-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
vogsphere.css
86 lines (71 loc) · 1.82 KB
/
vogsphere.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
.magrathea-tool.vogsphere {
--gap-xs: 0.25em;
--gap-s: 0.5em;
--gap-m: 1em;
--gap-l: 1.5em;
--gap-xl: 1.75em;
/* comfortable reading width */
--measure: 60ch; /* https://en.wikipedia.org/wiki/Line_length */
box-sizing: border-box;
margin-right: auto;
margin-left: auto;
max-width: var(--measure);
padding: var(--gap-l) 0;
}
/********************************************* GLOBAL */
.magrathea-tool.vogsphere *,
.magrathea-tool.vogsphere *::before,
.magrathea-tool.vogsphere *::after {
box-sizing: border-box;
}
.magrathea-tool.vogsphere > * + * {
margin: var(--gap-xl) 0;
}
/********************************************* ELEMENTS */
/* shared styles */
.magrathea-tool.vogsphere input,
.magrathea-tool.vogsphere select,
.magrathea-tool.vogsphere textarea {
font: inherit;
}
/* individual styles */
.magrathea-tool.vogsphere button {
border: 1px outset;
display: block;
font: inherit;
margin-right: auto;
margin-left: auto;
padding: var(--gap-xs);
}
.magrathea-tool.vogsphere h2 {
text-align: center;
}
.magrathea-tool.vogsphere h3 {
margin-top: var(--gap-xl);
margin-bottom: var(--gap-s);
}
.magrathea-tool.vogsphere pre {
border: 1px solid;
overflow: auto;
padding: var(--gap-m);
}
.magrathea-tool.vogsphere section > * + * {
margin-top: var(--gap-m);
}
.magrathea-tool.vogsphere ul.--minimal {
list-style-type: none;
margin-top: var(--gap-xs);
margin-bottom: var(--gap-xs);
}
/********************************************* COMPONENTS */
.magrathea-tool.vogsphere .__input-group {
align-items: center;
display: grid;
grid-template-columns: 1fr 2fr;
}
.magrathea-tool.vogsphere .__input-group > *.--full {
grid-column: 1 / -1;
}
.magrathea-tool.vogsphere .__input-group > *.--aside {
grid-column: 2;
}