aboutsummaryrefslogtreecommitdiff
path: root/styles/layout.css
blob: e223b11187b2b173d669d504d79a06605126fdce (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
.centeredPage {
	max-width: calc(700px + 24px + 200px);
	margin: 0 auto;
	margin-top: 96px;
	padding: 0 24px;

	display: grid;
	gap: 24px;
	grid-template-columns: 200px 1fr;
	grid-auto-rows: auto;
}

.titleWrapper {
	grid-column: 2;
	grid-row: 1;
}
.titleWrapper > * { margin: 0; }

.navAreaWrapper {
	grid-column: 1;
	grid-row: 2;
}
.navAreaWrapper > .sticky {
	position: sticky;
	top: 24px;
}

.contentWrapper {
	grid-column: 2;
	grid-row: 2;
}
.contentWrapper > * {
	margin: 0;
	margin-bottom: 24px;
}

.contentWrapper p {
	text-align: justify;
}