🎨 Use rem units and one footer text size 🎨
bind / release-bind (push) Failing after 1m27s

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.

- rootfs/usr/share/httpd/default/css/cookieconsent.css: convert px lengths to rem/em
- rootfs/usr/share/httpd/default/css/errorpages.css: convert px lengths to rem/em
- rootfs/usr/share/httpd/default/css/index.css: convert px lengths to rem/em
- rootfs/usr/share/httpd/default/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:37 -05:00
1 parent 9e297622b9
commit e758b29f26
4 files changed
+74 -74

No files matched your search

@@ -1,8 +1,8 @@
@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
body {
padding: 50px;
font: 14px/1.5 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
padding: 3.125rem;
font: 0.875rem/1.5 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #777;
font-weight: 300;
padding: 1.5em 0;
@@ -12,7 +12,7 @@ body {
.jumbotron {
line-height: 2.1428571435;
color: inherit;
padding: 10px 0px;
padding: 0.625rem 0;
}
/* Main marketing message and sign up button */
@@ -22,14 +22,14 @@ body {
}
.jumbotron .btn {
font-size: 21px;
font-size: 1.3125rem;
padding: 1.5em 2em;
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
.masthead,
.body-content {
padding: 0 15px;
padding: 0 0.9375rem;
}
/* Colors */
@@ -59,7 +59,7 @@ h4,
h5,
h6 {
color: #222;
margin: 0 0 40px;
margin: 0 0 2.5rem;
}
p,
@@ -68,7 +68,7 @@ ol,
table,
pre,
dl {
margin: 0 0 20px;
margin: 0 0 1.25rem;
}
h2,
@@ -80,9 +80,9 @@ h1 {
line-height: 1.1;
text-align: center;
font: Lato;
font-size: 80px;
font-size: 5rem;
color: #222;
margin: 0 0 40px;
margin: 0 0 2.5rem;
}
h2 {
@@ -103,21 +103,21 @@ a {
}
a small {
font-size: 11px;
font-size: 0.6875rem;
color: #777;
margin-top: -0.6em;
display: block;
}
.wrapper {
width: 860px;
width: 53.75rem;
margin: 0 auto;
}
blockquote {
border-left: 1px solid #e5e5e5;
border-left: 0.0625rem solid #e5e5e5;
margin: 0;
padding: 0 0 0 20px;
padding: 0 0 0 1.25rem;
font-style: italic;
}
@@ -132,14 +132,14 @@ code,
pre {
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
color: #333;
font-size: 12px;
font-size: 0.75rem;
}
pre {
padding: 8px 15px;
padding: 0.5rem 0.9375rem;
background: #f8f8f8;
border-radius: 5px;
border: 1px solid #e5e5e5;
border-radius: 0.3125rem;
border: 0.0625rem solid #e5e5e5;
overflow-x: auto;
}
@@ -151,8 +151,8 @@ table {
th,
td {
text-align: left;
padding: 5px 10px;
border-bottom: 1px solid #e5e5e5;
padding: 0.3125rem 0.625rem;
border-bottom: 0.0625rem solid #e5e5e5;
}
dt {
@@ -169,14 +169,14 @@ img {
}
header {
width: 270px;
width: 16.875rem;
float: left;
position: fixed;
}
header ul {
list-style: none;
height: 40px;
height: 2.5rem;
padding: 0;
@@ -194,27 +194,27 @@ header ul {
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
border-radius: 5px;
border: 1px solid #d2d2d2;
box-shadow: inset #fff 0 1px 0, inset rgba(0, 0, 0, 0.03) 0 -1px 0;
width: 270px;
border-radius: 0.3125rem;
border: 0.0625rem solid #d2d2d2;
box-shadow: inset #fff 0 0.0625rem 0, inset rgba(0, 0, 0, 0.03) 0 -0.0625rem 0;
width: 16.875rem;
}
header li {
width: 89px;
width: 5.5625rem;
float: left;
border-right: 1px solid #d2d2d2;
height: 40px;
border-right: 0.0625rem solid #d2d2d2;
height: 2.5rem;
}
header ul a {
line-height: 1;
font-size: 11px;
font-size: 0.6875rem;
color: #999;
display: block;
text-align: center;
padding-top: 6px;
height: 40px;
padding-top: 0.375rem;
height: 2.5rem;
}
strong {
@@ -223,46 +223,46 @@ strong {
}
header ul li + li {
width: 88px;
border-left: 1px solid #fff;
width: 5.5rem;
border-left: 0.0625rem solid #fff;
}
header ul li + li + li {
border-right: none;
width: 89px;
width: 5.5625rem;
}
header ul a strong {
font-size: 14px;
font-size: 0.875rem;
display: block;
color: #222;
}
section {
width: 500px;
width: 31.25rem;
float: right;
padding-bottom: 50px;
padding-bottom: 3.125rem;
}
small {
font-size: 11px;
font-size: 0.6875rem;
}
hr {
border: 0;
background: #e5e5e5;
height: 1px;
margin: 0 0 20px;
height: 0.0625rem;
margin: 0 0 1.25rem;
}
footer {
width: 270px;
width: 16.875rem;
float: left;
position: fixed;
bottom: 50px;
bottom: 3.125rem;
}
@media print, screen and (max-width: 960px) {
@media print, screen and (max-width: 60em) {
div.wrapper {
width: auto;
margin: 0;
@@ -277,14 +277,14 @@ footer {
}
header {
padding-right: 320px;
padding-right: 20rem;
}
section {
border: 1px solid #e5e5e5;
border-width: 1px 0;
padding: 20px 0;
margin: 0 0 20px;
border: 0.0625rem solid #e5e5e5;
border-width: 0.0625rem 0;
padding: 1.25rem 0;
margin: 0 0 1.25rem;
}
header a small {
@@ -293,12 +293,12 @@ footer {
header ul {
position: absolute;
right: 50px;
top: 52px;
right: 3.125rem;
top: 3.25rem;
}
}
@media print, screen and (max-width: 720px) {
@media print, screen and (max-width: 45em) {
body {
word-wrap: break-word;
}
@@ -318,9 +318,9 @@ footer {
}
}
@media print, screen and (max-width: 480px) {
@media print, screen and (max-width: 30em) {
body {
padding: 15px;
padding: 0.9375rem;
}
header ul {