summaryrefslogtreecommitdiff
path: root/css/header.scss
blob: 561aab86bbb9c9461a4eb0e856ed61058d4ab05f (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
#header {
	$gap: 1rem;

	--foregroundColour: var(--backgroundColour);

	align-items:                center;
	background-color:           var(--backgroundColour);
	background-size:            cover;
	border-bottom-left-radius:  $padding;
	border-bottom-right-radius: $padding;
	box-shadow:                 0 0 calc($padding / 2) $shadowColour;
	display:                    flex;
	height:                     calc(100vh + $padding);
	image-rendering:            pixelated;
	justify-content:            center;
	overflow:                   hidden;
	padding-bottom:             $padding;
	position:                   relative;
	user-select:                none;
	width:                      100%;

	#glyph {
		aspect-ratio:    1;
		display:         block;
		image-rendering: pixelated;
		object-fit:      contain;
		width:           50vmin;
	}

	@import "navBar";
}