blob: ffc899a45dee196876029a6c745143a567572401 (
plain)
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
|
div {
display: grid;
grid-template-columns: 2fr 1fr;
}
#weeknotes-section {
grid-column: 2 / 3;
display: flex;
flex-direction: column;
row-gap: 0.5rem;
}
#written {
grid-row: 1;
grid-column: 1 / 2;
}
#what-weeknotes {
align-self: end;
margin: -0.75rem 0 0 0;
font-weight: normal;
}
.wk-notes {
padding: 0;
margin: 0;
display: flex;
flex-direction: row;
flex-wrap: wrap;
column-gap: 1rem;
row-gap: 1rem;
list-style: none;
display: flex;
}
.wk-long {
width: 100%;
}
h2 {
margin: 0 0 1rem 0;
}
#weeknotes {
margin: 0;
}
@media (max-width: 30rem) {
div {
display: flex;
flex-direction: column;
}
#written {
margin-top: 1rem;
}
#what-weeknotes {
align-self: normal;
/* min to give it the smallest chance not to look super weird
on like 100px wide displays. (are those real?) */
margin-left: min(50vw, 8rem);
}
}
|