Skip to content

Commit 5794519

Browse files
author
Jack Arnold
committed
Formatting
1 parent 2fa5c00 commit 5794519

18 files changed

Lines changed: 2115 additions & 2099 deletions

.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 999999,
3+
"tabWidth": 3
4+
}

.vscode/launch.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5-
"version": "0.2.0",
6-
"configurations": [
7-
{
8-
"type": "chrome",
9-
"request": "launch",
10-
"name": "Launch Chrome against localhost",
11-
"url": "http://localhost:8080",
12-
"webRoot": "${workspaceFolder}"
13-
}
14-
]
15-
}
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:8080",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}

404.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1">
6-
<meta name="robots" content="noindex">
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<meta name="robots" content="noindex" />
77
<title>Jet Yeh's | 404</title>
8-
<link rel='icon' href="/img/favicon-32x32.png">
9-
<link rel="stylesheet" href="/css/404.css">
10-
<link rel="stylesheet" href="/css/style.css">
8+
<link rel="icon" href="/img/favicon-32x32.png" />
9+
<link rel="stylesheet" href="/css/404.css" />
10+
<link rel="stylesheet" href="/css/style.css" />
1111
</head>
1212
<body>
1313
<section class="notFound">
1414
<div class="img">
15-
<img style="width:600px;" src="/img/404.png" alt="icon" />
15+
<img style="width: 600px" src="/img/404.png" alt="icon" />
1616
</div>
1717
<div class="text">
1818
<h1>404</h1>

css/404.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
1+
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
22

33
* {
44
padding: 0;
55
margin: 0;
66
box-sizing: border-box;
7-
font-family: 'Press Start 2P';
8-
color: #FFFFFF;
7+
font-family: "Press Start 2P";
8+
color: #ffffff;
99
text-align: center;
1010
}
1111

css/gameGrid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454

5555
.show {
5656
display: block;
57-
}
57+
}

css/index.css

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.alert {
22
padding: 20px;
3-
background-color: rgb(166,20,20, .6);
3+
background-color: rgb(166, 20, 20, 0.6);
44
backdrop-filter: blur(2.5px);
55
color: white;
66
margin-bottom: 15px;
@@ -12,7 +12,7 @@
1212
}
1313

1414
.closebtn {
15-
top:100px;
15+
top: 100px;
1616
margin-left: 15px;
1717
color: white;
1818
font-weight: bold;
@@ -24,7 +24,7 @@
2424
}
2525

2626
.closebtn:hover {
27-
color: rgb(48, 48, 48);
27+
color: rgb(48, 48, 48);
2828
}
2929

3030
#progress {
@@ -86,20 +86,20 @@
8686
list-style-type: none;
8787
margin-top: -15px;
8888
padding: 0;
89-
background: rgb(24, 24, 24, .7);
89+
background: rgb(24, 24, 24, 0.7);
9090
backdrop-filter: blur(2.5px);
9191
font-size: 0;
9292
list-style-type: none;
9393
top: 0;
94-
z-index:300;
94+
z-index: 300;
9595
}
9696

9797
.nav {
9898
display: inline-block;
9999
}
100-
100+
101101
.selectButton {
102-
background: rgba(24, 24, 24, 0.00);
102+
background: rgba(24, 24, 24, 0);
103103
color: white;
104104
border: none;
105105
display: inline-block;
@@ -108,7 +108,7 @@
108108
text-decoration: none;
109109
font-size: initial;
110110
cursor: pointer;
111-
z-index:300;
111+
z-index: 300;
112112
}
113113

114114
.selectButton:hover {
@@ -133,22 +133,22 @@
133133
display: inline-block;
134134
}
135135

