From 181c9fbad955517e3f7a004d87d5c99ceaa57df4 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Fri, 5 Sep 2025 23:08:10 -0400 Subject: [PATCH] Cardify the correspondent pages --- public_html/css/hpr.css | 28 +++++- templates/content-correspondent.tpl.html | 120 ++++++++++++----------- 2 files changed, 91 insertions(+), 57 deletions(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index f1a69bc..8a75302 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -43,6 +43,7 @@ https://creativecommons.org/publicdomain/ --link-secondary: #a8f8ff; --link-secondary-hover: #f9e9c2; --link-title-color: #00003e; + --primary-content-line-height: 1.45; --font-family-hpr: Verdana, Arial, Helvetica, sans-serif; /* 1em/1.5 OpenDyslexic, */; --font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem); @@ -307,7 +308,7 @@ p.meta span label { article > p, #main_content > p, #main_content > section > p { - line-height: 1.45; + line-height: var(--primary-content-line-height); } .lane { display: flex; @@ -656,6 +657,28 @@ fieldset > table td input[type="radio"] { #hosts td > img { border-radius: 0.25rem; } +#host { + justify-content: flex-start; + align-items: end; + gap: 0; +} +#host_id img { + border-radius: 0.25rem; +} +#host_meta { + flex: 1; + padding: 0 0 0.75rem 0; +} +#host_meta > div, +#host_meta > p { + margin: 0.25rem 0; + line-height: var(--primary-content-line-height); +} +#host_meta > div > p { + display: inline-block; + margin: 0; + padding: 0; +} .series-description { margin: 0; padding: 0; @@ -764,6 +787,9 @@ fieldset > table td input[type="radio"] { flex: 1 1 45%; max-width: 45%; } + #host { + gap: 1rem; + } } @media (min-width: 900px) { #podcast_lane > .lane, diff --git a/templates/content-correspondent.tpl.html b/templates/content-correspondent.tpl.html index e534255..7f9edbc 100644 --- a/templates/content-correspondent.tpl.html +++ b/templates/content-correspondent.tpl.html @@ -4,67 +4,75 @@ - - - - - - - + %--> + + + + + + + - - - - - - - - + %--> + + + + + + + - + -
- -

Correspondent

-

-


- :

-
-

- -

- + +

Correspondent

+
+
+

+


+ :

+
+
+

+
+

+
+
+
+ +
+ +

+
+ + +
- -

- - - - -

- -
-

Become a Correspondent

+ +

+
+ + +

Become a Correspondent