summaryrefslogtreecommitdiff
path: root/css/content.css
blob: 08b5b8b22ba145a05b42594074d769c54f675824 (plain) (blame)
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
div.content {
	background-color:var(--backgroundColour);
	border-top-color:var(--foregroundColour);
	border-top-style:solid;
	border-top-width:calc(1rem / 3);
	box-sizing:      border-box;
	height:          100%;
	margin:          auto;
	max-width:       var(--maximumPageWidth);
	min-width:       var(--minimumPageWidth);
	padding:         1rem 2rem;
	padding-bottom:  calc(3rem / 2 + 2rem);
	width:           100%;
}

div.section + div.section::before {
	content:         "";
	background-color:var(--colour);
	display:         block;
	height:          calc(1rem / 3);
	margin:          1rem 0;
	width:           calc(100% / 2);
}

div.subsection {
	border-left-color:var(--colour);
	border-left-style:solid;
	border-left-width:calc(1rem / 3);
	padding:          0 1rem;
}

div.subsection + div.subsection {
	margin-top:1rem;
}