From 38d81ceddaddedbc3e8bf95eb32b67a5167832fb Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Thu, 24 Jul 2025 22:18:56 -0400 Subject: [PATCH] Intial card layout design Format episodes, series, syndication pages with card format. --- public_html/css/hpr.css | 44 +++++++++++++++++++++++--- templates/content-episodes.tpl.html | 15 +++++---- templates/content-series.tpl.html | 24 +++++++------- templates/content-syndication.tpl.html | 11 +++---- 4 files changed, 65 insertions(+), 29 deletions(-) diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index cc489ba..166417e 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -249,9 +249,35 @@ article > p, display: flex; flex-direction: row; flex-wrap: wrap; - gap: 0.5rem; + gap: 1.0rem; + justify-content: space-between; + justify-items: space-between; } +#podcast_lane > .lane, +#project_lane > .lane, +#latest_lane.lane { + justify-content: flex-start; +} +.lane > article { + padding: 1.0rem; + /* Add shadows to create the "card" effect */ + border-top: thin solid hsl(190deg 48% 49% / 0.2); + border-left: thin solid hsl(190deg 48% 49% / 0.2); + border-radius: 0.5rem; + box-shadow: + 1px 2px 2px hsl(190deg 48% 49% / 0.2), + 2px 4px 4px hsl(190deg 48% 49% / 0.2); + transition: 0.3s; + width: max-content; + flex: 1 0 50%; + overflow-y: scroll; +} +.lane > article:hover { + box-shadow: + 4px 8px 8px hsl(190deg 48% 49% / 0.2), + 8px 16px 16px hsl(190deg 48% 49% / 0.2); +} a.lane-button { display: flex; flex-direction: column; @@ -369,7 +395,10 @@ fieldset > input { border: thin solid var(--input-border-primary); border-radius: 0.2rem; } -@media (min-width: 900px) { +.no-css { + display: none; +} +@media (min-width: 600px) { body > header { background-size: 200pt, cover; background-position: left 128pt top -12pt, left top; @@ -395,9 +424,7 @@ fieldset > input { } #qr_code { text-align: center; - } - #qr_code > img { - max-height: 195px; + max-width: 195px; } fieldset>table, fieldset>table thead, @@ -446,4 +473,11 @@ fieldset > input { body > main { padding: 0.25rem 2rem; } + .lane > article { + flex-basis: 30%; + /* max-width: 30%; */ + } + #latest_lane.lane section > ul { + margin: 0.5rem 3rem 0 1rem; + } } diff --git a/templates/content-episodes.tpl.html b/templates/content-episodes.tpl.html index 45eda53..b074c6c 100644 --- a/templates/content-episodes.tpl.html +++ b/templates/content-episodes.tpl.html @@ -1,24 +1,26 @@ -
-
-

Complete Archive of Shows.

+

Complete Archive of Shows.

All this information is available to the public. Scrape if you wish but if we can format the data for you then we're happy to help.

-
+
+

+
+

Today With a Techie Archived Shows

Creative Commons License
The following work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.

Today With a Techie Radio was brought to you by The Infonomicon Computer Club

- +
+
-
diff --git a/templates/content-series.tpl.html b/templates/content-series.tpl.html index 797ce9d..35303ca 100644 --- a/templates/content-series.tpl.html +++ b/templates/content-series.tpl.html @@ -1,17 +1,19 @@ -

In-Depth Series

+
-

-
    -
  • Number of episodes:
  • -
  • Open/closed:
  • -
  • Date of earliest show:
  • -
  • Date of latest show:
  • -
  • Series RSS feeds: ogg, spx, mp3
  • -
- - +
+
+
    +
  • Number of episodes:
  • +
  • Open/closed:
  • +
  • Date of earliest show:
  • +
  • Date of latest show:
  • +
  • Series RSS feeds: ogg, spx, mp3
  • +
+
+ +
diff --git a/templates/content-syndication.tpl.html b/templates/content-syndication.tpl.html index d07ea99..3beedb2 100644 --- a/templates/content-syndication.tpl.html +++ b/templates/content-syndication.tpl.html @@ -1,14 +1,10 @@

RSS Syndication

- -
-

Subscribe to our Feeds

-

Great that you want to listen. Have a look below at the feeds that best suite your listening habits.

-
-