From b80acd6f3a97151488f9b47219913c5c67639fa7 Mon Sep 17 00:00:00 2001
From: Bradley Taunt
Date: Fri, 31 Jul 2026 09:24:41 -0400
Subject: Return to NFS setup, include styling for size meter for members table
---
_config.yml | 2 ++
_includes/footer.html | 2 --
hall-of-fame.md | 4 ++--
index.html | 6 +++++-
style.css | 16 +++++++++++++++-
5 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/_config.yml b/_config.yml
index fa2af63..97a7360 100644
--- a/_config.yml
+++ b/_config.yml
@@ -12,6 +12,8 @@ collections:
site_listings:
output: false
+host: 0.0.0.0
+
permalink: /blog/:title/
plugins:
diff --git a/_includes/footer.html b/_includes/footer.html
index fa110ae..c366aae 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -8,6 +8,4 @@
Feel free to reach out via Mastodon
Latest sites via atom.xml // Latest articles via posts.xml
-
-
diff --git a/hall-of-fame.md b/hall-of-fame.md
index f5f2de3..6eec69e 100644
--- a/hall-of-fame.md
+++ b/hall-of-fame.md
@@ -6,9 +6,9 @@ permalink: "hall-of-fame/"
## Join the Hall of Fame
-Help out the 1MB Club by donating to **hosting costs and domain renewals**. In return, you can become a *Hall of Fame* member!
+Help out the 1MB Club by donating directly to **hosting costs and domain renewals**. In return, you can become a *Hall of Fame* member!
-[Buy me a coffee!](https://buymeacoffee.com/wqtmtn7ir)
+[Add funds to the NearlyFreeSpeech.NET account](https://www.nearlyfreespeech.net/contribute/1mb.club)
## What You Get in Return
diff --git a/index.html b/index.html
index 41cf02a..aae37f6 100644
--- a/index.html
+++ b/index.html
@@ -24,7 +24,11 @@ summary: Listing all web pages under 1MB in total size
{% for item in websites %}
-
+ {% assign pct = item.size | times: 100.0 | divided_by: 1024.0 %}
+ {% if item.size < 410 %}{% assign c = "lightgreen" %}
+ {% elsif item.size < 717 %}{% assign c = "orange" %}
+ {% else %}{% assign c = "crimson" %}{% endif %}
+
|
{% if item.http == true %}
diff --git a/style.css b/style.css
index 94e59f4..1fd9b54 100644
--- a/style.css
+++ b/style.css
@@ -131,7 +131,11 @@ table.members {
}
table.members tbody tr {
counter-increment: rowNumber;
- position: relative;
+ border-bottom: 1px solid;
+ background-image: linear-gradient(to right, var(--c) var(--fill), transparent var(--fill));
+ background-position: bottom left;
+ background-size: 100% 2px;
+ background-repeat: no-repeat;
}
table.members tbody tr td:first-child::before {
border-bottom: 1px solid #24272D;
@@ -148,6 +152,9 @@ table.members tbody tr td:first-child::before {
text-align: right;
z-index: -2;
}
+table.members td {
+ background: none !important;
+}
#nav ul {
margin: 1em 0;
@@ -272,6 +279,13 @@ table.members tbody tr td:first-child::before {
border-bottom: 1px solid #ccc;
color: #ccc;
}
+ table.members tbody tr::before {
+ border-color: black;
+ }
+ table.members tbody tr::after {
+ background: black;
+ border-color: black;
+ }
.fame {
color: black;
}
--
cgit v1.3.1
|