Files
bind/rootfs/usr/share/httpd/default/css/errorpages.css
T
casjay e758b29f26
bind / release-bind (push) Failing after 1m27s
🎨 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.

- 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
2026-11-22 14:42:37 -05:00

338 lines
4.5 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Fira+Sans&display=swap');
body {
padding: 3.125rem;
font: 0.875rem/1.5 Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #777;
font-weight: 300;
padding: 1.5em 0;
}
/* Layout */
.jumbotron {
line-height: 2.1428571435;
color: inherit;
padding: 0.625rem 0;
}
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
background-color: transparent;
}
.jumbotron .btn {
font-size: 1.3125rem;
padding: 1.5em 2em;
}
/* Everything but the jumbotron gets side spacing for mobile-first views */
.masthead,
.body-content {
padding: 0 0.9375rem;
}
/* Colors */
.green {
color: green;
}
.orange {
color: orange;
}
.red {
color: red;
}
.blue {
color: blue;
}
.yellow {
color: yellow;
}
h2,
h3,
h4,
h5,
h6 {
color: #222;
margin: 0 0 2.5rem;
}
p,
ul,
ol,
table,
pre,
dl {
margin: 0 0 1.25rem;
}
h2,
h3 {
line-height: 1.1;
}
h1 {
line-height: 1.1;
text-align: center;
font: Lato;
font-size: 5rem;
color: #222;
margin: 0 0 2.5rem;
}
h2 {
color: #393939;
}
h3,
h4,
h5,
h6 {
color: #494949;
}
a {
color: #39c;
font-weight: 400;
text-decoration: none;
}
a small {
font-size: 0.6875rem;
color: #777;
margin-top: -0.6em;
display: block;
}
.wrapper {
width: 53.75rem;
margin: 0 auto;
}
blockquote {
border-left: 0.0625rem solid #e5e5e5;
margin: 0;
padding: 0 0 0 1.25rem;
font-style: italic;
}
.btn-block {
width: 40%;
text-align: center;
display: block;
margin: 0 auto;
}
code,
pre {
font-family: Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;
color: #333;
font-size: 0.75rem;
}
pre {
padding: 0.5rem 0.9375rem;
background: #f8f8f8;
border-radius: 0.3125rem;
border: 0.0625rem solid #e5e5e5;
overflow-x: auto;
}
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
text-align: left;
padding: 0.3125rem 0.625rem;
border-bottom: 0.0625rem solid #e5e5e5;
}
dt {
color: #444;
font-weight: 700;
}
th {
color: #444;
}
img {
max-width: 100%;
}
header {
width: 16.875rem;
float: left;
position: fixed;
}
header ul {
list-style: none;
height: 2.5rem;
padding: 0;
background: #eee;
background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
background: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0%, #f8f8f8),
color-stop(100%, #dddddd)
);
background: -webkit-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
background: -o-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
background: -ms-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
background: linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
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: 5.5625rem;
float: left;
border-right: 0.0625rem solid #d2d2d2;
height: 2.5rem;
}
header ul a {
line-height: 1;
font-size: 0.6875rem;
color: #999;
display: block;
text-align: center;
padding-top: 0.375rem;
height: 2.5rem;
}
strong {
color: #222;
font-weight: 700;
}
header ul li + li {
width: 5.5rem;
border-left: 0.0625rem solid #fff;
}
header ul li + li + li {
border-right: none;
width: 5.5625rem;
}
header ul a strong {
font-size: 0.875rem;
display: block;
color: #222;
}
section {
width: 31.25rem;
float: right;
padding-bottom: 3.125rem;
}
small {
font-size: 0.6875rem;
}
hr {
border: 0;
background: #e5e5e5;
height: 0.0625rem;
margin: 0 0 1.25rem;
}
footer {
width: 16.875rem;
float: left;
position: fixed;
bottom: 3.125rem;
}
@media print, screen and (max-width: 60em) {
div.wrapper {
width: auto;
margin: 0;
}
header,
section,
footer {
float: none;
position: static;
width: auto;
}
header {
padding-right: 20rem;
}
section {
border: 0.0625rem solid #e5e5e5;
border-width: 0.0625rem 0;
padding: 1.25rem 0;
margin: 0 0 1.25rem;
}
header a small {
display: inline;
}
header ul {
position: absolute;
right: 3.125rem;
top: 3.25rem;
}
}
@media print, screen and (max-width: 45em) {
body {
word-wrap: break-word;
}
header {
padding: 0;
}
header ul,
header p.view {
position: static;
}
pre,
code {
word-wrap: normal;
}
}
@media print, screen and (max-width: 30em) {
body {
padding: 0.9375rem;
}
header ul {
display: none;
}
}
@media print {
body {
padding: 0.4in;
font-size: 12pt;
color: #444;
}
}