136-
input[type=text] {
136+
input[type="text"] {
137137
outline: none;
138138
width: 130px;
139-
float:top;
139+
float: top;
140140
box-sizing: border-box;
141141
border: 2px solid darkgrey;
142142
font-size: 16px;
143143
background-color: #ccc;
144-
background-image: url('https://img.icons8.com/material-outlined/24/000000/search--v1.png');
145-
background-position: 10px 10px;
144+
background-image: url("https://img.icons8.com/material-outlined/24/000000/search--v1.png");
145+
background-position: 10px 10px;
146146
background-repeat: no-repeat;
147147
padding: 12px 20px 12px 48px;
148148
transition: width 0.4s ease-in-out;
149149
}
150150

151-
input[type=text]:focus {
151+
input[type="text"]:focus {
152152
width: 100%;
153153
}
154154

@@ -174,4 +174,4 @@ h4 {
174174
.selectedButton:hover {
175175
background-color: #aaaaaa;
176176
color: black;
177-
}
177+
}

css/seasonal.css

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Christmas theme style */
22
body.christmas-theme body {
3-
background: #00873E;
3+
background: #00873e;
44
}
55

66
body.christmas-theme .title {
@@ -9,19 +9,13 @@ body.christmas-theme .title {
99
}
1010

1111
body.christmas-theme .sidebar {
12-
background: repeating-linear-gradient(
13-
45deg,
14-
rgba(255, 59, 63, 0.7),
15-
rgba(255, 59, 63, 0.7) 10px,
16-
rgba(255, 255, 255, 0.7) 10px,
17-
rgba(255, 255, 255, 0.7) 20px
18-
);
12+
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);
1913
border-right: 5px solid #ffcc00; /* Gold border to enhance */
2014
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Adds a soft glowing effect */
2115
}
2216

2317
body.christmas-theme .sidebar::after {
24-
content: 'Merry Christmas!';
18+
content: "Merry Christmas!";
2519
position: absolute;
2620
bottom: 10px;
2721
left: 0;
@@ -59,7 +53,7 @@ body.christmas-theme .sidebar h2 {
5953
}
6054

6155
body.christmas-theme .sidebar h2::after {
62-
content: '';
56+
content: "";
6357
position: absolute;
6458
bottom: -10px;
6559
left: 50%;
@@ -68,25 +62,19 @@ body.christmas-theme .sidebar h2::after {
6862
height: 2px;
6963
background: linear-gradient(90deg, red, green);
7064
}
71-
65+
7266
body.christmas-theme .wrapper .sidebar ul a li.selectedButton {
7367
background: rgb(210, 38, 41); /* Highlighted background for selected button */
7468
color: white;
7569
}
7670

7771
body.christmas-theme::-webkit-scrollbar-thumb {
78-
background: repeating-linear-gradient(
79-
45deg,
80-
rgba(255, 59, 63, 0.7),
81-
rgba(255, 59, 63, 0.7) 10px,
82-
rgba(255, 255, 255, 0.7) 10px,
83-
rgba(255, 255, 255, 0.7) 20px
84-
);
72+
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);
8573
border-left: 5px solid #ffcc00; /* Gold border to enhance */
8674
}
8775

88-
body.christmas-theme::-webkit-scrollbar-track {
89-
background-color: #00873E;
76+
body.christmas-theme::-webkit-scrollbar-track {
77+
background-color: #00873e;
9078
}
9179

9280
body.christmas-theme .alert {
@@ -108,10 +96,10 @@ body.christmas-theme .selectedButton {
10896
background: #00d161;
10997
}
11098

111-
body.christmas-theme input[type=text] {
99+
body.christmas-theme input[type="text"] {
112100
border: 2px rgba(255, 255, 255, 0.5);
113101
background-color: rgba(57, 100, 255, 0.5);
114-
background-image: url('https://img.icons8.com/material-outlined/24/000000/search--v1.png');
102+
background-image: url("https://img.icons8.com/material-outlined/24/000000/search--v1.png");
115103
}
116104

117105
body.christmas-theme .settings-content {
@@ -125,7 +113,8 @@ body.christmas-theme .left-col img {
125113
}
126114

127115
@keyframes bounce {
128-
0%, 100% {
116+
0%,
117+
100% {
129118
transform: translateY(0);
130119
}
131120
50% {
@@ -145,4 +134,4 @@ body.christmas-theme .search-bar input[type="text"] {
145134
body.christmas-theme .search-bar input[type="text"]::placeholder {
146135
color: #dddddd; /* Change placeholder text color */
147136
opacity: 1; /* Ensure visibility */
148-
}
137+
}

css/settings.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.settings-column {
22
float: left;
3-
width: 25.00%;
3+
width: 25%;
44
display: table-cell;
55
flex-direction: column;
66
align-items: center;
@@ -102,4 +102,4 @@ label[for="christmas-theme-toggle"]::before {
102102
#gc-disguise-toggle:focus + label::before,
103103
#christmas-theme-toggle:focus + label::before {
104104
outline: 2px solid rgba(255, 255, 255, 0.5);
105-
}
105+
}

css/style.css

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

44
#tsparticles {
55
background: #212121;
@@ -17,14 +17,15 @@
1717
box-sizing: border-box;
1818
text-decoration: none;
1919
list-style: none;
20-
font-family: 'Inter', sans-serif;
20+
font-family: "Inter", sans-serif;
2121
}
2222

2323
body {
2424
background-color: #000000;
2525
}
2626

27-
#loading-bar { /* red load bar at top of screen */
27+
#loading-bar {
28+
/* red load bar at top of screen */
2829
position: fixed;
2930
top: 0;
3031
left: 0;
@@ -65,7 +66,7 @@ body {
6566
.wrapper .sidebar ul li {
6667
text-align: center;
6768
padding: 15px;
68-
}
69+
}
6970

7071
.wrapper .sidebar ul li {
7172
color: white;
@@ -91,7 +92,7 @@ body {
9192
background-color: #aaaaaa;
9293
color: black;
9394
}
94-
95+
9596
.sidebar {
9697
display: flex;
9798
flex-direction: column;
@@ -178,7 +179,7 @@ body {
178179
}
179180

180181
h1 {
181-
font-family: 'Open Sans', sans-serif;
182+
font-family: "Open Sans", sans-serif;
182183
font-size: 65px;
183184
font-weight: 400;
184185
top: 250px;

0 commit comments

Comments
 (0)