-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
443 lines (382 loc) · 12.8 KB
/
styles.css
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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
/* Fonts
https://www.onlinewebfonts.com
oNline Web Fonts is licensed by CC BY 3.0
*/
/* Pricedown */
@font-face {
font-family: "Pricedown";
src: url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.eot"); /* IE9 */
src: url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.woff2") format("woff2"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.woff") format("woff"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url("https://db.onlinewebfonts.com/t/4cca73663be210d1abb8d4c8879cd5ce.svg#Pricedown") format("svg"); /* iOS 4.1- */
}
/* a_CampusGrav */
@font-face {
font-family: "a_CampusGrav";
src: url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.eot"); /* IE9 */
src: url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.woff2") format("woff2"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.woff") format("woff"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url("https://db.onlinewebfonts.com/t/876b6b215cca4131e4a30e569bcfe827.svg#a_CampusGrav") format("svg"); /* iOS 4.1- */
}
/* Franklin Gothic */
@import url(https://db.onlinewebfonts.com/c/9c9dbb999dd7068f51335d93cc7328bd?family=Franklin+Gothic);
@font-face {font-family: "Franklin Gothic";
src: url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.eot"); /* IE9 */
src: url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.woff2") format("woff2"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.woff") format("woff"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url("https://db.onlinewebfonts.com/t/9c9dbb999dd7068f51335d93cc7328bd.svg#Franklin Gothic);") format("svg"); /* iOS 4.1- */
}
/* Arial Bold But appears to be Regular Arial */
@font-face {font-family: "Arial";
src: url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.eot"); /* IE9 */
src: url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.woff2") format("woff2"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.woff") format("woff"), /* chrome, firefox */
url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url("https://db.onlinewebfonts.com/t/c4b2bcd6a4c756d5d949e1d92deb838a.svg#Arial") format("svg"); /* iOS 4.1- */
}
/* AG_Helvetica Bold as I Couldn't find Helvetica Neue Heavy on onlinewebfonts.com */
@font-face {font-family: "AG_Helvetica Bold";
src: url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.eot");
src: url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.eot?#iefix") format("embedded-opentype"),
url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.woff2") format("woff2"),
url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.woff") format("woff"),
url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.ttf") format("truetype"),
url("https://db.onlinewebfonts.com/t/0fccae43e6571b947d44ad9ecc9ed318.svg#AG_Helvetica") format("svg");
}
/* DIN 1451 Mittelschrift */
@font-face {font-family: "DIN 1451 Mittelschrift";
src: url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.eot");
src: url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.eot?#iefix") format("embedded-opentype"),
url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.woff2") format("woff2"),
url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.woff") format("woff"),
url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.ttf") format("truetype"),
url("https://db.onlinewebfonts.com/t/21089abc06554e9d088c16715d9900d6.svg#DIN 1451 Mittelschrift") format("svg");
}
/* Fonts Over */
body {
font-weight: 400;
line-height: 1.4;
color: rgba(255, 255, 255, 1);
background-image: url(https://images.alphacoders.com/463/463501.jpg);
background-repeat: repeat-y;
background-size: cover;
background-position: 79.7%;
}
/* mobile friendly alternative to using background-attachment: fixed */
body::before {
content: '';
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: -1;
}
.split-right {
float: right;
width: 64%;
position: relative;
}
.help-box {
width: 102px;
background-color: rgba(0, 0, 0, 0.5);
-webkit-text-stroke: .3px black;
font-family: "DIN 1451 Mittelschrift";
font-size: 20px;
padding: 2.5px 0 2.5px 8px;
}
h1 {
text-align: center;
font-size: 2.25rem;
font-family: "Franklin Gothic";
color: white;
font-weight: 500;
}
/* Game Logo & Title */
#gta-logo, #gta-logo-desc, #g, #t, #a, #g-desc, #t-desc, #a-desc, #new {
-webkit-text-stroke: 2px black;
font-family: 'Pricedown';
font-size: 3.15rem;
letter-spacing: -1.4px;
color: white;
margin-left: 3.1px;
font-weight: 400;
}
#gta-logo, #g, #gta-logo-desc, #g-desc{
margin-left: 0px;
}
#game-title, #game-title-desc, #game_title_easter_egg {
color: black;
font-family: 'a_CampusGrav';
-webkit-text-stroke: .4px white;
font-size: 3rem;
letter-spacing: -1.4px;
-webkit-text-fill-color: black;
vertical-align: -4.25px;
margin-left: 1.3px;
font-weight: 400;
}
#game_title_easter_egg {
font-size: 2.5rem;
position: relative;
font-weight: 300;
-webkit-text-stroke: .5px white;
}
#legal, #legal_easter_egg {
font-family: sans-serif;
font-size: 6px;
color: black;
vertical-align: 26px;
letter-spacing: 2.5px;
line-height: 4px;
font-weight: 400;
}
#legal_easter_egg {
font-size: 3px;
vertical-align: 22.5px;
letter-spacing: 3px;
font-weight: 300;
}
#new {
margin-left: -8.3px;
font-weight: 400;
}
#remastered-title {
color: rgba(225, 180, 60, 0.9);
-webkit-text-stroke: 2.25px black;
font-family: 'Pricedown';
font-size: 3.15rem;
letter-spacing: -2.1px;
font-weight: 400;
}
/* End of gta Logo & Title */
#description {
text-align: center;
font-size: 1.8rem;
font-family: "Arial";
color: Silver;
}
/* Form */
form {
background: linear-gradient(90deg, rgba(221, 160, 27, 0.5) 86%, rgba(221, 160, 27, 0.38) 100%);
padding: 0rem;
border-radius: 0.08rem;
margin: 20 auto;
width: 100%;
color: white;
position: relative;
font-family: "AG_Helvetica Bold";
}
fieldset, #f-one, #f-two {
margin: 0em;
padding: 5.6px;
border-color: white;
border-radius: 0.08rem;
position: relative;
border-style: solid;
}
#f-one, #f-two {
margin-bottom: -8px;
border-bottom-width: 8px;
}
#f-two {
padding-bottom: 40px;
}
.form-block, .form-block-flex {
margin: 0.5rem auto auto;
padding: 0.25rem 0rem 0.25rem;
position: relative;
}
.basic-info-label, .wanted-level-widget-p, .to-improve-p, .review-p {
width: 7.95%;
margin: 15px;
height: 2.75rem;
padding: 0.375rem 0.75rem;
display: inline-block;
text-align: center;
position: relative;
}
.review-p {
width: 14.5%;
}
input[type=checkbox] {
margin-right: 14px;
margin-left: 10px;
display: inline-block;
min-height: 1.3rem;
min-width: 1.3rem;
outline: 1.5px solid black;
/* thank u stackoverflow */
accent-color: rgba(225, 180, 60, 1);
}
/* Behavior here differs from freeCodeCamp's Text Editor (Moanco) so i added width and height proprities to the select elements, not here but in their seperate css rule */
.basic-info, #dropdown, #dropdown-2nd, .input-textarea {
margin: 15px 0px;
width: 83%;
height: 1.5rem;
padding: 0.375rem 0.75rem;
color: #000000;
background-color: rgb(100, 100, 100);/* Dimgray */
position: relative;
/* this is to keep the style of these element's border consistent on some browsers (like Firefox) */
border-width: 2px 0 0 2px;
border-color: rgba(0, 0, 0, 0.3) rgb(100, 100, 100) rgb(100, 100, 100) rgba(0, 0, 0, 0.3);
display: inline-block;
}
#dropdown-clue, #wanted-level-rating-widget-clue, #to-improve, #review {
position: relative;
height: 17px;
width: 7.5px;
display: inline-block;
}
.same-line, .wanted-level-rating-widget {
width: 76.293%;
margin: 15px 15px -16px 200px;
height: 2.75rem;
padding: 1.5rem 0.75rem;
text-align: center;
display: inline-block;
position: relative;
}
#dropdown, #dropdown-2nd {
margin: auto auto auto 169.5px;
/* added these two because of vscode's rich text editor differentiating Behavior */
width: 85.347%;
height: 2.5rem;
}
.wanted-level-widget-p {
width: 15.005%;
margin-right: -13px;
}
.to-improve-p{
width: 38%;
margin-right: 50px;
}
/* Thanks to coding nepal for this awesome star rating widget
https://youtu.be/dMRj7_b8aiI */
.wanted-level-rating-widget {
margin: 15px 0px 15px 0px;
padding: 1rem 0rem;
position: relative;
}
.wanted-level-rating-widget input {
display: none;
}
.wanted-level-rating-widget label {
font-size: 50px;
line-height: 2.75rem;
color: silver;
margin: 0 5px;
-webkit-text-stroke: 1px black;
}
.wanted-level-rating-widget label:before {
content: "★";
}
.wanted-level-rating-widget input:checked ~ label {
color: white;
text-shadow: 1px 1px rgb(0, 0, 0);
}
.wanted-level-rating-widget:not(:checked) > label:hover,
.wanted-level-rating-widget:not(:checked) > label:hover ~ label {
color:white;
}
.wanted-level-rating-widget input:checked > label:hover,
.wanted-level-rating-widget input:checked > label:hover ~ label {
color: white;
text-shadow: 1px 1px rgb(0, 0, 0);
}
.wanted-level-rating-widget .hidden {
position: absolute;
content: '';
left: 47%;
transform: translateX(-50%);
bottom: -30px;
display: none;
}
.wanted-level-rating-widget #four:checked ~ .hidden {
display: block;
}
.input-textarea {
min-height: 120px;
/* Different width value from freeCodeCamp's */
width: 98%;
padding: 0.625rem;
resize: vertical;
position: relative;
}
button[type="submit"] {
display: block;
width: 50%;
padding: 0.3rem;
background: white;
color: black;
cursor: pointer;
margin-left: 25%;
margin-bottom: 0;
font-size: 23px;
border: 2.5px white solid;
font-family: "DIN 1451 Mittelschrift";
}
/* submit button Border Inset on Hover */
/* thanks to Hover.css v2
https://ianlunn.github.io/Hover/ */
.hvr-border-inset {
display: inline-block;
vertical-align: middle;
-webkit-transform: perspective(1px) translateZ(0);
transform: perspective(1px) translateZ(0);
border: 2.5px black solid;
border-bottom-color: white;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
-webkit-transition-property: border;
transition-property: border;
}
.hvr-border-inset:hover,
.hvr-border-inset:focus,
.hvr-border-inset:active {
border: 2.5px black solid;
color: rgba(221, 160, 27, 1);
border-bottom-color: white;
}
fieldset:last-of-type, .form-block:last-of-type{
margin-bottom: 0;
padding-bottom: 0;
}
/* Form Over */
/* Cross Browser Compatibility */
/** Mozilla Firefox */
@-moz-document url-prefix() {
#game-title, #game-title-desc{
-webkit-text-stroke: .7px white;
}
#game_title_easter_egg {
-webkit-text-stroke: .8px white;
}
body {
background-position: 81.5%;
}
.basic-info, #dropdown, #dropdown-2nd, .input-textarea {
border-color: rgba(0, 0, 0, 1) rgb(100, 100, 100) rgb(100, 100, 100) rgba(0, 0, 0, 1);
}
}
/** Safari */
/*@media not all and (min-resolution: 0.001dpcm) {
div
display: block;
}
}
/** Chrominum */
/*@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
div:not(*:root) {
display: block;
*/
}
}