aboutsummaryrefslogtreecommitdiff
path: root/assets/css/partials/header.scss
blob: 16fb3141c2e15418448d8503f57907945bcb5cfa (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
header {
	background-color: var(--accent-5);
	color: black;

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

	padding: 1rem 2rem;
	margin-bottom: 1rem;

	h1 {
		font-size: 2rem;
		margin: 0;
		font-weight: 900;
		letter-spacing: 0.15rem;

		a {
			text-decoration: none;
		}
	}

	p {
		font-size: 1.2rem;
		font-weight: 300;
	}

	nav > a {
		text-decoration: none;
		font-weight: 700;
		font-size: 1.2rem;
		text-transform: uppercase;
		letter-spacing: 0.1rem;
		margin: 0 0.5rem;
		transition: color 0.2s ease-in-out;

		&:hover {
			color: var(--accent-dark);
		}
	}
}

@media (max-width: 768px) {
	header {
		flex-direction: column;
		align-items: center;
		justify-content: center;

		h1 {
			margin-bottom: 0.5rem;
		}

		p {
			margin-bottom: 0;
		}
	}
}