aboutsummaryrefslogtreecommitdiffstats
path: root/_sass/main.scss
blob: a36b18b36330d62b87c4378fb195920798f56742 (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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
$main-blue: #397eaf;
$main-grey: #e1e1e1;
$border-sep: 5px solid $main-grey;
$title-font: sans-serif;
$body-font: sans-serif;

html {
	background: white;
}

body {
	max-width: fit-content;
	min-width: 364px;
	margin: 20px auto 0 auto;
	padding: 8px;
	font: 100% $body-font;
}
a {
	color: #707070;
	text-decoration: none;
}
a:hover {
	color: #999;
}

.current {
	color: #333;
}

nav {
	display: flex;
	font: 400 1.5em $title-font;
	letter-spacing: -1.2px;
	
	ul {
		display: inline-flex;
		width: 430px;
		height: 32px;
		margin: 0;
		padding: 50px 30px 0 0;
		flex-direction: row;
		justify-content: space-between;
		list-style-type: none;
		border-bottom: 5px solid $main-grey;
	}
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font: 200% $title-font;
	color: $main-blue;
}

footer {
	border-top: $border-sep;
	text-align: center;
	font: 75% $body-font;
	p {
		margin: 0;
	}
}

@media only screen and (max-width: 700px) {
	nav {
		margin-bottom: 5vh;
		ul {
			width: 100%;
			padding: 0;
			padding-top: 30px;
			position: relative;
			top: 5vh;	
		}
		img {
			position: absolute;
			top: 0;
		}
	}
}