🎨 Use rem units and one footer text size 🎨

Replace every px length with rem (em in media queries) at the 16px root so rendering is unchanged but scales with user font size. Where the footer used fs-4 or fs-5 (oversized and inconsistent) it now uses one .footer-custom size of 0.875rem.

- wwwroot/css/bs.plain.css: convert px lengths to rem/em
- wwwroot/css/cookieconsent.css: convert px lengths to rem/em
- wwwroot/css/errorpages.css: convert px lengths to rem/em
- wwwroot/css/index.css: convert px lengths to rem/em
- wwwroot/index.php: convert inline px to rem/em and drop the fs-4/fs-5 footer size class

- README.md: N/A — no user-facing change
This commit is contained in:
casjay committed 2026-11-22 14:42:44 -05:00
1 parent b8f3280f7a
commit ab308b2a98
5 files changed
+295 -295

No files matched your search

+19 -19
View File
@@ -4,7 +4,7 @@ td,
th,
body {
font-family: 'Fira Sans', Verdana, Helvetica, sans-serif;
font-size: 14px;
font-size: 0.875rem;
font-weight: normal;
font-variant: normal;
text-transform: none;
@@ -19,30 +19,30 @@ body {
th {
background-color: #333;
color: #ffffff;
border-top: 1px solid #678ca0;
border-top: 0.0625rem solid #678ca0;
vertical-align: middle;
height: 50px;
height: 3.125rem;
}
td {
background-color: 333;
border-top: 1px solid #678ca0;
border-top: 0.0625rem solid #678ca0;
}
.box {
border: 1px solid #678ca0;
padding: 0px;
border: 0.0625rem solid #678ca0;
padding: 0;
width: 100%;
background-color: #333;
margin-bottom: 10px;
width: 600px;
margin-bottom: 0.625rem;
width: 37.5rem;
}
h5,
h3 {
padding: 3px;
margin-top: 0px;
margin-bottom: 0px;
padding: 0.1875rem;
margin-top: 0;
margin-bottom: 0;
background-color: #333;
color: white;
font-family: Verdana, Helvetica, sans-serif;
@@ -57,25 +57,25 @@ div {
}
h3 {
font-size: 13px;
font-size: 0.8125rem;
}
h5 {
font-size: 10px;
font-size: 0.625rem;
text-align: right;
background-color: #333;
color: #678ca0;
}
.spacer {
margin: 0px;
margin: 0;
width: 100%;
background-color: #333;
}
.leftspacer {
margin: 0px;
padding: 5px;
margin: 0;
padding: 0.3125rem;
width: 100%;
text-align: left;
background-color: #333;
@@ -90,10 +90,10 @@ h5 {
}
p.main {
margin-top: 5px;
margin-bottom: 5px;
margin-top: 0.3125rem;
margin-bottom: 0.3125rem;
text-align: center;
font-size: 10px;
font-size: 0.625rem;
}
a {