Format CSS for consistency
This commit is contained in:
parent
87b7f7bde6
commit
9655c56ee6
@ -29,8 +29,27 @@ body {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
div, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, img, form, fieldset, input, textarea, blockquote {
|
div,
|
||||||
font-family: Verdana, Arial, Helvetica, sans-serif;/* 1em/1.5 OpenDyslexic, */
|
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, */
|
||||||
color: #4D4D4D; /* HPR Grey */
|
color: #4D4D4D; /* HPR Grey */
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
@ -89,7 +108,7 @@ audio {
|
|||||||
padding: .7em 0em .5em 0em;
|
padding: .7em 0em .5em 0em;
|
||||||
clear: both;
|
clear: both;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index:auto;
|
z-index: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.audcredit {
|
.audcredit {
|
||||||
@ -105,18 +124,18 @@ p.meta span label {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
article > p,
|
article>p,
|
||||||
#maincontent > p {
|
#maincontent>p {
|
||||||
line-height: 1.45;
|
line-height: 1.45;
|
||||||
}
|
}
|
||||||
|
|
||||||
article#previous_five_weeks > * {
|
article#previous_five_weeks>* {
|
||||||
line-height: 1.35;
|
line-height: 1.35;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
article#previous_five_weeks > h3 {
|
article#previous_five_weeks>h3 {
|
||||||
margin: 1.5rem 0 0.5rem 0;
|
margin: 1.5rem 0 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -124,7 +143,7 @@ article#previous_five_weeks > h3 {
|
|||||||
max-width: 58rem;
|
max-width: 58rem;
|
||||||
margin: 0.25rem;
|
margin: 0.25rem;
|
||||||
padding: 0.75rem; /* fallback for browsers that don't support the clamp function) */
|
padding: 0.75rem; /* fallback for browsers that don't support the clamp function) */
|
||||||
padding: clamp(0.75rem, -0.25rem + 3vw , 2.0rem);
|
padding: clamp(0.75rem, -0.25rem + 3vw, 2.0rem);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: white;
|
background: white;
|
||||||
border: thin solid #4D4D4D;
|
border: thin solid #4D4D4D;
|
||||||
@ -145,10 +164,10 @@ article#previous_five_weeks > h3 {
|
|||||||
|
|
||||||
img#hprlogo {
|
img#hprlogo {
|
||||||
max-width: 20vw;
|
max-width: 20vw;
|
||||||
padding-right: clamp(0.75rem, -0.25rem + 3vw , 1.5rem);
|
padding-right: clamp(0.75rem, -0.25rem + 3vw, 1.5rem);
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
margin-bottom: clamp(0.75rem, -0.25rem + 2vw , 1.5rem);
|
margin-bottom: clamp(0.75rem, -0.25rem + 2vw, 1.5rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
#hpr_banner {
|
#hpr_banner {
|
||||||
@ -163,14 +182,14 @@ img#hprlogo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#hpr_banner h1#sitename {
|
#hpr_banner h1#sitename {
|
||||||
font-size: clamp(1.44rem, -1rem + 3vw , 2rem);
|
font-size: clamp(1.44rem, -1rem + 3vw, 2rem);
|
||||||
letter-spacing: 0.06rem;
|
letter-spacing: 0.06rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#hpr_banner h2 {
|
#hpr_banner h2 {
|
||||||
font-size: clamp(0.74rem, -1rem + 2vw , 1rem);
|
font-size: clamp(0.74rem, -1rem + 2vw, 1rem);
|
||||||
font-weight: 510;
|
font-weight: 510;
|
||||||
margin: 0 0 1rem 0;
|
margin: 0 0 1rem 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -183,7 +202,7 @@ img#hprlogo {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > hr {
|
header>hr {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -192,40 +211,40 @@ header > hr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* The main navigation menu */
|
/* The main navigation menu */
|
||||||
header > nav.menu {
|
header>nav.menu {
|
||||||
display: block;
|
display: block;
|
||||||
background-color: #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: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav.menu ul {
|
header>nav.menu ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav.menu ul li {
|
header>nav.menu ul li {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-right: clamp(0.5rem, -0.25rem + 3vw , 2.5rem);
|
padding-right: clamp(0.5rem, -0.25rem + 3vw, 2.5rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav.menu ul li a {
|
header>nav.menu ul li a {
|
||||||
color: white;
|
color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 0.25rem 0;
|
padding: 0.25rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav.menu ul li a:hover {
|
header>nav.menu ul li a:hover {
|
||||||
border-bottom: thin solid white;
|
border-bottom: thin solid white;
|
||||||
padding: 0.15rem 0;
|
padding: 0.15rem 0;
|
||||||
-webkit-transition: 0.3s ease-in-out color;
|
-webkit-transition: 0.3s ease-in-out color;
|
||||||
@ -233,16 +252,17 @@ header > nav.menu ul li a:hover {
|
|||||||
transition: 0.3s ease-in-out color;
|
transition: 0.3s ease-in-out color;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > nav.menu ul li a:visited{
|
header>nav.menu ul li a:visited {
|
||||||
color: #EDEDED;
|
color: #EDEDED;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:active,
|
a:active,
|
||||||
header > nav.menu ul li a:active {
|
header>nav.menu ul li a:active {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre { /* Add background, border and scrollbar to <pre> */
|
pre {
|
||||||
|
/* Add background, border and scrollbar to <pre> */
|
||||||
background: #eee;
|
background: #eee;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -255,13 +275,14 @@ pre code {
|
|||||||
font-size: 0.85rem;
|
font-size: 0.85rem;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre.comment {
|
pre.comment {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
line-height: 1.2rem;
|
line-height: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hosts {
|
table.hosts {
|
||||||
font-size: clamp(0.82rem, -0.25rem + 3vw , 1.0rem);
|
font-size: clamp(0.82rem, -0.25rem + 3vw, 1.0rem);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: white;
|
background: white;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
@ -271,17 +292,17 @@ table.hosts {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table.hosts tr:nth-child(even) {
|
table.hosts tr:nth-child(even) {
|
||||||
background-color:#cccccc;
|
background-color: #cccccc;
|
||||||
border-bottom: thick solid white;
|
border-bottom: thick solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hosts tr:nth-child(odd) {
|
table.hosts tr:nth-child(odd) {
|
||||||
background-color:white;
|
background-color: white;
|
||||||
border-bottom: thick solid white;
|
border-bottom: thick solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.hosts tr td img {
|
table.hosts tr td img {
|
||||||
vertical-align:middle;
|
vertical-align: middle;
|
||||||
max-height: 80px;
|
max-height: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -306,7 +327,7 @@ table.hosts td:nth-child(4) {
|
|||||||
padding-right: clamp(0.10rem, -0.25rem + 3vw, 1rem);
|
padding-right: clamp(0.10rem, -0.25rem + 3vw, 1rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
body > div > footer {
|
body>div>footer {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -338,25 +359,25 @@ footer #copyright {
|
|||||||
margin-right: 0.5rem;
|
margin-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table,
|
fieldset>table,
|
||||||
fieldset > table thead,
|
fieldset>table thead,
|
||||||
fieldset > table tbody,
|
fieldset>table tbody,
|
||||||
fieldset > table tr,
|
fieldset>table tr,
|
||||||
fieldset > table th,
|
fieldset>table th,
|
||||||
fieldset > table td,
|
fieldset>table td,
|
||||||
fieldset > table td input,
|
fieldset>table td input,
|
||||||
fieldset > table td textarea {
|
fieldset>table td textarea {
|
||||||
display: block;
|
display: block;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table {
|
fieldset>table {
|
||||||
width: calc(100vw + -16vw + -1rem);
|
width: calc(100vw + -16vw + -1rem);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table td input,
|
fieldset>table td input,
|
||||||
fieldset > table td textarea {
|
fieldset>table td textarea {
|
||||||
width: calc(100vw + -16vw + -1.5rem);
|
width: calc(100vw + -16vw + -1.5rem);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
border: thin solid #DFDFDF;
|
border: thin solid #DFDFDF;
|
||||||
@ -364,18 +385,18 @@ fieldset > table td textarea {
|
|||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table td select {
|
fieldset>table td select {
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
padding: 0.25rem;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table td input[type="radio"] {
|
fieldset>table td input[type="radio"] {
|
||||||
display: initial;
|
display: initial;
|
||||||
width: initial;
|
width: initial;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > input {
|
fieldset>input {
|
||||||
background: #4D4D4D;
|
background: #4D4D4D;
|
||||||
color: white;
|
color: white;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -411,7 +432,7 @@ fieldset > input {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
header > hr {
|
header>hr {
|
||||||
clear: right;
|
clear: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -431,42 +452,43 @@ fieldset > input {
|
|||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table,
|
fieldset>table,
|
||||||
fieldset > table thead,
|
fieldset>table thead,
|
||||||
fieldset > table tbody,
|
fieldset>table tbody,
|
||||||
fieldset > table tr,
|
fieldset>table tr,
|
||||||
fieldset > table th,
|
fieldset>table th,
|
||||||
fieldset > table td,
|
fieldset>table td,
|
||||||
fieldset > table td input,
|
fieldset>table td input,
|
||||||
fieldset > table td textarea {
|
fieldset>table td textarea {
|
||||||
display: revert;
|
display: revert;
|
||||||
width: revert;
|
width: revert;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table tr {
|
fieldset>table tr {
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table tr:nth-child(3) {
|
fieldset>table tr:nth-child(3) {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table tr:nth-child(3) td:first-child {
|
fieldset>table tr:nth-child(3) td:first-child {
|
||||||
padding-top: 0.5rem;
|
padding-top: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table tr:nth-last-child(3) td:first-child {
|
fieldset>table tr:nth-last-child(3) td:first-child {
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table tr:nth-last-child(2) {
|
fieldset>table tr:nth-last-child(2) {
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
fieldset > table tr:nth-last-child(2) td:first-child {
|
|
||||||
|
fieldset>table tr:nth-last-child(2) td:first-child {
|
||||||
padding-top: 0.75rem;
|
padding-top: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset > table td input[type="radio"] {
|
fieldset>table td input[type="radio"] {
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user