about summary refs log tree commit diff
path: root/served/bits/scrap/scrap.css
blob: c863c7b250ddc17da4aacd231f0fb595f80b62fc (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
66
67
68
69
70
71
72
73
/* wide */
@media (min-width: 44rem) {
	.left {
		float: left;
		width: 50%;
		margin: 0 16px 16px 0;
	}

	.right {
		float: right;
		width: 50%;
		margin: 0 0 16px 16px;
	}

	.smright {
		float: right;
		width: 25%;
		margin: 0 0 16px 16px;
	}
}

/* narrow */
@media (max-width: 44rem) {

	.left,
	.right {
		display: block;
		margin: 8px auto 16px auto;
		width: min(50vh, 100%);
	}

	.smright {
		float: right;
		width: 96px;
		margin: 0 0 16px 16px;
	}
}

article {
	overflow-y: auto;
}

article>header {
	display: flex;
	flex-direction: row;
	gap: 16px;
	padding-bottom: 8px;
	align-items: center;
}

header>h2 {
	margin: 0;
}

header>time,
header>p {
	color: var(--text-dim);
	height: min-content;
}

header>p {
	font-style: italic;
	margin: 0;
}

article>p {
	margin-top: 0;
	margin-bottom: 16px;
}

article>p:last-of-type {
	margin-bottom: inherit;
}