Skip to content

Commit 763a739

Browse files
CSS Update
- brought back old jet yeh's unblocked games font - organized css files so they made more sense - still has many issues but will continue to work on them, such as the many lines of css that currently do nothing
1 parent dafc3d8 commit 763a739

6 files changed

Lines changed: 347 additions & 373 deletions

File tree

css/index.css

Lines changed: 12 additions & 314 deletions
Original file line numberDiff line numberDiff line change
@@ -1,134 +1,3 @@
1-
@import url('https://fonts.googleapis.com/css?family=Josefin+Sans&display=swap');
2-
3-
body {
4-
background-color: #3D3D3D;
5-
margin: 0;
6-
padding: 0;
7-
}
8-
9-
*{
10-
margin: 0;
11-
padding: 0;
12-
list-style: none;
13-
text-decoration: none;
14-
font-family: 'Press Start 2P';
15-
}
16-
17-
.wrapper {
18-
display: flex;
19-
flex-wrap: nowrap;
20-
position: relative;
21-
}
22-
23-
.wrapper .sidebar {
24-
width: 200px;
25-
height: 100%;
26-
background: rgb(24, 24, 24, .8);
27-
backdrop-filter: blur(2.5px);
28-
padding: 30px 0px;
29-
position: fixed;
30-
}
31-
32-
.wrapper .sidebar h2 {
33-
color: #aaaaaa;
34-
text-transform: uppercase;
35-
text-align: center;
36-
margin-bottom: 30px;
37-
}
38-
39-
.wrapper .sidebar ul li {
40-
text-align: center;
41-
padding: 15px;
42-
}
43-
44-
.wrapper .sidebar ul a li {
45-
color: white;
46-
display: block;
47-
text-align: center;
48-
padding: 16px 20px;
49-
font-size: initial;
50-
cursor: pointer;
51-
border: none;
52-
transition: background-color 0.3s ease, color 0.3s ease;
53-
}
54-
55-
.wrapper .sidebar ul a li:hover {
56-
background-color: #252525;
57-
color: white;
58-
}
59-
60-
.wrapper .sidebar ul a li .fas {
61-
width: 25px;
62-
}
63-
64-
.wrapper .sidebar ul a li.selectedButton {
65-
background: rgb(158, 158, 158);
66-
color: black;
67-
}
68-
69-
.wrapper .sidebar ul li:hover {
70-
background-color: #aaaaaa;
71-
}
72-
73-
.sidebar {
74-
display: flex;
75-
flex-direction: column;
76-
justify-content: flex-start;
77-
align-items: center;
78-
height: 100%;
79-
position: fixed;
80-
width: 200px;
81-
background: rgba(24, 24, 24, 0.8);
82-
backdrop-filter: blur(2.5px);
83-
padding: 30px 0px;
84-
box-sizing: border-box;
85-
}
86-
87-
.sidebar ul {
88-
display: flex;
89-
flex-direction: column;
90-
gap: 15px;
91-
}
92-
93-
.main_content {
94-
flex-grow: 1;
95-
margin-left: 200px;
96-
transition: margin-left 0.3s ease, width 0.3s ease;
97-
}
98-
99-
@media (max-width: 768px) {
100-
.sidebar {
101-
display: none;
102-
}
103-
104-
.main_content {
105-
margin-left: 0;
106-
width: 100%;
107-
transition: margin-left 0.3s ease, width 0.3s ease;
108-
}
109-
}
110-
111-
.wrapper .main_content {
112-
transition: margin-left 0.3s ease, width 0.3s ease;
113-
}
114-
115-
.wrapper .main_content .header {
116-
padding: 20px;
117-
background: #fff;
118-
color: #717171;
119-
border-bottom: 1px solid #e0e4e8;
120-
}
121-
122-
.wrapper .main_content .info {
123-
margin: 20px;
124-
color: #717171;
125-
line-height: 25px;
126-
}
127-
128-
.wrapper .main_content .info div {
129-
margin-bottom: 20px;
130-
}
131-
1321
.alert {
1332
padding: 20px;
1343
background-color: rgb(166,20,20, .6);
@@ -185,40 +54,6 @@ body {
18554
font-size: 0px;
18655
}
18756

188-
.title {
189-
color: #aaaaaa;
190-
text-align: center;
191-
margin-top: 40px;
192-
padding: 0 15px;
193-
line-height: 1.2;
194-
word-wrap: break-word;
195-
overflow-wrap: anywhere;
196-
}
197-
198-
@media (max-width: 768px) {
199-
.title {
200-
text-align: center;
201-
font-size: 55px;
202-
line-height: 1.2;
203-
}
204-
}
205-
206-
@media (max-width: 480px) {
207-
.title {
208-
text-align: center;
209-
line-height: 1.2;
210-
padding: 0 10px;
211-
}
212-
}
213-
214-
h1 {
215-
font-family: 'Open Sans', sans-serif;
216-
font-size: 65px;
217-
font-weight: 400;
218-
top: 250px;
219-
text-transform: uppercase;
220-
}
221-
22257
.right-col {
22358
position: fixed;
22459
bottom: 0px;
@@ -284,19 +119,6 @@ h1 {
284119
color: white;
285120
}
286121

287-
.selectedButton {
288-
background: rgb(158, 158, 158);
289-
backdrop-filter: blur(2.5px);
290-
color: black;
291-
border: none;
292-
display: inline-block;
293-
text-align: center;
294-
padding: 16px 20px;
295-
text-decoration: none;
296-
font-size: initial;
297-
cursor: pointer;
298-
}
299-
300122
.selected {
301123
background: rgb(158, 158, 158);
302124
backdrop-filter: blur(2.5px);
@@ -338,144 +160,20 @@ h4 {
338160
text-align: center;
339161
}
340162

341-
.left-col {
342-
margin: auto 0;
343-
opacity: 1;
344-
transform: translateY(0);
345-
transition: opacity 0.3s ease, transform 0.3s ease;
346-
}
347-
348-
.left-col img {
349-
display: block;
350-
max-width: 100%;
351-
height: auto;
352-
}
353-
#go-to-top-button {
354-
margin-bottom: auto;
355-
cursor: pointer;
356-
}
357-
358-
@media (max-height: 600px) {
359-
.left-col {
360-
opacity: 0;
361-
transform: translateY(20px);
362-
pointer-events: none;
363-
}
364-
}
365-
366-
#loading-bar {
367-
position: fixed;
368-
top: 0;
369-
left: 0;
370-
height: 1.5px;
371-
width: 0%;
372-
background-color: red;
373-
z-index: 9999;
374-
transition: width 0.2s ease;
375-
}
376-
377-
.settings-column {
378-
float: left;
379-
width: 25.00%;
380-
display: table-cell;
381-
flex-direction: column;
382-
align-items: center;
383-
margin: 10px;
384-
}
385-
386-
.settings-content {
387-
display: flex;
388-
flex-direction: column;
389-
align-items: center;
390-
justify-content: center;
391-
background: rgba(59, 59, 59, 0.5);
392-
color: #f5f5f5;
393-
padding: 15px;
394-
border-radius: 8px;
395-
text-align: center;
396-
overflow: hidden;
397-
max-width: 300px;
398-
word-break: break-word;
399-
line-height: 1.6;
400-
font-size: 16px;
401-
margin: 8px 0;
402-
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
403-
transition: background 0.3s ease, transform 0.2s ease;
404-
}
405-
406-
.settings-content h4 {
407-
font-size: 16px;
408-
margin: 0;
163+
.selectedButton {
164+
background: rgb(158, 158, 158);
165+
backdrop-filter: blur(2.5px);
166+
color: black;
167+
border: none;
168+
display: inline-block;
409169
text-align: center;
410-
line-height: 1.4;
411-
overflow: hidden;
412-
}
413-
414-
.settings-content:hover {
415-
background: rgba(59, 59, 59, 0.8);
416-
transform: scale(1.02);
417-
}
418-
419-
.settings-content:active {
420-
transform: scale(0.98);
421-
}
422-
423-
.settings-content input[type="checkbox"] {
424-
display: none;
425-
}
426-
427-
.settings-content label {
428-
display: inline-flex;
429-
align-items: center;
430-
gap: 8px;
431-
}
432-
433-
#gc-disguise-toggle,
434-
#christmas-theme-toggle {
435-
display: none;
436-
}
437-
438-
/* Shared label styling */
439-
label[for="gc-disguise-toggle"],
440-
label[for="christmas-theme-toggle"] {
441-
display: inline-flex;
442-
align-items: center;
443-
gap: 10px;
444-
position: relative;
445-
padding-left: 30px;
170+
padding: 16px 20px;
171+
text-decoration: none;
172+
font-size: initial;
446173
cursor: pointer;
447174
}
448175

449-
/* Checkbox box */
450-
label[for="gc-disguise-toggle"]::before,
451-
label[for="christmas-theme-toggle"]::before {
452-
content: "";
453-
position: absolute;
454-
left: 0;
455-
top: 50%;
456-
transform: translateY(-50%);
457-
width: 20px;
458-
height: 20px;
459-
background: rgba(255, 255, 255, 0.2);
460-
border: 2px solid #f5f5f5;
461-
border-radius: 4px;
462-
box-sizing: border-box;
463-
transition: background 0.3s ease, border-color 0.3s ease;
464-
}
465-
466-
/* Checked style */
467-
#gc-disguise-toggle:checked + label::before,
468-
#christmas-theme-toggle:checked + label::before {
469-
background: #00c853;
470-
border-color: #00c853;
471-
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17l-4.24-4.24-1.41 1.41L9 19 21 7 19.59 5.59 9 16.17z"/></svg>');
472-
background-size: 16px 16px;
473-
background-repeat: no-repeat;
474-
background-position: center;
475-
}
476-
477-
/* Optional: focus outline */
478-
#gc-disguise-toggle:focus + label::before,
479-
#christmas-theme-toggle:focus + label::before {
480-
outline: 2px solid rgba(255, 255, 255, 0.5);
176+
.selectedButton:hover {
177+
background-color: #aaaaaa;
178+
color: black;
481179
}

0 commit comments

Comments
 (0)