summaryrefslogtreecommitdiff
path: root/css/banner.scss
blob: 36154e6405ab643c5647d04a7d3a24f2a17b1cd8 (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
92
93
#banner {
	--textColour: var(--bannerHighlightColour);

	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"] & {
		--bannerHighlightColour: #FFFFFF;

		background-color: #007B34;

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

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

		background-color: #422984;
	}

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

		background-color: #422984;
	}

	body[data-page = "backspace"] & {
		--bannerHighlightColour: var(--textColour);

		background-color: var(--backgroundColour);
	}

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

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

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

		background-color: #B61833;
	}

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

		background-color: #FFFFFF;
	}

	body[data-page = "deltaWorld"] & {
		--bannerHighlightColour: var(--textColour);

		background-color: var(--backgroundColour);
	}

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

		background-color: #01CD93;
	}

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

		background-color: #6051B2;
	}

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

		background-color: #4D4084;
	}

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

		background-color: #444747;
	}

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