commit bfa12f1b1e446a1a027e9f49d2ba1bcce3c21410
Author: tri <tri@thac.loan>
Date:   Sat Sep 27 12:18:48 2025 +0700

    dark mode

diff --git a/Makefile b/Makefile
index 3c0c40d..b2abda2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
-watch:
-	find www | entr -rc make deploy
+serve:
+	python -m http.server -d www -b 127.0.0.1
 
 deploy:
 	rsync -avz --no-owner --no-group ./www/ pleroma:/www/thac.loan/
+
+watch:
+	find www | entr -rc make deploy
+
diff --git a/www/elitedesk.jpg b/www/elitedesk.jpg
deleted file mode 100644
index 2020533..0000000
Binary files a/www/elitedesk.jpg and /dev/null differ
diff --git a/www/elitedesk.png b/www/elitedesk.png
new file mode 100644
index 0000000..43009bc
Binary files /dev/null and b/www/elitedesk.png differ
diff --git a/www/index.html b/www/index.html
index d99b728..5b2afde 100644
--- a/www/index.html
+++ b/www/index.html
@@ -9,7 +9,7 @@
   <body>
     <h1>thac.loan</h1>
     <p>
-      <img src="elitedesk.jpg" alt="elitedesk product placement" />
+      <img src="elitedesk.png" alt="elitedesk product placement" />
     </p>
     <p>
       thacloan is a used <b>HP EliteDesk 800 G1 DM</b>
diff --git a/www/style.css b/www/style.css
index f19063e..d262160 100644
--- a/www/style.css
+++ b/www/style.css
@@ -2,3 +2,18 @@ img {
   max-width: 100%;
   max-height: 100%;
 }
+
+@media (prefers-color-scheme: dark) {
+  html {
+    background-color: #222;
+    color: #ddd;
+    font-family: sans-serif;
+  }
+
+  a {
+    color: cornflowerblue;
+  }
+  a:visited {
+    color: violet;
+  }
+}