summaryrefslogtreecommitdiff
path: root/static/global.css
blob: 562596808b161e4027a9534b5f5f91e6f6fc7ee3 (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
/*
 * 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;
}

/* 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 {
	padding: 1.5rem;
	background-color: #eee;

	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__links__item {
	/* remove default link styling */
	color: inherit;
	text-decoration: none;
}

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