diff --git a/index.html b/index.html
index bbce3ee..f5b6901 100644
--- a/index.html
+++ b/index.html
@@ -25,10 +25,10 @@
-
-
+
+
-
+
diff --git a/src/serve.js b/src/serve.js
index 8e61260..2a0a63c 100644
--- a/src/serve.js
+++ b/src/serve.js
@@ -2,7 +2,7 @@ const server = Bun.serve({
port: 3000,
async fetch(req) {
const url = new URL(req.url);
- let path = url.pathname === "/" ? "/index.html" : url.pathname;
+ const path = url.pathname === "/" ? "/index.html" : url.pathname;
const file = Bun.file(`.${path}`);
if (await file.exists()) {
return new Response(file);
diff --git a/style.css b/style.css
index 9d56aa8..03b7fd5 100644
--- a/style.css
+++ b/style.css
@@ -1,4 +1,8 @@
-* { margin: 0; padding: 0; box-sizing: border-box; }
+* {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+}
#game {
display: flex;
@@ -50,7 +54,7 @@
#overlay {
position: fixed;
inset: 0;
- background: rgba(0,0,0,0.7);
+ background: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
@@ -58,4 +62,6 @@
font-size: 2rem;
}
-#overlay[hidden] { display: none; }
+#overlay[hidden] {
+ display: none;
+}