summaryrefslogtreecommitdiff
path: root/css/banner.scss
blob: e1256d2701bf2cad978cc73c7ed5fbb1b7fad838 (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#banner {
	align-items:     center;
	background-size: cover;
	display:         flex;
	height:          100%;
	image-rendering: pixelated;
	justify-content: center;
	padding-bottom:  1rem;
	position:        absolute;
	top:             0;
	width:           100%;

	body[data-page = "achernar"] & {
		--textColour: #FFFFFF;

		background-color: #007B34;

		@media not (prefers-reduced-motion) {
			background-image: url("/image/vertex.webp");
		}
	}

	body[data-page = "agbsum"] & {
		--textColour: #FFFFFF;

		background-color: #422984;
	}

	body[data-page = "ax"] & {
		--textColour: #FFFFFF;

		background-color: #422984;
	}

	body[data-page = "backspace"] & {
		--textColour: #000000;

		background-color: #FFFFFF;
	}

	body[data-page = "benoit"] & {
		--textColour: #FFFFFF;

		background-image: url("/svg/benoit-background.svg");
	}

	body[data-page = "bowshock"] & {
		--textColour: #FFEEE0;

		background-color: #B61833;
	}

	body[data-page = "bzipper"] & {
		--textColour: #B4202D;

		background-color: #FFFFFF;
	}

	body[data-page = "deltaWorld"] & {
		--textColour: #FFFFFF;

		background-color: #000000;
	}

	body[data-page = "eas"] & {
		--textColour: #00291B;

		background-color: #01CD93;
	}

	body[data-page = "luma"] & {
		--textColour: #FFFFFF;

		background-color: #6051B2;
	}

	body[data-page = "pollex"] & {
		--textColour: #FFFFFF;

		background-color: #4D4084;
	}

	body[data-page = "u8c"] & {
		--textColour: #A9E13D;

		background-color: #444747;
	}

	@import "navBar";
	@import "glyph";
}