Compare commits

..

No commits in common. "9655c56ee65e1cf2d360905f68bdac8257f4cb96" and "68e51c0a32e896bb368b16f85e8df9aeaae7dbf2" have entirely different histories.

View File

@ -29,26 +29,7 @@ body {
padding: 0; padding: 0;
} }
div, div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dt,
dd,
img,
form,
fieldset,
input,
textarea,
blockquote {
font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */ font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */
color: #4D4D4D; /* HPR Grey */ color: #4D4D4D; /* HPR Grey */
background: white; background: white;
@ -140,355 +121,262 @@ article#previous_five_weeks>h3 {
} }
#container { #container {
max-width: 58rem; width: 100%;
margin: 0.25rem; max-width: 58em;
padding: 0.75rem; /* fallback for browsers that don't support the clamp function) */ margin: auto;
padding: clamp(0.75rem, -0.25rem + 3vw, 2.0rem);
overflow: hidden; overflow: hidden;
padding: .5em;
border: thin solid;
background: white; background: white;
border: thin solid #4D4D4D;
} }
.shadow { .shadow {
-moz-box-shadow: 2px 3px 6px 3px #675958; -moz-box-shadow: 2px 3px 6px 3px #675958;
-webkit-box-shadow: 2px 3px 6px 3px #675958; -webkit-box-shadow: 2px 3px 6px 3px #675958;
box-shadow: 2px 3px 6px 3px #675958; box-shadow: 2px 3px 6px 3px #675958;}
}
.thick_bar { #hprlogo {
background-color: #4D4D4D; display: block;
color: white; position: relative;
padding: 0.5rem; top: 0;
margin: 1rem 0 1rem 0; left: 0;
} border: 0;
margin: 0.75em;
img#hprlogo {
max-width: 20vw;
padding-right: clamp(0.75rem, -0.25rem + 3vw, 1.5rem);
float:left; float:left;
margin-top: 1rem;
margin-bottom: clamp(0.75rem, -0.25rem + 2vw, 1.5rem);
} }
#hpr_banner { #hpr_banner {
/* display: inline-block; */ display: block;
position: relative;
border: 0; border: 0;
margin: 0 0 0rem 0; margin: 0.75em;
padding: 0; float: left;
} }
#hpr_banner p { #hpr_banner h1 {margin: -.25em 0em -.5em 0em;}
margin: 0 0 0.5rem 0; #hpr_banner h2 {font-size: 100%; font-weight: lighter; }
} #hpr_banner h3 {font-size: 90%; font-weight: lighter; }
#hpr_banner h1#sitename {
font-size: clamp(1.44rem, -1rem + 3vw, 2rem);
letter-spacing: 0.06rem;
margin: 0;
padding: 0;
}
#hpr_banner h2 {
font-size: clamp(0.74rem, -1rem + 2vw, 1rem);
font-weight: 510;
margin: 0 0 1rem 0;
padding: 0;
}
#hpr_banner h3 {
font-size: 1rem;
font-weight: normal;
margin: 0 0 0.5rem 0;
padding: 0;
}
header>hr {
clear: both;
}
#accessible_menu { #accessible_menu {
font-size: smaller; font-size: small;
} }
/* The main navigation menu */ /* The main navigation menu */
header>nav.menu { .menu {
display: block; background: #4D4D4D; /* HPR Grey */
background-color: #4D4D4D; /* HPR Grey */
text-align: Left; text-align: Left;
clear:both; /* Forces the menu to appear after the HPR Header block */ clear:both; /* Forces the menu to appear after the HPR Header block */
padding: 0; padding: 0em 0em;
margin: 0; margin: 0em 0em;
} }
header>nav.menu ul { .menu ul ul { /* Causes the sub menus not to be displayed, until hover shows them */
margin: 0; display: none;
padding: 0.5rem; }
background-color: inherit;
#main_menu li a {display: block;}
.menu ul li { padding: .25em 0em;}
}
.menu ul { /* The menu bar background across screen */
background: #4D4D4D; /* HPR Grey */
color: white; color: white;
} padding: 0 10px; /* Keeps sub menus to the left */
list-style: none;
header>nav.menu ul li { position: relative;
display: inline-block;
background-color: inherit;
color: inherit;
line-height: 1.5;
margin: 0; margin: 0;
padding: 0; display: inline-table;
padding-right: clamp(0.5rem, -0.25rem + 3vw, 2.5rem);
} }
header>nav.menu ul li a { .menu ul:after { /* Forces the dropdown to be a block with non float */
color: white; content: "";
text-decoration: none; clear: both;
display: block; display: block;
padding: 0.25rem 0;
} }
header>nav.menu ul li a:hover { .menu ul li {
border-bottom: thin solid white; background: #4D4D4D; /* HPR Grey */
padding: 0.15rem 0; color: white;
-webkit-transition: 0.3s ease-in-out color; float: left;
-moz-transition: 0.3s ease-in-out color; padding: .5em 1em;
transition: 0.3s ease-in-out color;
} }
header>nav.menu ul li a:visited { .menu ul li a {
color: #EDEDED; background: #4D4D4D; /* HPR Grey */
color: white;
display: block;
text-decoration: none;
} }
a:active, .menu ul ul {
header>nav.menu ul li a:active { background: #4D4D4D; /* HPR Grey */
color: red; color: white;
padding: 0;
position: absolute;
top: 100%;
} }
pre { .menu ul ul li {
/* Add background, border and scrollbar to <pre> */ background: #4D4D4D; /* HPR Grey */
color: white;
float: none;
position: relative;
}
.menu ul ul ul {
position: absolute;
left: 100%;
top:0;
}
hr {
background: #4D4D4D; /* HPR Grey */
border: 0;
height: 0.25em;
}
/* The multi colum footer layout */
#footer_page {
width:100%;
}
.column {
width:12%;
background-color: white;
color: #4D4D4D; /* HPR Grey */
float:left;
margin:0 10px;
display: block;
}
.column li {
list-style:none;
padding: .25em 0em;
font-size: 85%;
}
.thick_bar {
width:100%;
background-color: #4D4D4D; /* HPR Grey */
color: white;
float:left;
clear: both;
height:1.5em;
padding: .5em 0em .5em 0em;
font-size: 1em;
margin: 1em 0em 1em 0em;
}
#more_info {margin: auto;}
nav.column { display: block; padding: 0em 1em 0em 1em;}
#copyright {
font-size: small;
width:100%;
float:left;
}
article, #copyright p {
padding: 0 10px;
}
audio {padding: .7em 0em .5em 0em; clear: both; position: relative; z-index:auto;}
.audcredit { font-size: 75%;margin-bottom: 1em;}
h1.showtitle { font-size: 125%;}
/* Full Index Page styling */
#index_full h2.title {
font-weight: lighter;
margin-bottom: -.5em;
padding: .5em 0em 0em 0em;
font-size: 110%;}
#index_full p.meta {font-size: 85%;}
#small {
font-size: small;
}
p.author { font-size: 85%;}
p.shownotes { padding: .5em;}
#maincontent footer p { /* font-size: 75%; */ margin-bottom: 1em;}
/* link styling */
a:link {text-decoration: none;}
table {
width:100%;
}
table, th, td {
border-collapse: collapse;
padding: 2px;
text-align: left;
}
table#t01, table#t01 th, table#t01 td {
border: 1px solid black;
}
table#t01 th, table#t01 td {
padding: 5px;
text-align: left;
}
table#t01 tr:nth-child(even) {
background-color: #eee;
}
table#t01 tr:nth-child(odd) {
background-color:#fff;
}
table#t01 th {
background-color: #4D4D4D;
color: white;
}
pre { /* Add background, border and scrollbar to <pre> */
background: #eee; background: #eee;
border: 1px solid #ddd; border: 1px solid #ddd;
overflow: auto; overflow: auto;
clear: both; clear: both;
padding: 0.5rem
}
pre code {
padding-right: 0.5rem;
font-size: 0.85rem;
line-height: 1;
}
pre.comment {
white-space: pre-wrap;
line-height: 1.2rem;
} }
table.hosts { table.hosts {
font-size: clamp(0.82rem, -0.25rem + 3vw, 1.0rem); background: white
width: 100%; }
background: white; table.hosts tr:nth-child(even) { background-color:#cccccc; }
margin: 0 auto; table.hosts tr:nth-child(odd) { background-color:white; }
border-collapse: collapse; table.hosts tr td img { vertical-align:middle }
display: inline-table;
pre.comment {
white-space: pre-wrap;
padding: 2px;
line-height: 1.2rem;
} }
table.hosts tr:nth-child(even) { h3.title { margin: 1.25rem 0 0.75rem 0 }
background-color: #cccccc; p.meta { margin: 0.25rem 0 }
border-bottom: thick solid white; p.summary { margin: 0.25rem 0 }
p.listen-in { margin-top: 0 }
@media only screen and (max-width: 680px) {
#container {width: 95%;}
img#hprlogo {float: left; max-width: 85px; padding: .35em;}
.column {width: 15%;}
h1 {font-size: 140%;}
h2 {font-size: 120%;}
h3 {font-size: 100%;}
nav.column { display: block; padding: 0em .25em 0em .25em;}
#footer_page li {font-size: 85%; padding: .5em .25em .5em .25em;}
footer p {font-size: 75%;}
audio {float: none; }
} }
table.hosts tr:nth-child(odd) { @media only screen and (max-width: 479px) {
background-color: white; body {background: #ffffff; color: #4D4D4D; font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */}
border-bottom: thick solid white; li {font-size: 100%; padding: .75em 0em .75em 0em; margin-left: -.25em;}
} img#hprlogo {float: left; max-width: 65px; padding: .35em;}
.column {width: auto;}
table.hosts tr td img { h1#sitename { clear: both;}
vertical-align: middle; a:link {text-decoration: none;}
max-height: 80px; audio {padding: .7em 0em .5em 0em; width: 95%; max-width: 300px;}
} .audcredit { font-size: 65%; margin-bottom: 1em;}
table.hosts th:first-child,
table.hosts td:first-child {
min-width: 60px;
max-width: 80px;
text-align: left;
}
table.hosts th:nth-child(2),
table.hosts td:nth-child(2) {
text-align: left;
padding-left: clamp(0.15rem, -0.25rem + 3vw, 0.5rem);
}
table.hosts th:nth-child(3),
table.hosts td:nth-child(3),
table.hosts th:nth-child(4),
table.hosts td:nth-child(4) {
width: 10%;
padding-right: clamp(0.10rem, -0.25rem + 3vw, 1rem);
}
body>div>footer {
margin-top: 2rem;
}
footer #more_info nav.column {
clear: both;
font-size: 0.9rem;
margin-left: 0.5rem;
}
footer #more_info nav.column ul li {
float: left;
margin-right: 1.5rem;
margin-bottom: 1rem;
}
footer #more_info nav.column h2 {
font-size: 1.35rem;
margin-top: 0.5rem;
}
footer h1.thick_bar {
clear: left;
font-size: 1.15rem;
}
footer #copyright {
font-size: smaller;
margin-left: 0.5rem;
margin-right: 0.5rem;
}
fieldset>table,
fieldset>table thead,
fieldset>table tbody,
fieldset>table tr,
fieldset>table th,
fieldset>table td,
fieldset>table td input,
fieldset>table td textarea {
display: block;
font-size: 1rem;
}
fieldset>table {
width: calc(100vw + -16vw + -1rem);
max-width: 100%;
}
fieldset>table td input,
fieldset>table td textarea {
width: calc(100vw + -16vw + -1.5rem);
max-width: 100%;
border: thin solid #DFDFDF;
margin-bottom: 0.5rem;
padding: 0.5rem;
}
fieldset>table td select {
margin-bottom: 0.5rem;
padding: 0.25rem;
}
fieldset>table td input[type="radio"] {
display: initial;
width: initial;
margin-bottom: 0.5rem;
}
fieldset>input {
background: #4D4D4D;
color: white;
font-weight: 600;
padding: 0.5rem;
border: thin solid #DFDFDF;
border-radius: 0.2rem;
}
@media only screen and (min-width: 58rem) {
#container {
margin: 0.5rem auto;
}
.shadow {
-moz-box-shadow: 1px 2px 5px 2px #675958;
-webkit-box-shadow: 1px 2px 5px 2px #675958;
box-shadow: 1px 2px 5px 2px #675958;
}
img#hprlogo {
margin-bottom: 1.5rem;
}
#hpr_banner {
float: left;
}
#hpr_banner h1#sitename {
font-size: 2rem;
}
#hpr_banner h2 {
font-size: 1rem;
}
header>hr {
clear: right;
}
footer #more_info nav.column {
clear: none;
float: left;
width: 19.5%;
margin-left: 0;
}
footer #more_info nav.column:first-child {
margin-left: 0.5rem;
}
footer #more_info nav.column ul li {
float: none;
margin-bottom: 0.5rem;
}
fieldset>table,
fieldset>table thead,
fieldset>table tbody,
fieldset>table tr,
fieldset>table th,
fieldset>table td,
fieldset>table td input,
fieldset>table td textarea {
display: revert;
width: revert;
}
fieldset>table tr {
vertical-align: baseline;
}
fieldset>table tr:nth-child(3) {
vertical-align: top;
}
fieldset>table tr:nth-child(3) td:first-child {
padding-top: 0.5rem;
}
fieldset>table tr:nth-last-child(3) td:first-child {
padding-top: 1rem;
}
fieldset>table tr:nth-last-child(2) {
vertical-align: top;
}
fieldset>table tr:nth-last-child(2) td:first-child {
padding-top: 0.75rem;
}
fieldset>table td input[type="radio"] {
margin-top: 1.5rem;
}
} }