summaryrefslogtreecommitdiff
path: root/css/frontPage.scss
blob: 0c6247a14de580748f47ddedfe126b2217c496c2 (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
#frontPage {
	align-items:                center;
	border-bottom-left-radius:  1rem;
	border-bottom-right-radius: 1rem;
	display:                    flex;
	justify-content:            center;
	height:                     calc(100vh + 1rem);
	padding-bottom:             1rem;
	pointer-events:             none;
	width:                      100%;

	body[data-page = "about"] & {
		background-color: $achernarColour;
	}

	body[data-page = "ax"] & {
		background-color: #422984;
	}

	body[data-page = "backspace"] & {
		background-color: var(--backgroundColour);
	}

	body[data-page = "benoit"] & {
		background-image: url("/svg/benoit-background.svg");
		background-size:  cover;
	}

	body[data-page = "bowshock"] & {
		background-color: #B61833;
	}

	body[data-page = "bzipper"] & {
		background-color: #FFFFFF;
	}

	body[data-page = "deltaWorld"] & {
		background-color: var(--backgroundColour);
	}

	body[data-page = "eas"] & {
		background-color: #01CD93;
	}

	body[data-page = "luma"] & {
		background-color: #6051B2;
	}

	body[data-page = "pollex"] & {
		background-color: #4D4084;
	}

	body[data-page = "u8c"] & {
		background-color: #444747;
	}

	#glyph {
		display:     block;
		font-size:   4rem;
		font-weight: bold;
		height:      fit-content;
		width:       calc(100vmin / 2);
		text-align:  center;
	}
}