blob: 9ed00f44ccff59740efa02981a090f00539b28af (
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
#frontPage {
border-bottom-left-radius: 1rem;
border-bottom-right-radius: 1rem;
box-shadow: $shadow;
color: var(--pageHighlightColour);
height: calc(100vh + 1rem);
padding-bottom: 1rem;
position: absolute;
top: 0;
user-select: none;
width: 100%;
body[data-page = "about"] & {
--pageHighlightColour: #FFFFFF;
background-color: $achernarColour;
div#glyph {
background-image: url("/svg/glyph/achernar.svg");
}
}
body[data-page = "agbsum"] & {
--pageHighlightColour: #FFFFFF;
background-color: #422984;
div#glyph {
background-image: url("/svg/glyph/ax.svg");
}
}
body[data-page = "ax"] & {
--pageHighlightColour: #FFFFFF;
background-color: #422984;
div#glyph {
background-image: url("/svg/glyph/ax.svg");
}
}
body[data-page = "backspace"] & {
--pageHighlightColour: var(--textColour);
background-color: var(--backgroundColour);
div#glyph {
background-image: url("/svg/glyph/backspace.svg");
}
}
body[data-page = "benoit"] & {
--pageHighlightColour: #FFFFFF;
background-image: url("/svg/benoit-background.svg");
background-size: cover;
div#glyph {
background-image: url("/svg/glyph/benoit.svg");
}
}
body[data-page = "bowshock"] & {
--pageHighlightColour: #FFEEE0;
background-color: #B61833;
div#glyph {
background-image: url("/svg/glyph/bowshock.svg");
}
}
body[data-page = "bzipper"] & {
--pageHighlightColour: #B4202D;
background-color: #FFFFFF;
div#glyph {
background-image: url("/svg/glyph/bzipper.svg");
}
}
body[data-page = "deltaWorld"] & {
--pageHighlightColour: var(--textColour);
background-color: var(--backgroundColour);
div#glyph {
background-image: url("/svg/glyph/deltaWorld.svg");
}
}
body[data-page = "eas"] & {
--pageHighlightColour: #00291B;
background-color: #01CD93;
div#glyph {
background-image: url("/svg/glyph/eas.svg");
}
}
body[data-page = "luma"] & {
--pageHighlightColour: #FFFFFF;
background-color: #6051B2;
div#glyph {
background-image: url("/svg/glyph/luma.svg");
}
}
body[data-page = "pollex"] & {
--pageHighlightColour: #FFFFFF;
background-color: #4D4084;
div#glyph {
background-image: url("/svg/glyph/pollex.svg");
}
}
body[data-page = "u8c"] & {
--pageHighlightColour: #A9E13D;
background-color: #444747;
div#glyph {
background-image: url("/svg/glyph/u8c.svg");
}
}
#hamburger {
aspect-ratio: 1;
background-color: var(--pageHighlightColour);
cursor: pointer;
left: 1rem;
mask-image: url("/svg/hamburger.svg");
mask-position: center;
mask-repeat: no-repeat;
mask-size: cover;
position: absolute;
top: 1rem;
transition: background-color $navBarSlideDuration;
width: 2rem;
z-index: 255;
&[data-navBarState = "Visible"] {
background-color: var(--textColour);
}
}
@import "navBar";
#glyph {
display: block;
left: 50vw;
position: absolute;
top: 50vh;
transform: translate(-50%, -50%);
}
div#glyph {
aspect-ratio: 1;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
width: calc(100vmin / 2);
}
p#glyph {
font-size: 4em;
font-weight: bold;
}
}
|