From 1f5ff21b34235e190dc5e52639cebce72925fc12 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 4 Sep 2022 00:05:32 -0400 Subject: [PATCH] theme: Go full Acme/Plan 9 A few commits ago, I explored the idea of using Acme's cream colored background for my site. It didn't feel quite right, missing the other elements of the Acme UI. So I settled on just using it for code blocks. It was a fun challenge writing the CSS to mock the entire Acme window (tag and all), and I'm really happy with how it turned out. I feel like I've spent enough hours in Acme to claim to be a fan, and my site _did_ need more color than the black on white. --- bin/gencrumbs | 8 +++----- bin/genpage | 43 ++++++++++++++++++------------------------- bin/jam-index.sh | 47 ++++++++++++++++++----------------------------- www/index.txt | 16 +++++++++++----- www/jam-tuesday/index.html | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------- www/license.txt | 7 ++++++- www/style.css | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ www/uses.txt | 2 ++ 8 files changed, 202 insertions(+), 103 deletions(-) create mode 100644 www/style.css diff --git a/bin/gencrumbs b/bin/gencrumbs index 18bd815..e702ff8 100755 --- a/bin/gencrumbs +++ b/bin/gencrumbs @@ -14,13 +14,11 @@ FILE=$(readlink -f "$1") rel=${FILE##$REPO/www} parts=$(echo "$rel" | sed 's#/# #g') -printf "/home/alex" -curr="" +printf "/home/alex" for p in $parts; do if [ "$p" = "index.html" ]; then continue fi - curr="$curr/$p" - printf " / $p" + printf "/$p" done -echo "" +echo diff --git a/bin/genpage b/bin/genpage index b8f4f7e..4f7aaa3 100755 --- a/bin/genpage +++ b/bin/genpage @@ -16,41 +16,34 @@ cat <