Restore hightlighting to show notes preformatted text
This was lost in the transition to the new website design.
This commit is contained in:
@@ -54,6 +54,7 @@ https://creativecommons.org/publicdomain/
|
|||||||
--font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem);
|
--font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem);
|
||||||
--font-size-emphasis: clamp(1.1rem, 15px + 0.3vw, 1.25rem);
|
--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-family: var(--font-family-hpr);
|
||||||
--logo-font-weight: bolder;
|
--logo-font-weight: bolder;
|
||||||
--logo-font-size: 7.5rem;
|
--logo-font-size: 7.5rem;
|
||||||
@@ -745,6 +746,16 @@ fieldset > table td input[type="radio"] {
|
|||||||
clip: rect(0, 0, 0, 0);
|
clip: rect(0, 0, 0, 0);
|
||||||
border: 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 {
|
nav.episodes {
|
||||||
color: var(--background-primary);
|
color: var(--background-primary);
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
@@ -921,6 +932,7 @@ nav.episodes span a:hover svg #bar {
|
|||||||
--shadow-secondary-color: hsl(0, 0%, 40%);
|
--shadow-secondary-color: hsl(0, 0%, 40%);
|
||||||
--input-border-primary: var(--shadow-secondary-color);
|
--input-border-primary: var(--shadow-secondary-color);
|
||||||
--lane-button-color: #d5e6ea;
|
--lane-button-color: #d5e6ea;
|
||||||
|
--show-notes-pre-background: #b54c08;
|
||||||
}
|
}
|
||||||
body > header {
|
body > header {
|
||||||
background-image: url("/images/main-header-background-dark.png");
|
background-image: url("/images/main-header-background-dark.png");
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Hosted by <a href="<!--% absolute_path(baseurl) %-->correspondents/<!--% zero_pa
|
|||||||
<h3><!--% show_series(episode.series, episode.seriesid, "Part of the series") %--></h3>
|
<h3><!--% show_series(episode.series, episode.seriesid, "Part of the series") %--></h3>
|
||||||
<p><em><!--% episode.series_description %--></em></p>
|
<p><em><!--% episode.series_description %--></em></p>
|
||||||
</header>
|
</header>
|
||||||
<div><!--% episode.notes %--></div>
|
<div id="show_notes"><!--% episode.notes %--></div>
|
||||||
<footer>
|
<footer>
|
||||||
<p>
|
<p>
|
||||||
<!--% episode_navigation %-->
|
<!--% episode_navigation %-->
|
||||||
|
|||||||
Reference in New Issue
Block a user