summaryrefslogtreecommitdiff
path: root/static/styles/base.css
blob: f9b1ae60c408f35221b8642dc70042af0e5c43f9 (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
/*
 * This file will contain the styles that are to be applied to the WHOLE site.
 *
 * No page-specific settings should go in this file.
 */

* {
	box-sizing: border-box;
}

html, body {
	padding: 0;
	margin: 0;

	font-family: Helvetica, Arial, sans-serif;

	color: white;
	background-color: #2a2626;
}

/* Sticky footer
 * See: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers
 */
body {
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto;
}

.navbar {
	/* A lot of spacing gives a kind of modern look. */
	padding: 1.5rem;

	/* Make the navbar slightly darker than the default background color to "lift it up". */
	background-color: #1c1c1c;

	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.navbar__links {
	list-style: none;
	padding: 0;

	display: flex;
	flex-direction: row;
	gap: 1.5em;
}

.navbar__location {
	/* remove default link styling */
	color: inherit;
	text-decoration: none;
}

footer {
	text-align: center;
	font-size: small;
	margin: 1rem;
}