From 890af362b82aec2813406e8281ebd3663998376f Mon Sep 17 00:00:00 2001 From: Local Dev Date: Tue, 22 Sep 2026 19:47:52 +0200 Subject: [PATCH] sites: Ubuntu everywhere; opaque bottom rail on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fraunces/Ubuntu font picker is gone. theme.js used to persist the choice in localStorage and paint a pill in the corner; now it just sets data-font-cmp="ubuntu" on so every page that already carries the html[data-font-cmp="ubuntu"] rules in its stylesheet switches to Ubuntu — the Bitcoin Cash brand face — on load. Same one-line runtime on both sirius-x and hephaestus.x theme.js. Mobile bottom nav rail was rgba(11,14,20,.52) with no blur, so whatever body text was scrolled behind it bled straight through the half-transparent bar — first sentence of How it works ended up visually merged with the sidebar icons on hephaestus.x, section headings ran under the Sirius.x rail. Bumped to rgba(...,.94) and added backdrop-filter:blur(12px); content underneath is now covered instead of showing through. Same tweak on all six Sirius.X pages plus Hephaestus.X home. --- admin/index.html | 2 +- brand/index.html | 2 +- docs/index.html | 2 +- index.html | 2 +- js/theme.js | 112 +++++---------------------------------------- theseus/index.html | 2 +- tld.html | 2 +- 7 files changed, 18 insertions(+), 106 deletions(-) diff --git a/admin/index.html b/admin/index.html index 8777b21..8caaf23 100644 --- a/admin/index.html +++ b/admin/index.html @@ -59,7 +59,7 @@ :root{--sn-w:0} body{padding-bottom:64px} .sidenav{top:auto;bottom:0;left:0;right:0;width:100%;height:auto; - padding:4px;flex-direction:row;background:rgba(11,14,20,.52); + padding:4px;flex-direction:row;background:rgba(11,14,20,.94);backdrop-filter:blur(12px); display:flex;justify-content:space-around;overflow-x:auto; /* Hide horizontal scrollbar chrome; icons still swipe/scroll when they overflow. */ scrollbar-width:none;-ms-overflow-style:none} diff --git a/brand/index.html b/brand/index.html index ee56c8b..af4c6be 100644 --- a/brand/index.html +++ b/brand/index.html @@ -64,7 +64,7 @@ :root{--sn-w:0} body{padding-bottom:64px} .sidenav{top:auto;bottom:0;left:0;right:0;width:100%;height:auto; - padding:4px;flex-direction:row;background:rgba(11,14,20,.52); + padding:4px;flex-direction:row;background:rgba(11,14,20,.94);backdrop-filter:blur(12px); display:flex;justify-content:space-around;overflow-x:auto; /* Hide horizontal scrollbar chrome; icons still swipe/scroll when they overflow. */ scrollbar-width:none;-ms-overflow-style:none} diff --git a/docs/index.html b/docs/index.html index ec89ac9..c150c9c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -66,7 +66,7 @@ :root{--sn-w:0} body{padding-bottom:64px} .sidenav{top:auto;bottom:0;left:0;right:0;width:100%;height:auto; - padding:4px;flex-direction:row;background:rgba(11,14,20,.52); + padding:4px;flex-direction:row;background:rgba(11,14,20,.94);backdrop-filter:blur(12px); display:flex;justify-content:space-around;overflow-x:auto; /* Hide the horizontal scrollbar chrome — the icons still scroll if they overflow, they just don't paint a green Windows scroll rail diff --git a/index.html b/index.html index 097acb0..833c60c 100644 --- a/index.html +++ b/index.html @@ -117,7 +117,7 @@ :root{--sn-w:0} body{padding-bottom:64px} .sidenav{top:auto;bottom:0;left:0;right:0;width:100%;height:auto; - padding:4px;flex-direction:row;background:rgba(11,14,20,.52); + padding:4px;flex-direction:row;background:rgba(11,14,20,.94);backdrop-filter:blur(12px); display:flex;justify-content:space-around;overflow-x:auto; /* Hide horizontal scrollbar chrome; icons still swipe/scroll when they overflow. */ scrollbar-width:none;-ms-overflow-style:none} diff --git a/js/theme.js b/js/theme.js index d835a1b..0832a80 100644 --- a/js/theme.js +++ b/js/theme.js @@ -1,104 +1,16 @@ -// Sirius.X font picker — reader chooses between Fraunces (Silent Mode -// family — editorial serif, default) and Ubuntu (Bitcoin Cash brand -// font — humanist sans). Persisted in localStorage under 'sirius-font'. +// Sirius.X font — Ubuntu, always. The Fraunces/Ubuntu toggle was +// removed 2026-09-22; readers on every page get the Bitcoin Cash brand +// font without a picker in the corner. The runtime attribute goes on +// so the same `html[data-font-cmp="ubuntu"]` rules already +// embedded in every page's stylesheet take effect on load. // -// The runtime attribute goes on — pages that want to opt out -// simply omit the include. The actual font-swap CSS is defined per -// page (in each page's