diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index 3c9ef70..aefbd0a 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -313,7 +313,8 @@ article > p, #latest_lane.lane { justify-content: flex-between; } -.lane > article { +.lane > article, +#hosts tr { /* Add shadows to create the "card" effect */ border-top: thin solid var(--shadow-cards); border-left: thin solid var(--shadow-cards); @@ -326,7 +327,8 @@ article > p, overflow-x: scroll; padding-bottom: 1rem; } -.lane > article:hover { +.lane > article:hover, +#hosts tr:hover { box-shadow: 4px 8px 8px var(--shadow-cards), 8px 16px 16px var(--shadow-cards); @@ -552,6 +554,41 @@ fieldset > table td input[type="radio"] { #comments > article > .show-meta { font-size: smaller; } +#hosts tr { + gap: 0; + justify-content: flex-start; +} +#hosts td { + display: inline-block; +} +#hosts td:nth-child(-n+2) { + background: var(--background-secondary); + color: var(--background-primary); +} +#hosts td:nth-child(-n+2) a { + color: var(--link-secondary); +} +#hosts td:nth-child(-n+2) a:hover { + color: var(--link-secondary-hover); +} +#hosts td:nth-child(2) { + padding: 0.25rem 0 0 8px; + width: calc(100% - 90px); +} + +#hosts td:nth-last-child(-n+2) { + padding: 0.5rem 0 0 95px; +} +#hosts td:nth-last-child(2)::before { + content: ; + content: "License: "; +} +#hosts td:nth-last-child(1)::before { + content: "Last Show: "; +} +#hosts td > img { + border-radius: 0.25rem; +} .series-description { margin: 0; padding: 0; @@ -651,6 +688,15 @@ fieldset > table td input[type="radio"] { #latest_lane.lane section > ul { margin: 0.5rem 3rem 0 1rem; } + #hosts tbody.lane.stack { + flex-direction: row; + justify-content: space-between; + gap: 1rem + } + #hosts tr { + flex: 1 1 45%; + max-width: 45%; + } } @media (min-width: 900px) { #podcast_lane > .lane, @@ -661,4 +707,8 @@ fieldset > table td input[type="radio"] { #latest_lane.lane section { flex: 1; } + #hosts tr { + flex: 1 1 30%; + max-width: 30%; + } } diff --git a/templates/content-correspondents.tpl.html b/templates/content-correspondents.tpl.html index f4923be..4631c58 100644 --- a/templates/content-correspondents.tpl.html +++ b/templates/content-correspondents.tpl.html @@ -1,15 +1,17 @@ -

Correspondents

For more information on how to become a Correspondent see our contribute page. To add a logo here, either email one to admin at hpr or setup your email on Gravatar. To protect your browsing privacy we gather the images every hour and serve them directly from HPR.

- - - - - +
AvatarName & Host IDLicenseLast Show
+ + + + + + + - + +
AvatarName & Host IDLicenseLast Show

@@ -28,6 +30,6 @@

Become a Correspondent

-