diff --git a/public_html/css/hpr.css b/public_html/css/hpr.css index cb3c32b..3f9edb3 100644 --- a/public_html/css/hpr.css +++ b/public_html/css/hpr.css @@ -47,6 +47,7 @@ https://creativecommons.org/publicdomain/ --link-secondary: #a8f8ff; --link-secondary-hover: #f9e9c2; --link-title-color: #00003e; + --link-navigation-hover: #030303; --primary-content-line-height: 1.45; --font-family-hpr: Verdana, Arial, Helvetica, sans-serif; /* 1em/1.5 OpenDyslexic, */; @@ -730,6 +731,50 @@ fieldset > table td input[type="radio"] { clip: rect(0, 0, 0, 0); border: 0; } +nav.episodes { + color: var(--background-primary); + font-size: 0.9em; + display: flex; + flex-direction: row; + justify-content: space-around; + max-width: 100vw; +} +nav.episodes span { + color: var(--text-primary); + display: inline-block; + text-align: center; + border: inset thin var(--text-primary); +} +nav.episodes span:nth-child(-n+2), +nav.episodes span:nth-child(-n+2) a { + border-top-left-radius: 2rem; + border-bottom-left-radius: 2rem; +} +nav.episodes span:nth-child(n+3), +nav.episodes span:nth-child(n+3) a { + border-top-right-radius: 2rem; + border-bottom-right-radius: 2rem; +} +nav.episodes span.no-link, +nav.episodes span a { + padding: 0.17em; + display: inline-block; + min-width: 4.4em; + min-height: 1.5em; +} +nav.episodes span a:hover { + background-color: var(--link-primary-hover); + color: var(--link-navigation-hover); +} +nav.episodes span a img { + filter: none; +} +nav.episodes img { + margin: 0 0.2rem; + height: 0.85em; + max-width: 13px; + vertical-align: middle; +} @media (min-width: 600px) { body > header .bounding-box { justify-content: space-between; @@ -826,6 +871,9 @@ fieldset > table td input[type="radio"] { #host { gap: 1rem; } + nav.episodes { + display: inline-block; + } } @media (min-width: 900px) { #podcast_lane > .lane, @@ -876,4 +924,8 @@ fieldset > table td input[type="radio"] { #hosts td:nth-child(-n+2) { color: var(--text-primary); } + nav.episodes span a:hover { + background-color: var(--link-primary-hover); + color: var(--link-navigation-hover); + } } diff --git a/public_html/images/icons/arrow-first-plain.svg b/public_html/images/icons/arrow-first-plain.svg new file mode 100644 index 0000000..7bed845 --- /dev/null +++ b/public_html/images/icons/arrow-first-plain.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + diff --git a/public_html/images/icons/arrow-last-plain.svg b/public_html/images/icons/arrow-last-plain.svg new file mode 100644 index 0000000..bdb088b --- /dev/null +++ b/public_html/images/icons/arrow-last-plain.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + diff --git a/public_html/images/icons/arrow-next-plain.svg b/public_html/images/icons/arrow-next-plain.svg new file mode 100644 index 0000000..7f6d523 --- /dev/null +++ b/public_html/images/icons/arrow-next-plain.svg @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/public_html/images/icons/arrow-previous-plain.svg b/public_html/images/icons/arrow-previous-plain.svg new file mode 100644 index 0000000..38d62d0 --- /dev/null +++ b/public_html/images/icons/arrow-previous-plain.svg @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/templates/shared-utils.tpl.html b/templates/shared-utils.tpl.html index 4d9a2c5..f4c86b6 100644 --- a/templates/shared-utils.tpl.html +++ b/templates/shared-utils.tpl.html @@ -117,16 +117,16 @@ -<< First, +