Skip to content

Commit 039f5f2

Browse files
authored
remove all comments
1 parent b0f6baa commit 039f5f2

12 files changed

Lines changed: 59 additions & 151 deletions

File tree

404.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
@@ -25,8 +25,6 @@ <h3>BACK TO HOME?</h3>
2525
<script src="/js/disguise.js"></script>
2626
<script type="text/javascript" src="/js/seasonal.js"></script>
2727
</body>
28-
<!--tsParticles-->
2928
<div id="tsparticles"></div>
3029
<script src="https://cdn.jsdelivr.net/npm/tsparticles@3.8.1/tsparticles.bundle.min.js"></script>
31-
<!--tsParticles-->
3230
</html>

css/gameGrid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010

1111
.row > * {
12-
max-width: 300px; /* must be same px count as minmax */
12+
max-width: 300px;
1313
justify-self: center;
1414
}
1515

css/seasonal.css

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Christmas theme style */
21
body.christmas-theme body {
32
background: #00873e;
43
}
@@ -10,8 +9,8 @@ body.christmas-theme .title {
109

1110
body.christmas-theme .sidebar {
1211
background: repeating-linear-gradient(45deg, rgba(255, 59, 63, 0.7), rgba(255, 59, 63, 0.7) 10px, rgba(255, 255, 255, 0.7) 10px, rgba(255, 255, 255, 0.7) 20px);
13-
border-right: 5px solid #ffcc00; /* Gold border to enhance */
14-
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Adds a soft glowing effect */
12+
border-right: 5px solid #ffcc00;
13+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
1514
}
1615

1716
body.christmas-theme .sidebar::after {
@@ -29,16 +28,18 @@ body.christmas-theme .sidebar::after {
2928
}
3029

3130
body.christmas-theme .sidebar ul li {
32-
background: white; /* Black semi-transparent background */
31+
background: white;
3332
color: rgb(210, 38, 41);
3433
border-radius: 5px;
3534
}
3635

3736
body.christmas-theme .sidebar ul li:hover {
3837
background: rgba(255, 255, 255);
39-
color: rgb(210, 38, 41); /* Golden text on hover */
40-
transition: background 0.3s, color 0.3s;
41-
transform: scale(1.1); /* Slight zoom effect */
38+
color: rgb(210, 38, 41);
39+
transition:
40+
background 0.3s,
41+
color 0.3s;
42+
transform: scale(1.1);
4243
}
4344

4445
body.christmas-theme .sidebar h2 {
@@ -64,13 +65,13 @@ body.christmas-theme .sidebar h2::after {
6465
}
6566

6667
body.christmas-theme .wrapper .sidebar ul a li.selectedButton {
67-
background: rgb(210, 38, 41); /* Highlighted background for selected button */
68+
background: rgb(210, 38, 41);
6869
color: white;
6970
}
7071

7172
body.christmas-theme::-webkit-scrollbar-thumb {
7273
background: repeating-linear-gradient(45deg, rgba(255, 59, 63, 0.7), rgba(255, 59, 63, 0.7) 10px, rgba(255, 255, 255, 0.7) 10px, rgba(255, 255, 255, 0.7) 20px);
73-
border-left: 5px solid #ffcc00; /* Gold border to enhance */
74+
border-left: 5px solid #ffcc00;
7475
}
7576

7677
body.christmas-theme::-webkit-scrollbar-track {
@@ -108,8 +109,8 @@ body.christmas-theme .settings-content {
108109
}
109110

110111
body.christmas-theme .left-col img {
111-
border-radius: 50%; /* Circular frame */
112-
background-color: rgba(0, 0, 0, 0.5); /* Optional: Background behind the icon */
112+
border-radius: 50%;
113+
background-color: rgba(0, 0, 0, 0.5);
113114
}
114115

115116
@keyframes bounce {
@@ -127,11 +128,11 @@ body.christmas-theme .left-col img {
127128
}
128129

129130
body.christmas-theme .search-bar input[type="text"] {
130-
color: #dddddd; /* Change placeholder text color */
131-
opacity: 1; /* Ensure visibility */
131+
color: #dddddd;
132+
opacity: 1;
132133
}
133134

134135
body.christmas-theme .search-bar input[type="text"]::placeholder {
135-
color: #dddddd; /* Change placeholder text color */
136-
opacity: 1; /* Ensure visibility */
136+
color: #dddddd;
137+
opacity: 1;
137138
}

css/settings.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
font-size: 16px;
2525
margin: 8px 0;
2626
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
27-
transition: background 0.3s ease, transform 0.2s ease;
27+
transition:
28+
background 0.3s ease,
29+
transform 0.2s ease;
2830
}
2931

3032
.settings-content h4 {
@@ -59,7 +61,6 @@
5961
display: none;
6062
}
6163

62-
/* Shared label styling */
6364
label[for="gc-disguise-toggle"],
6465
label[for="christmas-theme-toggle"] {
6566
display: inline-flex;
@@ -70,7 +71,6 @@ label[for="christmas-theme-toggle"] {
7071
cursor: pointer;
7172
}
7273

73-
/* Checkbox box */
7474
label[for="gc-disguise-toggle"]::before,
7575
label[for="christmas-theme-toggle"]::before {
7676
content: "";
@@ -84,10 +84,11 @@ label[for="christmas-theme-toggle"]::before {
8484
border: 2px solid #f5f5f5;
8585
border-radius: 4px;
8686
box-sizing: border-box;
87-
transition: background 0.3s ease, border-color 0.3s ease;
87+
transition:
88+
background 0.3s ease,
89+
border-color 0.3s ease;
8890
}
8991

90-
/* Checked style */
9192
#gc-disguise-toggle:checked + label::before,
9293
#christmas-theme-toggle:checked + label::before {
9394
background: #00c853;
@@ -98,7 +99,6 @@ label[for="christmas-theme-toggle"]::before {
9899
background-position: center;
99100
}
100101

101-
/* Optional: focus outline */
102102
#gc-disguise-toggle:focus + label::before,
103103
#christmas-theme-toggle:focus + label::before {
104104
outline: 2px solid rgba(255, 255, 255, 0.5);

css/style.css

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"); /* Icons for website */
1+
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
22
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");
33

44
#tsparticles {
@@ -25,7 +25,6 @@ body {
2525
}
2626

2727
#loading-bar {
28-
/* red load bar at top of screen */
2928
position: fixed;
3029
top: 0;
3130
left: 0;
@@ -76,7 +75,9 @@ body {
7675
font-size: initial;
7776
cursor: pointer;
7877
border: none;
79-
transition: background-color 0.3s ease, color 0.3s ease;
78+
transition:
79+
background-color 0.3s ease,
80+
color 0.3s ease;
8081
}
8182

8283
.wrapper .sidebar ul li:hover {
@@ -116,7 +117,9 @@ body {
116117
.main_content {
117118
flex-grow: 1;
118119
margin-left: 200px;
119-
transition: margin-left 0.3s ease, width 0.3s ease;
120+
transition:
121+
margin-left 0.3s ease,
122+
width 0.3s ease;
120123
}
121124

122125
@media (max-width: 768px) {
@@ -127,12 +130,16 @@ body {
127130
.main_content {
128131
margin-left: 0;
129132
width: 100%;
130-
transition: margin-left 0.3s ease, width 0.3s ease;
133+
transition:
134+
margin-left 0.3s ease,
135+
width 0.3s ease;
131136
}
132137
}
133138

134139
.wrapper .main_content {
135-
transition: margin-left 0.3s ease, width 0.3s ease;
140+
transition:
141+
margin-left 0.3s ease,
142+
width 0.3s ease;
136143
}
137144

138145
.wrapper .main_content .header {
@@ -190,7 +197,9 @@ h1 {
190197
margin: auto 0;
191198
opacity: 1;
192199
transform: translateY(0);
193-
transition: opacity 0.3s ease, transform 0.3s ease;
200+
transition:
201+
opacity 0.3s ease,
202+
transform 0.3s ease;
194203
}
195204

196205
.left-col img {

index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
@@ -20,10 +20,10 @@
2020
<h2>Jet Yeh's</h2>
2121

2222
<ul>
23-
<li onclick="location.href='index.html'" class="selectedButton"><i class="fa-solid fa-house"></i> Home</li>
24-
<li onclick="location.href='//github.com/dngaa/dngaa.github.io/issues/new?labels=bug&title=Bug%20Report&body=-%20**Describe%20the%20bug**%20A%20clear%20and%20concise%20description%20of%20what%20the%20bug%20is.%0A-%20**To%20Reproduce**%20Steps%20to%20reproduce%20the%20behavior%3A%0A%20%20%201.%20Go%20to%20...%0A%20%20%202.%20Click%20on%20...%0A%20%20%203.%20Scroll%20down%20to%20...%0A%20%20%204.%20See%20error%0A-%20**Expected%20behavior**%20A%20clear%20and%20concise%20description%20of%20what%20you%20expected%20to%20happen.%0A-%20**Screenshots**%20If%20applicable%2C%20add%20screenshots%20to%20help%20explain%20your%20problem.%0A-%20**Environment**%20(please%20complete%20the%20following%20information)%3A%0A%20%20%20-%20OS%3A%20%0A%20%20%20-%20Browser%3A%20%0A%20%20%20-%20Version%3A%20%0A-%20**Additional%20context**%20Add%20any%20other%20context%20about%20the%20problem%20here.'"><i class="fa-solid fa-bug"></i> Bug Report</li>
25-
<li onclick="location.href='//github.com/dngaa/dngaa.github.io/issues/new?labels=game%20request&title=Game%20Request&body=-%20**Game%20Title**%3A%20The%20name%20of%20the%20game%20you%20would%20like%20to%20request.%0A-%20**Description**%3A%20Why%20do%20you%20want%20this%20game%3F%20What%20features%20or%20gameplay%20elements%20are%20important%3F%0A-%20**Source%20Code**%3A%20If%20available%2C%20please%20provide%20a%20link%20to%20the%20original%20game%20source%20code.%0A-%20**Additional%20Notes**%3A%20Any%20extra%20details%20or%20context%20about%20the%20request.'"><i class="fa-solid fa-ghost"></i> Game Request</li>
26-
<li onclick="location.href='pages/settings.html'"><i class="fa-solid fa-gear"></i> Settings</li>
23+
<li onclick="location.href = 'index.html'" class="selectedButton"><i class="fa-solid fa-house"></i> Home</li>
24+
<li onclick="location.href = '//github.com/dngaa/dngaa.github.io/issues/new?labels=bug&title=Bug%20Report&body=-%20**Describe%20the%20bug**%20A%20clear%20and%20concise%20description%20of%20what%20the%20bug%20is.%0A-%20**To%20Reproduce**%20Steps%20to%20reproduce%20the%20behavior%3A%0A%20%20%201.%20Go%20to%20...%0A%20%20%202.%20Click%20on%20...%0A%20%20%203.%20Scroll%20down%20to%20...%0A%20%20%204.%20See%20error%0A-%20**Expected%20behavior**%20A%20clear%20and%20concise%20description%20of%20what%20you%20expected%20to%20happen.%0A-%20**Screenshots**%20If%20applicable%2C%20add%20screenshots%20to%20help%20explain%20your%20problem.%0A-%20**Environment**%20(please%20complete%20the%20following%20information)%3A%0A%20%20%20-%20OS%3A%20%0A%20%20%20-%20Browser%3A%20%0A%20%20%20-%20Version%3A%20%0A-%20**Additional%20context**%20Add%20any%20other%20context%20about%20the%20problem%20here.'"><i class="fa-solid fa-bug"></i> Bug Report</li>
25+
<li onclick="location.href = '//github.com/dngaa/dngaa.github.io/issues/new?labels=game%20request&title=Game%20Request&body=-%20**Game%20Title**%3A%20The%20name%20of%20the%20game%20you%20would%20like%20to%20request.%0A-%20**Description**%3A%20Why%20do%20you%20want%20this%20game%3F%20What%20features%20or%20gameplay%20elements%20are%20important%3F%0A-%20**Source%20Code**%3A%20If%20available%2C%20please%20provide%20a%20link%20to%20the%20original%20game%20source%20code.%0A-%20**Additional%20Notes**%3A%20Any%20extra%20details%20or%20context%20about%20the%20request.'"><i class="fa-solid fa-ghost"></i> Game Request</li>
26+
<li onclick="location.href = 'pages/settings.html'"><i class="fa-solid fa-gear"></i> Settings</li>
2727
<li id="go-to-top-button"><i class="fa-solid fa-up-long"></i> Top</li>
2828
</ul>
2929

@@ -39,7 +39,7 @@ <h2>Jet Yeh's</h2>
3939

4040
<div class="main_content">
4141
<div class="alert">
42-
<span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
42+
<span class="closebtn" onclick="this.parentElement.style.display = 'none'">&times;</span>
4343
<span id="random-quote">Loading...</span>
4444
</div>
4545
<div class="info">
@@ -62,11 +62,11 @@ <h1>
6262
<input type="text" name="search" value="" autocomplete="off" id="myinput" onkeyup="searchFunction()" placeholder="Search" />
6363
<br />
6464
</div>
65-
<li class="nav"><button name="all" onclick="switchGame('all');" class="selectedButton selectable">All</button></li>
66-
<li class="nav"><button name="new" onclick="switchGame('new');" class="selectButton selectable">New</button></li>
67-
<li class="nav"><button name="flash" onclick="switchGame('flash');" class="selectButton selectable">Flash</button></li>
68-
<li class="nav"><button name="gba" onclick="switchGame('gba');" class="selectButton selectable">GBA</button></li>
69-
<li class="nav"><button name="multi" onclick="switchGame('multi');" class="selectButton selectable">Multiplayer</button></li>
65+
<li class="nav"><button name="all" onclick="switchGame('all')" class="selectedButton selectable">All</button></li>
66+
<li class="nav"><button name="new" onclick="switchGame('new')" class="selectButton selectable">New</button></li>
67+
<li class="nav"><button name="flash" onclick="switchGame('flash')" class="selectButton selectable">Flash</button></li>
68+
<li class="nav"><button name="gba" onclick="switchGame('gba')" class="selectButton selectable">GBA</button></li>
69+
<li class="nav"><button name="multi" onclick="switchGame('multi')" class="selectButton selectable">Multiplayer</button></li>
7070
</ul>
7171

7272
<div class="bodyMain">
@@ -83,10 +83,8 @@ <h1>
8383
<script src="/js/disguise.js"></script>
8484
<script type="text/javascript" src="/js/main.js"></script>
8585
<script type="text/javascript" src="/js/seasonal.js"></script>
86-
<!--tsParticles-->
8786
<div id="tsparticles"></div>
8887
<script src="https://cdn.jsdelivr.net/npm/tsparticles@3.8.1/tsparticles.bundle.min.js"></script>
89-
<!--tsParticles-->
9088
</div>
9189
</div>
9290
</body>

js/disguise.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ document.addEventListener("DOMContentLoaded", () => {
1818

1919
let link = document.querySelector("link[rel~='icon']");
2020
if (link) {
21-
link.href = "/img/favicon-32x32.png"; // default icon
21+
link.href = "/img/favicon-32x32.png";
2222
}
2323
};
2424

@@ -38,7 +38,6 @@ document.addEventListener("DOMContentLoaded", () => {
3838
}
3939
});
4040
} else {
41-
// Fallback if disguise is on but no checkbox exists
4241
if (localStorage.getItem("gcDisguise") === "true") {
4342
enableDisguise();
4443
}

0 commit comments

Comments
 (0)