aboutsummaryrefslogtreecommitdiff
path: root/assets/css/base.scss
blob: 189acc1971e03f5b5953e02839a3e5bac94c7429 (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
@import "fonts.scss";
@import "root.scss";

@import "markup/render-heading.scss";

@import "partials/header.scss";
@import "partials/article.scss";
@import "partials/footer.scss";

html,
body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	line-height: 1.25;
	margin-top: 0;
	margin-bottom: 0.6em;	
}

h1 {
	font-weight: 900;
}

a {
	color: var(--accent-500);
}

#main-footer-separator {
	flex-grow: 1;
	flex-shrink: 0;
}

main {
	max-width: 80ch;
	width: 100%;
	margin: 0 auto;
	padding: 1rem;

	font-size: 1.25rem;
}