From 20a92070ca397d48cf97f2df0f5dce9ceff88588 Mon Sep 17 00:00:00 2001 From: Daniel Ellison Date: Fri, 7 Aug 2026 05:53:04 -0400 Subject: [PATCH] Simplify the Kia heading --- scripts/build_site.py | 9 ++------- site/style.css | 39 +++------------------------------------ 2 files changed, 5 insertions(+), 43 deletions(-) diff --git a/scripts/build_site.py b/scripts/build_site.py index bc5e059e..dad5aff6 100644 --- a/scripts/build_site.py +++ b/scripts/build_site.py @@ -372,10 +372,9 @@ def apply_kia_threshold(body): "" ) - hero_hand = tengwar.render_line("kia.") farewell_hand = tengwar.render_line("kia. whelani.") - if hero_hand is None or farewell_hand is None: - raise ValueError("kia threshold Tengwar greeting did not render") + if farewell_hand is None: + raise ValueError("kia threshold farewell did not render in Tengwar") encounters = [] for number, (title, section_body) in enumerate( @@ -396,12 +395,8 @@ def apply_kia_threshold(body): page = ( '
' '
' - '
' - '

Phi

' - f'' "

kia

" f'
{opening.group("greeting")}
' - "
" "
" '
' f'{opening.group("statement")}{opening.group("invitation")}' diff --git a/site/style.css b/site/style.css index 2de9ff64..4878bd84 100644 --- a/site/style.css +++ b/site/style.css @@ -343,42 +343,11 @@ footer a { color: var(--sage); } min-width: 0; } .kia-hero { - margin: 0 auto; - max-width: 42rem; - padding: .45rem 0 1.3rem; - text-align: center; -} -.kia-hero-frame { - border-top: 1px solid var(--gold); margin: 0 auto; max-width: 32rem; - padding: 1.55rem 2.6rem 1.95rem; - position: relative; -} -.kia-hero-frame::before, -.kia-hero-frame::after { - background: var(--gold); - content: ""; - height: calc(100% + .8rem); - position: absolute; - top: 0; - width: 1px; -} -.kia-hero-frame::before { left: 0; } -.kia-hero-frame::after { right: 0; } -.kia-hero-label { - color: var(--muted); - font-size: .7rem; - font-weight: 650; - margin: 0; -} -.kia-hero-hand { - color: var(--sage); - font-size: 2.15rem; - line-height: 1; - margin: .7rem auto .35rem; + padding: 2rem 0 1.95rem; + text-align: center; } -.kia-hero-hand .teng-svg { display: block; margin: 0 auto; } .kia-threshold-page .kia-hero h1 { color: var(--ink); font-size: 4.2rem; @@ -575,9 +544,7 @@ footer a { color: var(--sage); } @media (max-width: 560px) { .kia-threshold-page main { padding-top: 2rem; } - .kia-hero { padding-top: .35rem; } - .kia-hero-frame { padding: 1.4rem 1.25rem 1.8rem; } - .kia-hero-hand { font-size: 2rem; } + .kia-hero { padding: 1rem 1.25rem 1.8rem; } .kia-threshold-page .kia-hero h1 { font-size: 3.8rem; } .kia-hero-greeting p { font-size: 1.02rem; } .kia-opening { margin-bottom: 3.2rem; }