generated from p9e/orange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchooze.css
102 lines (89 loc) · 1.91 KB
/
chooze.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
90
91
92
93
94
95
96
97
98
99
100
101
102
:focus { outline: thick dotted }
:any-link { color: unset }
:any-link:hover { text-decoration-style: double }
* { box-sizing: border-box }
li { flex-basis: 100% }
ol {
list-style-type: none;
display: flex;
flex-flow: row wrap;
}
@media (orientation: landscape) {
li { margin-block: 2ex }
ol > li {
flex-basis: calc(100% / 3);
}
.cross > li { flex-basis: 50% }
.cross > :nth-child(1) { order: 1 }
.cross > :nth-child(2) { order: 3 }
.cross > :nth-child(3) { order: 5 }
.cross > :nth-child(4) { order: 7 }
.cross > :nth-child(5) { order: 9 }
.cross > :nth-child(6) { order: 11 }
.cross > :nth-child(7) { order: 2 }
.cross > :nth-child(8) { order: 4 }
.cross > :nth-child(9) { order: 6 }
.cross > :nth-child(10) { order: 8 }
.cross > :nth-child(11) { order: 10 }
.cross > :nth-child(12) { order: 12 }
}
@media (orientation: portrait) {
.cross > :nth-child(1) { order: 1 }
.cross > :nth-child(2) { order: 12 }
.cross > :nth-child(3) { order: 11 }
.cross > :nth-child(4) { order: 10 }
.cross > :nth-child(5) { order: 9 }
.cross > :nth-child(6) { order: 8 }
.cross > :nth-child(7) { order: 7 }
.cross > :nth-child(8) { order: 6 }
.cross > :nth-child(9) { order: 5 }
.cross > :nth-child(10) { order: 4 }
.cross > :nth-child(11) { order: 3 }
.cross > :nth-child(12) { order: 2 }
}
p {
max-width: 30em;
}
html {
font-family: sans-serif;
font-size: max(3ch, 4vmin);
line-height: 1.618;
}
body {
display: flex;
flex-flow: column;
margin: 0;
overflow-wrap: anywhere;
}
footer,
header {
contain: content;
display: flow-root;
padding: 1em;
}
h1 {
font-weight: unset;
font-size: 1.382em;
margin: 0;
}
h2 {
font-weight: unset;
font-size: 1.236em;
margin: 0;
}
article {
contain: content;
display: flex;
flex-flow: column;
}
dl {
min-height: 12em;
padding: 1ex 1ch;
}
figure {
margin: 0;
padding: 1em;
}
figcaption {
font-size: 1.236rem;
}