generated from webmural/qanda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
album.css
72 lines (60 loc) · 1013 Bytes
/
album.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
* { box-sizing: border-box }
a { text-underline-offset: 1pc }
[rel] { font-size: 1.618em }
[href^="#"] { text-decoration-style: dotted }
:focus { outline: thick groove }
.fun { font: unset }
html {
font-family: sans-serif;
font-size: max(26px, 2vmax + 2vmin);
line-height: 1.618;
}
body {
margin: 0;
overflow-wrap: anywhere;
}
article {
align-items: flex-start;
contain: layout;
display: flex;
flex-flow: column;
padding: 10vh 10vw;
}
aside {
align-items: flex-start;
contain: layout;
display: flex;
flex-flow: column;
gap: 1ex;
margin-bottom: 1em;
}
footer {
margin-block: 3em 1em;
}
nav {
contain: layout;
display: flex;
gap: 1ch;
margin-bottom: 1em;
}
p {
margin: 0;
padding: 1ch 1ex;
}
h1 {
font-size: 2.618rem;
margin: auto auto 1ex;
}
hr {
all: unset;
display: block;
margin-block: 1em;
}
@media (orientation: portrait) {
h1 {
margin-block-end: 10vw;
margin-top: 0;
margin-bottom: 2ch;
writing-mode: vertical-rl;
}
}