From 30cca2bac00b6df0f44d8954e6295aa994088f58 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Sun, 9 Nov 2025 08:50:33 -0500 Subject: [PATCH 1/2] Restore hightlighting to show notes preformatted text This was lost in the transition to the new website design. --- public_html/css/hpr.css | 12 ++++++++++++ templates/content-episode.tpl.html | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index 85bf937..b34bed5 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -54,6 +54,7 @@ https://creativecommons.org/publicdomain/ --font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem); --font-size-emphasis: clamp(1.1rem, 15px + 0.3vw, 1.25rem); + --show-notes-pre-background: #f9e9c2; --logo-font-family: var(--font-family-hpr); --logo-font-weight: bolder; --logo-font-size: 7.5rem; @@ -745,6 +746,16 @@ fieldset > table td input[type="radio"] { clip: rect(0, 0, 0, 0); border: 0; } +#show_notes { + max-width: 98vw; +} +#show_notes pre +{ + background-color: var(--show-notes-pre-background); + border: 1px solid #ddd; + overflow: scroll; + padding: 0.1em 0; +} nav.episodes { color: var(--background-primary); font-size: 0.9em; @@ -921,6 +932,7 @@ nav.episodes span a:hover svg #bar { --shadow-secondary-color: hsl(0, 0%, 40%); --input-border-primary: var(--shadow-secondary-color); --lane-button-color: #d5e6ea; + --show-notes-pre-background: #b54c08; } body > header { background-image: url("/images/main-header-background-dark.png"); diff --git a/templates/content-episode.tpl.html b/templates/content-episode.tpl.html index 4fc71f1..18861eb 100644 --- a/templates/content-episode.tpl.html +++ b/templates/content-episode.tpl.html @@ -26,7 +26,7 @@ Hosted by

-
+