From 66dee392552fb45c0befe6f456367fcb13c3fa0d0e4468718dfa2a1d33faaae2 Mon Sep 17 00:00:00 2001
From: Nyx
Date: Wed, 26 Mar 2025 01:48:42 -0500
Subject: [PATCH] add more personal stuff, format
---
site/app.py | 26 ++--
site/templates/assets/index.css | 54 ++++-----
site/templates/index.j2 | 203 ++++++++++++++++----------------
site/templates/todo.html | 38 +++---
4 files changed, 161 insertions(+), 160 deletions(-)
diff --git a/site/app.py b/site/app.py
index 868e5aa..4857d1e 100644
--- a/site/app.py
+++ b/site/app.py
@@ -8,21 +8,21 @@ apiRoot = "https://api.listenbrainz.org"
user = "everypizza"
buttons = [
- ("assets/88x31s/benjae.nekoweb.org.gif", "https://benjae.nekoweb.org"),
- ("assets/88x31s/freetards.xyz.gif", "https://freetards.xyz"),
- ("assets/88x31s/fsky.io.webp", "https://fsky.io"),
- ("assets/88x31s/purplebored.pl.gif", "https://purplebored.pl"),
- ("assets/88x31s/squarebowl.club.gif", "https://squarebowl.club"),
- ("assets/88x31s/synth.download.svg", "https://synth.download"),
- ("assets/88x31s/telepath.im.png", "https://telepath.im"),
- ("assets/88x31s/voxel.fsky.io.webp", "https://voxel.fsky.io"),
- ("assets/88x31s/zayd.fsky.io.png", "https://zayd.fsky.io"),
-]
+ ("assets/88x31s/benjae.nekoweb.org.gif", "https://benjae.nekoweb.org"),
+ ("assets/88x31s/freetards.xyz.gif", "https://freetards.xyz"),
+ ("assets/88x31s/fsky.io.webp", "https://fsky.io"),
+ ("assets/88x31s/purplebored.pl.gif", "https://purplebored.pl"),
+ ("assets/88x31s/squarebowl.club.gif", "https://squarebowl.club"),
+ ("assets/88x31s/synth.download.svg", "https://synth.download"),
+ ("assets/88x31s/telepath.im.png", "https://telepath.im"),
+ ("assets/88x31s/voxel.fsky.io.webp", "https://voxel.fsky.io"),
+ ("assets/88x31s/zayd.fsky.io.png", "https://zayd.fsky.io"),
+ ]
nyxbuttons = [
- ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"),
- ("assets/88x31s/nyx.everypizza.im-2.png", "https://nyx.everypizza.im"),
-]
+ ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"),
+ ("assets/88x31s/nyx.everypizza.im-2.png", "https://nyx.everypizza.im"),
+ ]
app = Flask(__name__)
diff --git a/site/templates/assets/index.css b/site/templates/assets/index.css
index 4a90c87..197b5b2 100644
--- a/site/templates/assets/index.css
+++ b/site/templates/assets/index.css
@@ -1,37 +1,37 @@
@media (prefers-color-scheme: dark) {
- * {
- background-color: black;
- color: white;
- }
- html {
- background-image:
- radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
- radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
- radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px),
- radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 30px);
- background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
- background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
- }
+ * {
+ background-color: black;
+ color: white;
+ }
+ html {
+ background-image:
+ radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
+ radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
+ radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px),
+ radial-gradient(rgba(255,255,255,.4), rgba(255,255,255,.1) 2px, transparent 30px);
+ background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
+ background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
+ }
}
@media (prefers-color-scheme: light) {
- * {
- background-color: white;
- color: black;
- }
+ * {
+ background-color: white;
+ color: black;
+ }
}
h1, h2, h3 {
- font-family: monospace;
+ font-family: monospace;
}
body {
- font-family: system-ui;
- padding: 1%;
- font-size: 18px;
- max-width: 75em;
- margin: auto;
- width: 75%;
- border: 3px solid lightgrey;
- border-radius: 5px;
-}
\ No newline at end of file
+ font-family: system-ui;
+ padding: 1%;
+ font-size: 18px;
+ max-width: 75em;
+ margin: auto;
+ width: 75%;
+ border: 3px solid lightgrey;
+ border-radius: 5px;
+}
diff --git a/site/templates/index.j2 b/site/templates/index.j2
index 7105277..1d6cccc 100644
--- a/site/templates/index.j2
+++ b/site/templates/index.j2
@@ -1,110 +1,111 @@
-
- Nyx's personal site
-
-
-
+
+ Nyx's personal site
+
+
+
-
-
- hello, visitor number {{ visitor }} ! this one is glad to see you.
-
-
-
- this counter doesn't use javascript, it's just a text file with a digit in it that gets increased by 1 on every page load.
-
-
-
- Nyx Tutt
-
-
- about it
-
+
- it is a cat-robot-girl-thing. it likes to speak about itself in the third person.
- it likes linux and uses nixos. it lives in texas, but hates it here.
-
-
- contact
-
-
- this one has a few forms of contact:
-
-
-
- links
-
-
-
-
-
- pages
-
-
-
-
-
- now playing
-
-
- {{ np }}
-
-
- data is from listenbrainz.
-
-
-
- 88x31s
-
-
- {% for image, link in buttons %}
-
-
-
- {% endfor %}
-
-
- this one's 88x31
-
-
- {% for image, link in nyxbuttons %}
-
-
-
- {% endfor %}
+ hello, visitor number {{ visitor }} ! this one is glad to see you.
+
+
+ this counter doesn't use javascript, it's just a text file with a digit in it that gets increased by 1 on every page load.
+
+
+
+ Nyx Tutt
+
+
+ about it
+
+
+ it is a cat-robot-girl-thing. it likes to speak about itself in the third person.
+ it likes linux and uses nixos. it lives in texas, but hates it here. its favorite
+ color is pink.
+
+
+ contact
+
+
+ this one has a few forms of contact:
+
+
+
+ links
+
+
+
+
+
+ pages
+
+
+
+
+
+ now playing
+
+
+ {{ np }}
+
+
+ data is from listenbrainz.
+
+
+
+ 88x31s
+
+
+ {% for image, link in buttons %}
+
+
+
+ {% endfor %}
+
+
+ this one's 88x31
+
+
+ {% for image, link in nyxbuttons %}
+
+
+
+ {% endfor %}
+
diff --git a/site/templates/todo.html b/site/templates/todo.html
index 5bc6319..e3edc96 100644
--- a/site/templates/todo.html
+++ b/site/templates/todo.html
@@ -1,26 +1,26 @@
-
- Nyx's personal site
-
-
-
+
+ Nyx's personal site
+
+
+
- go back home
-
- to-do
-
-
-
-
- host more stuff
-
-
- look into more optimizations
-
-
-
+ go back home
+
+ to-do
+
+
+
+
+ host more stuff
+
+
+ look into more optimizations
+
+
+