summaryrefslogtreecommitdiff
path: root/css/navigationBar.scss
blob: a8d6c1048c85c36c46870641015589535e161a38 (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
#navigationBar {
	align-items:             center;
	backdrop-filter:         blur(1rem);
	background-color:        $textColour;
	background-color:        color-mix(in srgb, $textColour, transparent 75%);
	border-top-left-radius:  1rem;
	border-top-right-radius: 1rem;
	color:                   $backgroundColour;
	display:                 flex;
	gap:                     0.25rem;
	justify-content:         center;
	left:                    50vw;
	padding:                 1rem;
	position:                fixed;
	top:                     100vh;
	transform:               translate(-50%, -1rem);
	transition:              0.25s;
	z-index:                 1;

	&:hover {
		background-color: $textColour;
		transition:       0.25s;
		transform:        translate(-50%, -100%);
	}

	a {
		font-weight:     bold;
		text-decoration: none;

		&, &:visited {
			color: $backgroundColour;

			&:first-of-type {
				color: $achernarColour;
			}
		}
	}

	.groupSeparator {
		background-color: $backgroundColour;
		border-radius:    0.25rem;
		height:           0.25rem;
		width:            0.75rem;
	}

	.elementSeparator {
		background-color: $backgroundColour;
		border-radius:    100%;
		height:           0.25rem;
		width:            0.25rem;
	}
}