aboutsummaryrefslogtreecommitdiff
path: root/sass/_header.scss
blob: e89460c87d79362a2ebfab0e935cb7fca95bd01f (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
@use "sass:math";
.header {
	height: 60*$px;
	max-width: 1200*$px;
	padding: 0 20*$px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	border-bottom: 1*$px solid var(--color-secondary);
}
.home-link {
	display: flex;
	align-items: center;
	justify-content: left;
	height: 100%;
	outline: none;
	&:link, &:visited {
		text-decoration: none;
		font-size: 28*$px;
		color: inherit;
		transition: transform .2s;
	}
	&:hover, &:active {
		color: var(--color-primary);
		transform: scale(1.05);
	}
	&:focus {
		color: var(--color-accent);
		transform: scale(1.05);
	}
}
.main_icon {
	height: math.div(200%, 3);
	aspect-ratio: 5/4;
	fill: currentColor;
}