From be17edd6accb673ffc9ca4d6828937bec8df876d Mon Sep 17 00:00:00 2001
From: Roan Horning
Date: Wed, 3 Sep 2025 21:57:28 -0400
Subject: [PATCH] Create single column card stack view
Apply to comments viewer, syndication, series, and series episodes pages.
---
public_html/css/hpr.css | 35 +++++++++++++---------
templates/content-comments_viewer.tpl.html | 27 +++++++++--------
templates/content-series.tpl.html | 5 ++--
templates/content-series_episode.tpl.html | 12 ++++----
templates/content-syndication.tpl.html | 2 +-
5 files changed, 46 insertions(+), 35 deletions(-)
diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css
index 5f9366c..3c9ef70 100644
--- a/public_html/css/hpr.css
+++ b/public_html/css/hpr.css
@@ -301,8 +301,12 @@ article > p,
gap: 1.0rem;
justify-content: space-around;
}
-.lane.syndication {
+.lane.stack {
flex-direction: column;
+ justify-content: flex-start;
+}
+.lane.stack > * {
+ flex: 1 0 100%;
}
#podcast_lane > .lane,
#project_lane > .lane,
@@ -331,7 +335,8 @@ article > p,
margin-left: 1rem;
margin-right: 1rem;
}
-.lane > article > header {
+.lane > article > header,
+.lane > article > h3 {
background: var(--background-secondary);
padding: 1.5rem 1rem 1rem 1rem;
margin: 0;
@@ -339,17 +344,19 @@ article > p,
font-size: 1.45rem;
color: var(--background-primary);
}
-.lane > article > header a {
+.lane > article > header a,
+.lane > article > h3 a {
color: var(--link-secondary);
}
-.lane > article > header a:hover {
+.lane > article > header a:hover,
+.lane > article > h3:hover {
color: var(--link-secondary-hover);
}
-.lane.syndication > article > header * {
+.lane.stack> * > header * {
margin-top: 0;
margin-bottom: 0;
}
-.lane.syndication > article > header p {
+.lane.stack > * > header p {
font-size: var(--default-header-4-font-size);
margin-left: 22px;
}
@@ -542,6 +549,14 @@ fieldset > table td input[type="radio"] {
#tags .index-link {
text-align: right;
}
+#comments > article > .show-meta {
+ font-size: smaller;
+}
+.series-description {
+ margin: 0;
+ padding: 0;
+ font-style: italic;
+}
.sr-only {
position: absolute;
width: 1px;
@@ -633,19 +648,11 @@ fieldset > table td input[type="radio"] {
body > main {
padding: 0.25rem 2rem;
}
- .lane > article {
- max-height: 40vw;
- overflow-y: scroll
- }
#latest_lane.lane section > ul {
margin: 0.5rem 3rem 0 1rem;
}
}
@media (min-width: 900px) {
- .lane > article {
- flex-basis: 32%;
- max-width: 32%;
- }
#podcast_lane > .lane,
#project_lane > .lane {
justify-content: flex-start;
diff --git a/templates/content-comments_viewer.tpl.html b/templates/content-comments_viewer.tpl.html
index 2794925..28d40f6 100644
--- a/templates/content-comments_viewer.tpl.html
+++ b/templates/content-comments_viewer.tpl.html
@@ -7,7 +7,8 @@
Comment Viewer
Because of the spammers we have had to turn on comment moderation. Sorry about the delay this will cause.
Subscribe to the comment feed.
-
+
+
+
+ Posted at relating to the show hpr which was released on by entitled
+
+
+
-
+
+
diff --git a/templates/content-series.tpl.html b/templates/content-series.tpl.html
index 35303ca..84e7915 100644
--- a/templates/content-series.tpl.html
+++ b/templates/content-series.tpl.html
@@ -2,8 +2,9 @@
In-Depth Series
-
+
+
@@ -13,7 +14,7 @@
- Date of latest show:
- Series RSS feeds: ogg, spx, mp3
-
+
diff --git a/templates/content-series_episode.tpl.html b/templates/content-series_episode.tpl.html
index eea11de..557e14c 100644
--- a/templates/content-series_episode.tpl.html
+++ b/templates/content-series_episode.tpl.html
@@ -5,7 +5,6 @@
-
In-Depth Series:
@@ -15,13 +14,16 @@
- 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 41d88d8..ce6ebea 100644
--- a/templates/content-syndication.tpl.html
+++ b/templates/content-syndication.tpl.html
@@ -3,7 +3,7 @@
Great that you want to listen. Have a look below at the feeds that best suite your listening habits.
-
says:
-Posted at relating to the show hpr which was released on by entitled -
-- -
-