-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobal.css
More file actions
326 lines (285 loc) · 6.56 KB
/
Copy pathglobal.css
File metadata and controls
326 lines (285 loc) · 6.56 KB
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
/*Import fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&display=swap');
/*Import icons from Google Icons*/
.material-symbols-outlined {
font-variation-settings:
'FILL' 1,
'wght' 700,
'GRAD' 200,
'opsz' 48
}
/*Set colours as variables to be used throughout the webpage*/
:root {
--roncalli-red: rgba(128, 29, 57, 1);
--roncalli-blue: rgba(102, 196, 208, 1);
--roncalli-yellow: rgb(255, 194, 14);
--background: rgb(43, 43, 43);
--text-light: rgb(255, 255, 255);
--text-dark: rgb(0, 0, 0);
--link-light:rgb(185, 185, 185);
--link-dark:rgb(90, 90, 90);
--link-light-hover:rgb(240, 240, 240);
--link-dark-hover:rgb(15, 15, 15);
}
/*Set styles that are to be applied throughout the page*/
*{
box-sizing: border-box;
}
html, body{
overflow-x: hidden;
background-color: var(--background);
margin: 0rem;
}
/*Set the styles for the navigation menu(s)*/
.navigation{
width: 100vw;
overflow-x: hidden;
}
nav{
margin: 0rem;
background-color: var(--roncalli-red);
border-style: solid;
border-width: 0.5rem;
border-color: var(--roncalli-yellow);
padding: 1rem 1.5rem 1rem 1.5rem;
min-height: 5.5rem;
width: 100%;
display: inline-flex;
justify-content:space-between;
align-items: center;
}
nav .teamName{
color: #eeeeee;
font-family: "Bungee Shade", sans-serif;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.1rem;
font-size: 2.5rem;
}
nav .buttons{
margin: 0rem 1rem;
}
nav .button{
color: var(--text-light);
font-size: 1.5rem;
text-align: center;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.1rem;
border: none;
background-color: rgb(50, 50, 50);
display: inline-block;
cursor: pointer;
padding: 0.75rem 1rem;
margin: 0.25rem 0.5rem;
transition: all;
transition-duration: 0.25s;
}
nav .button:hover{
background-color: rgb(20, 20, 20);
}
nav .menuButton{
color: var(--link-light);
font-size: 3rem;
display: block;
transition: all;
transition-duration: 0.25s;
cursor: pointer;
user-select: none;
-moz-user-select: none;
}
nav .menuButton:hover{
color: var(--link-light-hover);
}
menu{
background-color: var(--roncalli-red);
border-style: solid;
border-width: 0rem 0.5rem 0.5rem 0.5rem;
border-color: var(--roncalli-yellow);
padding: 1rem 1.5rem 1rem 1.5rem;
height: calc(100vh - 5.5rem);
width: 100%;
margin: 0rem;
position: fixed;
top: 5.5rem;
left: 0%;
transform: translateX(100%);
}
menu .buttons{
margin: 0rem;
display: flex;
flex-direction: column;
}
menu .button{
color: var(--text-light);
font-size: 1.5rem;
text-align: center;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.1rem;
border: none;
background-color: rgb(50, 50, 50);
display: inline-block;
cursor: pointer;
padding: 0.75rem 1rem;
margin: 0.25rem 0rem;
transition: all;
transition-duration: 0.25s;
}
menu .button:hover{
background-color: rgb(20, 20, 20);
}
nav .menuButton{
display: none;
}
menu {
display: none;
}
/*Set the styles for the navigation menu specifically on smaller screens*/
@media (max-width: 1785px) {
nav .buttons {
display: none;
}
nav .menuButton {
display: block;
}
menu{
display: block;
}
}
@media (max-width: 1055px) {
nav .teamName{
font-size: min(8vw, 2.5rem);
}
nav .menuButton{
font-size: min(9vw, 3rem);
}
}
/*Set the styles for the scroll to top Button*/
.ScrollToTopButton{
color: var(--link-light);
background-color: var(--roncalli-red);
border-style: solid;
border-width: 0.5rem;
border-color: var(--roncalli-yellow);
border-radius: 1rem;
padding: 0.5rem;
display: none;
position: fixed;
bottom: 1rem;
right: 1rem;
cursor: pointer;
user-select: none;
-moz-user-select: none;
transition: all;
transition-duration: 0.25s;
}
.ScrollToTopButton:hover{
color: var(--link-light-hover);
}
/*Set the styles for the page Header/Hero*/
header{
background-color: var(--roncalli-blue);
min-height: min(75vh, 32.5rem);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-position-x: right;
display: flex;
}
header .headerText{
flex-basis: 40%;
text-align: center;
align-self: center;
padding: 2rem;
}
header h1{
font-family: "Bungee Shade", sans-serif;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.1rem;
color: transparent;
background: linear-gradient(90deg, rgb(245, 0, 0), rgb(0, 0, 240), rgb(245, 0, 0));
background-size: 25%;
background-clip: text;
-webkit-background-clip: text;
-moz-background-clip: text;
font-size: 3em;
margin: 0rem;
}
header .headerImage{
flex-basis: 60%;
background-image: url(./Assets/Go-Kart%20Digital%20CAD.PNG);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
/*Set the styles for the header section specifically on smaller screens*/
@media (max-width: 500px) {
header h1{
font-size: min(10vw, 3rem);
}
}
/*Set the basic styles for the main content in the page*/
main{
margin: -1rem 2rem 1rem 2rem;
color: var(--text-light);
}
main h1{
font-size: 3rem;
margin: 3rem 0rem 0rem 0rem;
letter-spacing: 0.1rem;
}
main h2, main h3 {
margin: 1rem 0rem 0rem 0rem;
}
main p{
font-size: 1.5rem;
margin: 0rem 0rem 0rem 0rem;
}
ul li{
font-size: 1.5rem;
}
main a{
color: var(--link-light);
}
main a:hover{
color: var(--link-light-hover);
}
/*Set the styles for the footer*/
footer{
background-color: var(--roncalli-red);
border-style: solid;
border-width: 0.5rem;
border-color: var(--roncalli-yellow);
min-height: 15rem;
color: var(--text-light);
display: grid;
grid-template-columns: auto auto;
align-items: center;
padding: 0rem 1rem;
text-align: center;
}
footer div{
margin: 0rem 1rem;
}
footer h1{
font-family: "Bungee Shade", sans-serif;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.25rem;
font-size: 5rem;
margin: 0rem 0rem;
}
footer h2{
text-transform: uppercase;
}
/*Set the styles for the footer bar specifically on smaller screens*/
@media (max-width: 1055px) {
footer{
grid-template-columns: auto;
}
footer h1{
font-size: max(8vw, 2rem);
}
}