aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config.yml2
-rw-r--r--_includes/footer.html2
-rw-r--r--hall-of-fame.md4
-rw-r--r--index.html6
-rw-r--r--style.css16
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 <a rel="me" href="https://mastodon.bsd.cafe/@bt">Mastodon</a><br/>
Latest sites via <a href="/atom.xml">atom.xml</a> // Latest articles via <a href="/posts.xml">posts.xml</a></p>
<br/>
- <img src="/public/images/poweredby-openbsd.gif" alt="Powered by OpenBSD">
- <br/>
</div>
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
</thead>
<tbody id="container">
{% for item in websites %}
- <tr>
+ {% 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 %}
+ <tr style="--fill:{{ item.size | times: 100.0 | divided_by: 1024.0 }}%;--c:{{ c }}">
<td>
{% if item.http == true %}
<a href="http://{{ item.domain }}">
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;
}