From ab308b2a98d33b118e1cb25102d2051a3efbecfb Mon Sep 17 00:00:00 2001 From: casjay Date: Sun, 22 Nov 2026 14:42:44 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Use=20rem=20units=20and=20one=20?= =?UTF-8?q?footer=20text=20size=20=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- wwwroot/css/bs.plain.css | 442 +++++++++++++++++----------------- wwwroot/css/cookieconsent.css | 2 +- wwwroot/css/errorpages.css | 106 ++++---- wwwroot/css/index.css | 38 +-- wwwroot/index.php | 2 +- 5 files changed, 295 insertions(+), 295 deletions(-) diff --git a/wwwroot/css/bs.plain.css b/wwwroot/css/bs.plain.css index 0cda98f..bd45ecf 100644 --- a/wwwroot/css/bs.plain.css +++ b/wwwroot/css/bs.plain.css @@ -96,7 +96,7 @@ hr { opacity: 0.25; } hr:not([size]) { - height: 1px; + height: 0.0625rem; } .h1, .h2, @@ -119,7 +119,7 @@ h6 { h1 { font-size: calc(1.375rem + 1.5vw); } -@media (min-width: 1200px) { +@media (min-width: 75em) { .h1, h1 { font-size: 2.5rem; @@ -129,7 +129,7 @@ h1 { h2 { font-size: calc(1.325rem + 0.9vw); } -@media (min-width: 1200px) { +@media (min-width: 75em) { .h2, h2 { font-size: 2rem; @@ -139,7 +139,7 @@ h2 { h3 { font-size: calc(1.3rem + 0.6vw); } -@media (min-width: 1200px) { +@media (min-width: 75em) { .h3, h3 { font-size: 1.75rem; @@ -149,7 +149,7 @@ h3 { h4 { font-size: calc(1.275rem + 0.3vw); } -@media (min-width: 1200px) { +@media (min-width: 75em) { .h4, h4 { font-size: 1.5rem; @@ -384,7 +384,7 @@ legend { font-size: calc(1.275rem + 0.3vw); line-height: inherit; } -@media (min-width: 1200px) { +@media (min-width: 75em) { legend { font-size: 1.5rem; } @@ -405,7 +405,7 @@ legend + * { height: auto; } [type='search'] { - outline-offset: -2px; + outline-offset: -0.125rem; -webkit-appearance: textfield; } ::-webkit-search-decoration { @@ -449,7 +449,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-1 { font-size: 5rem; } @@ -459,7 +459,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-2 { font-size: 4.5rem; } @@ -469,7 +469,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-3 { font-size: 4rem; } @@ -479,7 +479,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-4 { font-size: 3.5rem; } @@ -489,7 +489,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-5 { font-size: 3rem; } @@ -499,7 +499,7 @@ progress { font-weight: 300; line-height: 1.2; } -@media (min-width: 1200px) { +@media (min-width: 75em) { .display-6 { font-size: 2.5rem; } @@ -545,7 +545,7 @@ progress { .img-thumbnail { padding: 0.25rem; background-color: #fff; - border: 1px solid #dee2e6; + border: 0.0625rem solid #dee2e6; border-radius: 0.25rem; max-width: 100%; height: auto; @@ -574,44 +574,44 @@ progress { margin-right: auto; margin-left: auto; } -@media (min-width: 576px) { +@media (min-width: 36em) { .container, .container-sm { - max-width: 540px; + max-width: 33.75rem; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .container, .container-md, .container-sm { - max-width: 720px; + max-width: 45rem; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .container, .container-lg, .container-md, .container-sm { - max-width: 960px; + max-width: 60rem; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .container, .container-lg, .container-md, .container-sm, .container-xl { - max-width: 1140px; + max-width: 71.25rem; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl { - max-width: 1320px; + max-width: 82.5rem; } } .row { @@ -795,7 +795,7 @@ progress { .gy-5 { --bs-gutter-y: 3rem; } -@media (min-width: 576px) { +@media (min-width: 36em) { .col-sm { flex: 1 0 0%; } @@ -964,7 +964,7 @@ progress { --bs-gutter-y: 3rem; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .col-md { flex: 1 0 0%; } @@ -1133,7 +1133,7 @@ progress { --bs-gutter-y: 3rem; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .col-lg { flex: 1 0 0%; } @@ -1302,7 +1302,7 @@ progress { --bs-gutter-y: 3rem; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .col-xl { flex: 1 0 0%; } @@ -1471,7 +1471,7 @@ progress { --bs-gutter-y: 3rem; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .col-xxl { flex: 1 0 0%; } @@ -1658,8 +1658,8 @@ progress { .table > :not(caption) > * > * { padding: 0.5rem 0.5rem; background-color: var(--bs-table-bg); - border-bottom-width: 1px; - box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); + border-bottom-width: 0.0625rem; + box-shadow: inset 0 0 0 624.9375rem var(--bs-table-accent-bg); } .table > tbody { vertical-align: inherit; @@ -1668,7 +1668,7 @@ progress { vertical-align: bottom; } .table > :not(:first-child) { - border-top: 2px solid currentColor; + border-top: 0.125rem solid currentColor; } .caption-top { caption-side: top; @@ -1677,10 +1677,10 @@ progress { padding: 0.25rem 0.25rem; } .table-bordered > :not(caption) > * { - border-width: 1px 0; + border-width: 0.0625rem 0; } .table-bordered > :not(caption) > * > * { - border-width: 0 1px; + border-width: 0 0.0625rem; } .table-borderless > :not(caption) > * > * { border-bottom-width: 0; @@ -1792,31 +1792,31 @@ progress { overflow-x: auto; -webkit-overflow-scrolling: touch; } -@media (max-width: 575.98px) { +@media (max-width: 35.99875em) { .table-responsive-sm { overflow-x: auto; -webkit-overflow-scrolling: touch; } } -@media (max-width: 767.98px) { +@media (max-width: 47.99875em) { .table-responsive-md { overflow-x: auto; -webkit-overflow-scrolling: touch; } } -@media (max-width: 991.98px) { +@media (max-width: 61.99875em) { .table-responsive-lg { overflow-x: auto; -webkit-overflow-scrolling: touch; } } -@media (max-width: 1199.98px) { +@media (max-width: 74.99875em) { .table-responsive-xl { overflow-x: auto; -webkit-overflow-scrolling: touch; } } -@media (max-width: 1399.98px) { +@media (max-width: 87.49875em) { .table-responsive-xxl { overflow-x: auto; -webkit-overflow-scrolling: touch; @@ -1826,20 +1826,20 @@ progress { margin-bottom: 0.5rem; } .col-form-label { - padding-top: calc(0.375rem + 1px); - padding-bottom: calc(0.375rem + 1px); + padding-top: calc(0.375rem + 0.0625rem); + padding-bottom: calc(0.375rem + 0.0625rem); margin-bottom: 0; font-size: inherit; line-height: 1.5; } .col-form-label-lg { - padding-top: calc(0.5rem + 1px); - padding-bottom: calc(0.5rem + 1px); + padding-top: calc(0.5rem + 0.0625rem); + padding-bottom: calc(0.5rem + 0.0625rem); font-size: 1.25rem; } .col-form-label-sm { - padding-top: calc(0.25rem + 1px); - padding-bottom: calc(0.25rem + 1px); + padding-top: calc(0.25rem + 0.0625rem); + padding-bottom: calc(0.25rem + 0.0625rem); font-size: 0.875rem; } .form-text { @@ -1857,7 +1857,7 @@ progress { color: #212529; background-color: #fff; background-clip: padding-box; - border: 1px solid #ced4da; + border: 0.0625rem solid #ced4da; -webkit-appearance: none; -moz-appearance: none; appearance: none; @@ -1909,7 +1909,7 @@ progress { border-color: inherit; border-style: solid; border-width: 0; - border-inline-end-width: 1px; + border-inline-end-width: 0.0625rem; border-radius: 0; -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, @@ -1928,7 +1928,7 @@ progress { border-color: inherit; border-style: solid; border-width: 0; - border-inline-end-width: 1px; + border-inline-end-width: 0.0625rem; border-radius: 0; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; @@ -1959,7 +1959,7 @@ progress { border-color: inherit; border-style: solid; border-width: 0; - border-inline-end-width: 1px; + border-inline-end-width: 0.0625rem; border-radius: 0; -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, @@ -1985,7 +1985,7 @@ progress { color: #212529; background-color: transparent; border: solid transparent; - border-width: 1px 0; + border-width: 0.0625rem 0; } .form-control-plaintext.form-control-lg, .form-control-plaintext.form-control-sm { @@ -1993,7 +1993,7 @@ progress { padding-left: 0; } .form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); + min-height: calc(1.5em + 0.5rem + 0.125rem); padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.2rem; @@ -2017,7 +2017,7 @@ progress { margin-inline-end: 0.5rem; } .form-control-lg { - min-height: calc(1.5em + 1rem + 2px); + min-height: calc(1.5em + 1rem + 0.125rem); padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.3rem; @@ -2041,13 +2041,13 @@ progress { margin-inline-end: 1rem; } textarea.form-control { - min-height: calc(1.5em + 0.75rem + 2px); + min-height: calc(1.5em + 0.75rem + 0.125rem); } textarea.form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); + min-height: calc(1.5em + 0.5rem + 0.125rem); } textarea.form-control-lg { - min-height: calc(1.5em + 1rem + 2px); + min-height: calc(1.5em + 1rem + 0.125rem); } .form-control-color { width: 3rem; @@ -2069,7 +2069,7 @@ textarea.form-control-lg { display: block; width: 100%; padding: 0.375rem 2.25rem 0.375rem 0.75rem; - -moz-padding-start: calc(0.75rem - 3px); + -moz-padding-start: calc(0.75rem - 0.1875rem); font-size: 1rem; font-weight: 400; line-height: 1.5; @@ -2078,8 +2078,8 @@ textarea.form-control-lg { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; - background-size: 16px 12px; - border: 1px solid #ced4da; + background-size: 1rem 0.75rem; + border: 0.0625rem solid #ced4da; border-radius: 0.25rem; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; -webkit-appearance: none; @@ -2141,7 +2141,7 @@ textarea.form-control-lg { background-repeat: no-repeat; background-position: center; background-size: contain; - border: 1px solid rgba(0, 0, 0, 0.25); + border: 0.0625rem solid rgba(0, 0, 0, 0.25); -webkit-appearance: none; -moz-appearance: none; appearance: none; @@ -2237,10 +2237,10 @@ textarea.form-control-lg { outline: 0; } .form-range:focus::-webkit-slider-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); + box-shadow: 0 0 0 0.0625rem #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); } .form-range:focus::-moz-range-thumb { - box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); + box-shadow: 0 0 0 0.0625rem #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25); } .form-range::-moz-focus-outer { border: 0; @@ -2322,7 +2322,7 @@ textarea.form-control-lg { } .form-floating > .form-control, .form-floating > .form-select { - height: calc(3.5rem + 2px); + height: calc(3.5rem + 0.125rem); line-height: 1.25; } .form-floating > label { @@ -2332,7 +2332,7 @@ textarea.form-control-lg { height: 100%; padding: 1rem 0.75rem; pointer-events: none; - border: 1px solid transparent; + border: 0.0625rem solid transparent; transform-origin: 0 0; transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; } @@ -2417,7 +2417,7 @@ textarea.form-control-lg { text-align: center; white-space: nowrap; background-color: #e9ecef; - border: 1px solid #ced4da; + border: 0.0625rem solid #ced4da; border-radius: 0.25rem; } .input-group-lg > .btn, @@ -2454,7 +2454,7 @@ textarea.form-control-lg { } .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { - margin-left: -1px; + margin-left: -0.0625rem; border-top-left-radius: 0; border-bottom-left-radius: 0; } @@ -2516,7 +2516,7 @@ textarea.form-control.is-valid { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; - background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); + background-size: 1rem 0.75rem, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .form-select.is-valid:focus, .was-validated .form-select:valid:focus { @@ -2612,7 +2612,7 @@ textarea.form-control.is-invalid { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; - background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); + background-size: 1rem 0.75rem, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .form-select.is-invalid:focus, .was-validated .form-select:invalid:focus { @@ -2663,7 +2663,7 @@ textarea.form-control.is-invalid { -moz-user-select: none; user-select: none; background-color: transparent; - border: 1px solid transparent; + border: 0.0625rem solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; border-radius: 0.25rem; @@ -3366,7 +3366,7 @@ fieldset:disabled .btn { list-style: none; background-color: #fff; background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.15); + border: 0.0625rem solid rgba(0, 0, 0, 0.15); border-radius: 0.25rem; } .dropdown-menu[data-bs-popper] { @@ -3388,7 +3388,7 @@ fieldset:disabled .btn { right: 0; left: auto; } -@media (min-width: 576px) { +@media (min-width: 36em) { .dropdown-menu-sm-start { --bs-position: start; } @@ -3404,7 +3404,7 @@ fieldset:disabled .btn { left: auto; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .dropdown-menu-md-start { --bs-position: start; } @@ -3420,7 +3420,7 @@ fieldset:disabled .btn { left: auto; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .dropdown-menu-lg-start { --bs-position: start; } @@ -3436,7 +3436,7 @@ fieldset:disabled .btn { left: auto; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .dropdown-menu-xl-start { --bs-position: start; } @@ -3452,7 +3452,7 @@ fieldset:disabled .btn { left: auto; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .dropdown-menu-xxl-start { --bs-position: start; } @@ -3545,7 +3545,7 @@ fieldset:disabled .btn { height: 0; margin: 0.5rem 0; overflow: hidden; - border-top: 1px solid rgba(0, 0, 0, 0.15); + border-top: 0.0625rem solid rgba(0, 0, 0, 0.15); } .dropdown-item { display: block; @@ -3659,7 +3659,7 @@ fieldset:disabled .btn { } .btn-group > .btn-group:not(:first-child), .btn-group > .btn:not(:first-child) { - margin-left: -1px; + margin-left: -0.0625rem; } .btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) { @@ -3705,7 +3705,7 @@ fieldset:disabled .btn { } .btn-group-vertical > .btn-group:not(:first-child), .btn-group-vertical > .btn:not(:first-child) { - margin-top: -1px; + margin-top: -0.0625rem; } .btn-group-vertical > .btn-group:not(:last-child) > .btn, .btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle) { @@ -3747,12 +3747,12 @@ fieldset:disabled .btn { cursor: default; } .nav-tabs { - border-bottom: 1px solid #dee2e6; + border-bottom: 0.0625rem solid #dee2e6; } .nav-tabs .nav-link { - margin-bottom: -1px; + margin-bottom: -0.0625rem; background: 0 0; - border: 1px solid transparent; + border: 0.0625rem solid transparent; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; } @@ -3773,7 +3773,7 @@ fieldset:disabled .btn { border-color: #dee2e6 #dee2e6 #fff; } .nav-tabs .dropdown-menu { - margin-top: -1px; + margin-top: -0.0625rem; border-top-left-radius: 0; border-top-right-radius: 0; } @@ -3865,7 +3865,7 @@ fieldset:disabled .btn { font-size: 1.25rem; line-height: 1; background-color: transparent; - border: 1px solid transparent; + border: 0.0625rem solid transparent; border-radius: 0.25rem; transition: box-shadow 0.15s ease-in-out; } @@ -3895,7 +3895,7 @@ fieldset:disabled .btn { max-height: var(--bs-scroll-height, 75vh); overflow-y: auto; } -@media (min-width: 576px) { +@media (min-width: 36em) { .navbar-expand-sm { flex-wrap: nowrap; justify-content: flex-start; @@ -3948,7 +3948,7 @@ fieldset:disabled .btn { overflow-y: visible; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .navbar-expand-md { flex-wrap: nowrap; justify-content: flex-start; @@ -4001,7 +4001,7 @@ fieldset:disabled .btn { overflow-y: visible; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .navbar-expand-lg { flex-wrap: nowrap; justify-content: flex-start; @@ -4054,7 +4054,7 @@ fieldset:disabled .btn { overflow-y: visible; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .navbar-expand-xl { flex-wrap: nowrap; justify-content: flex-start; @@ -4107,7 +4107,7 @@ fieldset:disabled .btn { overflow-y: visible; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .navbar-expand-xxl { flex-wrap: nowrap; justify-content: flex-start; @@ -4291,7 +4291,7 @@ fieldset:disabled .btn { word-wrap: break-word; background-color: #fff; background-clip: border-box; - border: 1px solid rgba(0, 0, 0, 0.125); + border: 0.0625rem solid rgba(0, 0, 0, 0.125); border-radius: 0.25rem; } .card > hr { @@ -4304,13 +4304,13 @@ fieldset:disabled .btn { } .card > .list-group:first-child { border-top-width: 0; - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); + border-top-left-radius: calc(0.25rem - 0.0625rem); + border-top-right-radius: calc(0.25rem - 0.0625rem); } .card > .list-group:last-child { border-bottom-width: 0; - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); + border-bottom-right-radius: calc(0.25rem - 0.0625rem); + border-bottom-left-radius: calc(0.25rem - 0.0625rem); } .card > .card-header + .list-group, .card > .list-group + .card-footer { @@ -4337,18 +4337,18 @@ fieldset:disabled .btn { padding: 0.5rem 1rem; margin-bottom: 0; background-color: rgba(0, 0, 0, 0.03); - border-bottom: 1px solid rgba(0, 0, 0, 0.125); + border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.125); } .card-header:first-child { - border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; + border-radius: calc(0.25rem - 0.0625rem) calc(0.25rem - 0.0625rem) 0 0; } .card-footer { padding: 0.5rem 1rem; background-color: rgba(0, 0, 0, 0.03); - border-top: 1px solid rgba(0, 0, 0, 0.125); + border-top: 0.0625rem solid rgba(0, 0, 0, 0.125); } .card-footer:last-child { - border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px); + border-radius: 0 0 calc(0.25rem - 0.0625rem) calc(0.25rem - 0.0625rem); } .card-header-tabs { margin-right: -0.5rem; @@ -4367,7 +4367,7 @@ fieldset:disabled .btn { bottom: 0; left: 0; padding: 1rem; - border-radius: calc(0.25rem - 1px); + border-radius: calc(0.25rem - 0.0625rem); } .card-img, .card-img-bottom, @@ -4376,18 +4376,18 @@ fieldset:disabled .btn { } .card-img, .card-img-top { - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); + border-top-left-radius: calc(0.25rem - 0.0625rem); + border-top-right-radius: calc(0.25rem - 0.0625rem); } .card-img, .card-img-bottom { - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); + border-bottom-right-radius: calc(0.25rem - 0.0625rem); + border-bottom-left-radius: calc(0.25rem - 0.0625rem); } .card-group > .card { margin-bottom: 0.75rem; } -@media (min-width: 576px) { +@media (min-width: 36em) { .card-group { display: flex; flex-flow: row wrap; @@ -4450,7 +4450,7 @@ fieldset:disabled .btn { .accordion-button:not(.collapsed) { color: #0c63e4; background-color: #e7f1ff; - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125); + box-shadow: inset 0 -0.0625rem 0 rgba(0, 0, 0, 0.125); } .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); @@ -4486,15 +4486,15 @@ fieldset:disabled .btn { } .accordion-item { background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.125); + border: 0.0625rem solid rgba(0, 0, 0, 0.125); } .accordion-item:first-of-type { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; } .accordion-item:first-of-type .accordion-button { - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); + border-top-left-radius: calc(0.25rem - 0.0625rem); + border-top-right-radius: calc(0.25rem - 0.0625rem); } .accordion-item:not(:first-of-type) { border-top: 0; @@ -4504,8 +4504,8 @@ fieldset:disabled .btn { border-bottom-left-radius: 0.25rem; } .accordion-item:last-of-type .accordion-button.collapsed { - border-bottom-right-radius: calc(0.25rem - 1px); - border-bottom-left-radius: calc(0.25rem - 1px); + border-bottom-right-radius: calc(0.25rem - 0.0625rem); + border-bottom-left-radius: calc(0.25rem - 0.0625rem); } .accordion-item:last-of-type .accordion-collapse { border-bottom-right-radius: 0.25rem; @@ -4561,7 +4561,7 @@ fieldset:disabled .btn { color: #0d6efd; text-decoration: none; background-color: #fff; - border: 1px solid #dee2e6; + border: 0.0625rem solid #dee2e6; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @@ -4584,7 +4584,7 @@ fieldset:disabled .btn { box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); } .page-item:not(:first-child) .page-link { - margin-left: -1px; + margin-left: -0.0625rem; } .page-item.active .page-link { z-index: 3; @@ -4650,13 +4650,13 @@ fieldset:disabled .btn { } .btn .badge { position: relative; - top: -1px; + top: -0.0625rem; } .alert { position: relative; padding: 1rem 1rem; margin-bottom: 1rem; - border: 1px solid transparent; + border: 0.0625rem solid transparent; border-radius: 0.25rem; } .alert-heading { @@ -4834,7 +4834,7 @@ fieldset:disabled .btn { color: #212529; text-decoration: none; background-color: #fff; - border: 1px solid rgba(0, 0, 0, 0.125); + border: 0.0625rem solid rgba(0, 0, 0, 0.125); } .list-group-item:first-child { border-top-left-radius: inherit; @@ -4860,8 +4860,8 @@ fieldset:disabled .btn { border-top-width: 0; } .list-group-item + .list-group-item.active { - margin-top: -1px; - border-top-width: 1px; + margin-top: -0.0625rem; + border-top-width: 0.0625rem; } .list-group-horizontal { flex-direction: row; @@ -4878,14 +4878,14 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } -@media (min-width: 576px) { +@media (min-width: 36em) { .list-group-horizontal-sm { flex-direction: row; } @@ -4901,15 +4901,15 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal-sm > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal-sm > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .list-group-horizontal-md { flex-direction: row; } @@ -4925,15 +4925,15 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal-md > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal-md > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .list-group-horizontal-lg { flex-direction: row; } @@ -4949,15 +4949,15 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal-lg > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal-lg > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .list-group-horizontal-xl { flex-direction: row; } @@ -4973,15 +4973,15 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal-xl > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal-xl > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .list-group-horizontal-xxl { flex-direction: row; } @@ -4997,19 +4997,19 @@ fieldset:disabled .btn { margin-top: 0; } .list-group-horizontal-xxl > .list-group-item + .list-group-item { - border-top-width: 1px; + border-top-width: 0.0625rem; border-left-width: 0; } .list-group-horizontal-xxl > .list-group-item + .list-group-item.active { - margin-left: -1px; - border-left-width: 1px; + margin-left: -0.0625rem; + border-left-width: 0.0625rem; } } .list-group-flush { border-radius: 0; } .list-group-flush > .list-group-item { - border-width: 0 0 1px; + border-width: 0 0 0.0625rem; } .list-group-flush > .list-group-item:last-child { border-bottom-width: 0; @@ -5161,13 +5161,13 @@ fieldset:disabled .btn { filter: invert(1) grayscale(100%) brightness(200%); } .toast { - width: 350px; + width: 21.875rem; max-width: 100%; font-size: 0.875rem; pointer-events: auto; background-color: rgba(255, 255, 255, 0.85); background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.1); + border: 0.0625rem solid rgba(0, 0, 0, 0.1); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); border-radius: 0.25rem; } @@ -5194,9 +5194,9 @@ fieldset:disabled .btn { color: #6c757d; background-color: rgba(255, 255, 255, 0.85); background-clip: padding-box; - border-bottom: 1px solid rgba(0, 0, 0, 0.05); - border-top-left-radius: calc(0.25rem - 1px); - border-top-right-radius: calc(0.25rem - 1px); + border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.05); + border-top-left-radius: calc(0.25rem - 0.0625rem); + border-top-right-radius: calc(0.25rem - 0.0625rem); } .toast-header .btn-close { margin-right: -0.375rem; @@ -5226,7 +5226,7 @@ fieldset:disabled .btn { } .modal.fade .modal-dialog { transition: transform 0.3s ease-out; - transform: translate(0, -50px); + transform: translate(0, -3.125rem); } @media (prefers-reduced-motion: reduce) { .modal.fade .modal-dialog { @@ -5262,7 +5262,7 @@ fieldset:disabled .btn { pointer-events: auto; background-color: #fff; background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); + border: 0.0625rem solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; outline: 0; } @@ -5287,9 +5287,9 @@ fieldset:disabled .btn { align-items: center; justify-content: space-between; padding: 1rem 1rem; - border-bottom: 1px solid #dee2e6; - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); + border-bottom: 0.0625rem solid #dee2e6; + border-top-left-radius: calc(0.3rem - 0.0625rem); + border-top-right-radius: calc(0.3rem - 0.0625rem); } .modal-header .btn-close { padding: 0.5rem 0.5rem; @@ -5311,16 +5311,16 @@ fieldset:disabled .btn { align-items: center; justify-content: flex-end; padding: 0.75rem; - border-top: 1px solid #dee2e6; - border-bottom-right-radius: calc(0.3rem - 1px); - border-bottom-left-radius: calc(0.3rem - 1px); + border-top: 0.0625rem solid #dee2e6; + border-bottom-right-radius: calc(0.3rem - 0.0625rem); + border-bottom-left-radius: calc(0.3rem - 0.0625rem); } .modal-footer > * { margin: 0.25rem; } -@media (min-width: 576px) { +@media (min-width: 36em) { .modal-dialog { - max-width: 500px; + max-width: 31.25rem; margin: 1.75rem auto; } .modal-dialog-scrollable { @@ -5330,18 +5330,18 @@ fieldset:disabled .btn { min-height: calc(100% - 3.5rem); } .modal-sm { - max-width: 300px; + max-width: 18.75rem; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .modal-lg, .modal-xl { - max-width: 800px; + max-width: 50rem; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .modal-xl { - max-width: 1140px; + max-width: 71.25rem; } } .modal-fullscreen { @@ -5364,7 +5364,7 @@ fieldset:disabled .btn { .modal-fullscreen .modal-footer { border-radius: 0; } -@media (max-width: 575.98px) { +@media (max-width: 35.99875em) { .modal-fullscreen-sm-down { width: 100vw; max-width: none; @@ -5386,7 +5386,7 @@ fieldset:disabled .btn { border-radius: 0; } } -@media (max-width: 767.98px) { +@media (max-width: 47.99875em) { .modal-fullscreen-md-down { width: 100vw; max-width: none; @@ -5408,7 +5408,7 @@ fieldset:disabled .btn { border-radius: 0; } } -@media (max-width: 991.98px) { +@media (max-width: 61.99875em) { .modal-fullscreen-lg-down { width: 100vw; max-width: none; @@ -5430,7 +5430,7 @@ fieldset:disabled .btn { border-radius: 0; } } -@media (max-width: 1199.98px) { +@media (max-width: 74.99875em) { .modal-fullscreen-xl-down { width: 100vw; max-width: none; @@ -5452,7 +5452,7 @@ fieldset:disabled .btn { border-radius: 0; } } -@media (max-width: 1399.98px) { +@media (max-width: 87.49875em) { .modal-fullscreen-xxl-down { width: 100vw; max-width: none; @@ -5522,7 +5522,7 @@ fieldset:disabled .btn { } .bs-tooltip-auto[data-popper-placement^='top'] .tooltip-arrow::before, .bs-tooltip-top .tooltip-arrow::before { - top: -1px; + top: -0.0625rem; border-width: 0.4rem 0.4rem 0; border-top-color: #000; } @@ -5538,7 +5538,7 @@ fieldset:disabled .btn { } .bs-tooltip-auto[data-popper-placement^='right'] .tooltip-arrow::before, .bs-tooltip-end .tooltip-arrow::before { - right: -1px; + right: -0.0625rem; border-width: 0.4rem 0.4rem 0.4rem 0; border-right-color: #000; } @@ -5552,7 +5552,7 @@ fieldset:disabled .btn { } .bs-tooltip-auto[data-popper-placement^='bottom'] .tooltip-arrow::before, .bs-tooltip-bottom .tooltip-arrow::before { - bottom: -1px; + bottom: -0.0625rem; border-width: 0 0.4rem 0.4rem; border-bottom-color: #000; } @@ -5568,12 +5568,12 @@ fieldset:disabled .btn { } .bs-tooltip-auto[data-popper-placement^='left'] .tooltip-arrow::before, .bs-tooltip-start .tooltip-arrow::before { - left: -1px; + left: -0.0625rem; border-width: 0.4rem 0 0.4rem 0.4rem; border-left-color: #000; } .tooltip-inner { - max-width: 200px; + max-width: 12.5rem; padding: 0.25rem 0.5rem; color: #fff; text-align: center; @@ -5586,7 +5586,7 @@ fieldset:disabled .btn { left: 0; z-index: 1070; display: block; - max-width: 276px; + max-width: 17.25rem; font-family: var(--bs-font-sans-serif); font-style: normal; font-weight: 400; @@ -5605,7 +5605,7 @@ fieldset:disabled .btn { word-wrap: break-word; background-color: #fff; background-clip: padding-box; - border: 1px solid rgba(0, 0, 0, 0.2); + border: 0.0625rem solid rgba(0, 0, 0, 0.2); border-radius: 0.3rem; } .popover .popover-arrow { @@ -5624,7 +5624,7 @@ fieldset:disabled .btn { } .bs-popover-auto[data-popper-placement^='top'] > .popover-arrow, .bs-popover-top > .popover-arrow { - bottom: calc(-0.5rem - 1px); + bottom: calc(-0.5rem - 0.0625rem); } .bs-popover-auto[data-popper-placement^='top'] > .popover-arrow::before, .bs-popover-top > .popover-arrow::before { @@ -5634,13 +5634,13 @@ fieldset:disabled .btn { } .bs-popover-auto[data-popper-placement^='top'] > .popover-arrow::after, .bs-popover-top > .popover-arrow::after { - bottom: 1px; + bottom: 0.0625rem; border-width: 0.5rem 0.5rem 0; border-top-color: #fff; } .bs-popover-auto[data-popper-placement^='right'] > .popover-arrow, .bs-popover-end > .popover-arrow { - left: calc(-0.5rem - 1px); + left: calc(-0.5rem - 0.0625rem); width: 0.5rem; height: 1rem; } @@ -5652,13 +5652,13 @@ fieldset:disabled .btn { } .bs-popover-auto[data-popper-placement^='right'] > .popover-arrow::after, .bs-popover-end > .popover-arrow::after { - left: 1px; + left: 0.0625rem; border-width: 0.5rem 0.5rem 0.5rem 0; border-right-color: #fff; } .bs-popover-auto[data-popper-placement^='bottom'] > .popover-arrow, .bs-popover-bottom > .popover-arrow { - top: calc(-0.5rem - 1px); + top: calc(-0.5rem - 0.0625rem); } .bs-popover-auto[data-popper-placement^='bottom'] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::before { @@ -5668,7 +5668,7 @@ fieldset:disabled .btn { } .bs-popover-auto[data-popper-placement^='bottom'] > .popover-arrow::after, .bs-popover-bottom > .popover-arrow::after { - top: 1px; + top: 0.0625rem; border-width: 0 0.5rem 0.5rem 0.5rem; border-bottom-color: #fff; } @@ -5681,11 +5681,11 @@ fieldset:disabled .btn { width: 1rem; margin-left: -0.5rem; content: ''; - border-bottom: 1px solid #f0f0f0; + border-bottom: 0.0625rem solid #f0f0f0; } .bs-popover-auto[data-popper-placement^='left'] > .popover-arrow, .bs-popover-start > .popover-arrow { - right: calc(-0.5rem - 1px); + right: calc(-0.5rem - 0.0625rem); width: 0.5rem; height: 1rem; } @@ -5697,7 +5697,7 @@ fieldset:disabled .btn { } .bs-popover-auto[data-popper-placement^='left'] > .popover-arrow::after, .bs-popover-start > .popover-arrow::after { - right: 1px; + right: 0.0625rem; border-width: 0.5rem 0 0.5rem 0.5rem; border-left-color: #fff; } @@ -5706,9 +5706,9 @@ fieldset:disabled .btn { margin-bottom: 0; font-size: 1rem; background-color: #f0f0f0; - border-bottom: 1px solid rgba(0, 0, 0, 0.2); - border-top-left-radius: calc(0.3rem - 1px); - border-top-right-radius: calc(0.3rem - 1px); + border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.2); + border-top-left-radius: calc(0.3rem - 0.0625rem); + border-top-right-radius: calc(0.3rem - 0.0625rem); } .popover-header:empty { display: none; @@ -5855,18 +5855,18 @@ fieldset:disabled .btn { .carousel-indicators [data-bs-target] { box-sizing: content-box; flex: 0 1 auto; - width: 30px; - height: 3px; + width: 1.875rem; + height: 0.1875rem; padding: 0; - margin-right: 3px; - margin-left: 3px; - text-indent: -999px; + margin-right: 0.1875rem; + margin-left: 0.1875rem; + text-indent: -62.4375rem; cursor: pointer; background-color: #fff; background-clip: padding-box; border: 0; - border-top: 10px solid transparent; - border-bottom: 10px solid transparent; + border-top: 0.625rem solid transparent; + border-bottom: 0.625rem solid transparent; opacity: 0.5; transition: opacity 0.6s ease; } @@ -6021,15 +6021,15 @@ fieldset:disabled .btn { .offcanvas-start { top: 0; left: 0; - width: 400px; - border-right: 1px solid rgba(0, 0, 0, 0.2); + width: 25rem; + border-right: 0.0625rem solid rgba(0, 0, 0, 0.2); transform: translateX(-100%); } .offcanvas-end { top: 0; right: 0; - width: 400px; - border-left: 1px solid rgba(0, 0, 0, 0.2); + width: 25rem; + border-left: 0.0625rem solid rgba(0, 0, 0, 0.2); transform: translateX(100%); } .offcanvas-top { @@ -6038,7 +6038,7 @@ fieldset:disabled .btn { left: 0; height: 30vh; max-height: 100%; - border-bottom: 1px solid rgba(0, 0, 0, 0.2); + border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.2); transform: translateY(-100%); } .offcanvas-bottom { @@ -6046,7 +6046,7 @@ fieldset:disabled .btn { left: 0; height: 30vh; max-height: 100%; - border-top: 1px solid rgba(0, 0, 0, 0.2); + border-top: 0.0625rem solid rgba(0, 0, 0, 0.2); transform: translateY(100%); } .offcanvas.show { @@ -6226,7 +6226,7 @@ fieldset:disabled .btn { top: 0; z-index: 1020; } -@media (min-width: 576px) { +@media (min-width: 36em) { .sticky-sm-top { position: -webkit-sticky; position: sticky; @@ -6234,7 +6234,7 @@ fieldset:disabled .btn { z-index: 1020; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .sticky-md-top { position: -webkit-sticky; position: sticky; @@ -6242,7 +6242,7 @@ fieldset:disabled .btn { z-index: 1020; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .sticky-lg-top { position: -webkit-sticky; position: sticky; @@ -6250,7 +6250,7 @@ fieldset:disabled .btn { z-index: 1020; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .sticky-xl-top { position: -webkit-sticky; position: sticky; @@ -6258,7 +6258,7 @@ fieldset:disabled .btn { z-index: 1020; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .sticky-xxl-top { position: -webkit-sticky; position: sticky; @@ -6281,10 +6281,10 @@ fieldset:disabled .btn { .visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; - width: 1px !important; - height: 1px !important; + width: 0.0625rem !important; + height: 0.0625rem !important; padding: 0 !important; - margin: -1px !important; + margin: -0.0625rem !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; @@ -6307,7 +6307,7 @@ fieldset:disabled .btn { .vr { display: inline-block; align-self: stretch; - width: 1px; + width: 0.0625rem; min-height: 1em; background-color: currentColor; opacity: 0.25; @@ -6470,31 +6470,31 @@ fieldset:disabled .btn { transform: translateY(-50%) !important; } .border { - border: 1px solid #dee2e6 !important; + border: 0.0625rem solid #dee2e6 !important; } .border-0 { border: 0 !important; } .border-top { - border-top: 1px solid #dee2e6 !important; + border-top: 0.0625rem solid #dee2e6 !important; } .border-top-0 { border-top: 0 !important; } .border-end { - border-right: 1px solid #dee2e6 !important; + border-right: 0.0625rem solid #dee2e6 !important; } .border-end-0 { border-right: 0 !important; } .border-bottom { - border-bottom: 1px solid #dee2e6 !important; + border-bottom: 0.0625rem solid #dee2e6 !important; } .border-bottom-0 { border-bottom: 0 !important; } .border-start { - border-left: 1px solid #dee2e6 !important; + border-left: 0.0625rem solid #dee2e6 !important; } .border-start-0 { border-left: 0 !important; @@ -6527,19 +6527,19 @@ fieldset:disabled .btn { border-color: #fff !important; } .border-1 { - border-width: 1px !important; + border-width: 0.0625rem !important; } .border-2 { - border-width: 2px !important; + border-width: 0.125rem !important; } .border-3 { - border-width: 3px !important; + border-width: 0.1875rem !important; } .border-4 { - border-width: 4px !important; + border-width: 0.25rem !important; } .border-5 { - border-width: 5px !important; + border-width: 0.3125rem !important; } .w-25 { width: 25% !important; @@ -7343,7 +7343,7 @@ fieldset:disabled .btn { .invisible { visibility: hidden !important; } -@media (min-width: 576px) { +@media (min-width: 36em) { .float-sm-start { float: left !important; } @@ -7839,7 +7839,7 @@ fieldset:disabled .btn { text-align: center !important; } } -@media (min-width: 768px) { +@media (min-width: 48em) { .float-md-start { float: left !important; } @@ -8335,7 +8335,7 @@ fieldset:disabled .btn { text-align: center !important; } } -@media (min-width: 992px) { +@media (min-width: 62em) { .float-lg-start { float: left !important; } @@ -8831,7 +8831,7 @@ fieldset:disabled .btn { text-align: center !important; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .float-xl-start { float: left !important; } @@ -9327,7 +9327,7 @@ fieldset:disabled .btn { text-align: center !important; } } -@media (min-width: 1400px) { +@media (min-width: 87.5em) { .float-xxl-start { float: left !important; } @@ -9823,7 +9823,7 @@ fieldset:disabled .btn { text-align: center !important; } } -@media (min-width: 1200px) { +@media (min-width: 75em) { .fs-1 { font-size: 2.5rem !important; } diff --git a/wwwroot/css/cookieconsent.css b/wwwroot/css/cookieconsent.css index 60ecdfc..9e339d0 100644 --- a/wwwroot/css/cookieconsent.css +++ b/wwwroot/css/cookieconsent.css @@ -283,7 +283,7 @@ right: 0; box-sizing: border-box; } -@media screen and (min-width: 415px) { +@media screen and (min-width: 25.9375em) { .cc-window.cc-floating { bottom: 0; flex-direction: row; diff --git a/wwwroot/css/errorpages.css b/wwwroot/css/errorpages.css index 9a6e59c..dc38ffc 100644 --- a/wwwroot/css/errorpages.css +++ b/wwwroot/css/errorpages.css @@ -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 { diff --git a/wwwroot/css/index.css b/wwwroot/css/index.css index 946928e..9d28ea6 100644 --- a/wwwroot/css/index.css +++ b/wwwroot/css/index.css @@ -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 { diff --git a/wwwroot/index.php b/wwwroot/index.php index dcb587d..8e582f2 100644 --- a/wwwroot/index.php +++ b/wwwroot/index.php @@ -52,7 +52,7 @@ right: 0; box-sizing: border-box; } - @media screen and (min-width: 415px) { + @media screen and (min-width: 25.9375em) { .cc-window.cc-floating { bottom: 0; flex-direction: row;