2021-06-30 15:19:44 -04:00
|
|
|
@charset "UTF-8";
|
2022-07-10 16:40:09 -04:00
|
|
|
|
2022-01-16 17:33:05 -05:00
|
|
|
/* Styles for PEPs */
|
2021-06-30 15:19:44 -04:00
|
|
|
|
2022-04-28 11:49:31 -04:00
|
|
|
/*
|
2022-06-18 14:07:06 -04:00
|
|
|
* `initial` works like undefined variables, so `var(initial, x)` will resolve to `x`.
|
2022-04-28 11:49:31 -04:00
|
|
|
* A space means an empty value, so `var( , x) y` will resolve to `y`.
|
|
|
|
*/
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
|
|
|
--light: ;
|
|
|
|
--dark: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
:root {
|
|
|
|
--dark: ;
|
|
|
|
--light: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[data-colour_scheme="dark"] {
|
|
|
|
--light: ;
|
|
|
|
--dark: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[data-colour_scheme="light"] {
|
|
|
|
--dark: ;
|
|
|
|
--light: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Set master colours */
|
2022-01-16 17:33:05 -05:00
|
|
|
:root {
|
2023-01-24 00:53:08 -05:00
|
|
|
--colour-background: var(--light, white) var(--dark, #111);
|
2022-10-01 20:36:50 -04:00
|
|
|
--colour-background-accent-strong: var(--light, #ccc) var(--dark, #444);
|
|
|
|
--colour-background-accent-medium: var(--light, #ddd) var(--dark, #333);
|
|
|
|
--colour-background-accent-light: var(--light, #eee) var(--dark, #222);
|
2022-04-28 11:49:31 -04:00
|
|
|
--colour-text: var(--light, #333) var(--dark, #ccc);
|
2022-10-01 20:36:50 -04:00
|
|
|
--colour-text-strong: var(--light, #222) var(--dark, #ddd);
|
2022-07-06 14:59:41 -04:00
|
|
|
--colour-links: var(--light, #069) var(--dark, #8bf);
|
|
|
|
--colour-links-light: var(--light, #057) var(--dark, #acf);
|
2022-04-28 11:49:31 -04:00
|
|
|
--colour-scrollbar: var(--light, #ccc) var(--dark, #333);
|
|
|
|
--colour-rule-strong: var(--light, #888) var(--dark, #777);
|
|
|
|
--colour-rule-light: var(--light, #ddd) var(--dark, #222);
|
2022-10-01 20:36:50 -04:00
|
|
|
--colour-inline-code-bg: var(--light, #eee) var(--dark, #333);
|
|
|
|
--colour-inline-code-text: var(--light, #222) var(--dark, #ccc);
|
2022-07-06 14:59:41 -04:00
|
|
|
--colour-error: var(--light, #faa) var(--dark, #800);
|
|
|
|
--colour-warning: var(--light, #fca) var(--dark, #840);
|
|
|
|
--colour-caution: var(--light, #ffa) var(--dark, #550);
|
|
|
|
--colour-attention: var(--light, #bdf) var(--dark, #045);
|
|
|
|
--colour-tip: var(--light, #bfc) var(--dark, #041);
|
2022-04-28 11:49:31 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
img.invert-in-dark-mode {
|
2023-01-06 11:33:58 -05:00
|
|
|
filter: var(--dark, invert(1) hue-rotate(.5turn));
|
2022-01-16 17:33:05 -05:00
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
|
|
|
|
/* Set master rules */
|
|
|
|
* {box-sizing: border-box}
|
2022-01-16 17:33:05 -05:00
|
|
|
:root {color-scheme: light dark}
|
2021-06-30 15:19:44 -04:00
|
|
|
html {
|
|
|
|
overflow-y: scroll;
|
2023-05-31 05:10:38 -04:00
|
|
|
line-height: 1.5;
|
2021-06-30 15:19:44 -04:00
|
|
|
font-size: 1rem;
|
2023-05-31 05:10:38 -04:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
body {
|
|
|
|
margin: 0;
|
2022-01-16 17:33:05 -05:00
|
|
|
color: var(--colour-text);
|
|
|
|
background-color: var(--colour-background);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
section#pep-page-section {
|
2022-03-22 17:14:36 -04:00
|
|
|
padding: 0.25rem;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
|
2024-02-15 20:20:02 -05:00
|
|
|
/* This is likely very close to the browser default, but we make it a variable
|
|
|
|
* so it can be used in other rules. */
|
|
|
|
:root {
|
|
|
|
--paragraph-margin-vertical: 1em;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
margin: var(--paragraph-margin-vertical) 0;
|
|
|
|
}
|
|
|
|
|
2021-06-30 15:19:44 -04:00
|
|
|
/* Header rules */
|
2022-01-16 17:33:05 -05:00
|
|
|
h1 {
|
2021-06-30 15:19:44 -04:00
|
|
|
font-size: 2rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
h2 {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
h3 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
h4 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Anchor link rules */
|
|
|
|
a,
|
|
|
|
a:active,
|
|
|
|
a:visited {
|
2022-01-16 17:33:05 -05:00
|
|
|
color: var(--colour-links);
|
2021-06-30 15:19:44 -04:00
|
|
|
display: inline;
|
2022-03-22 17:14:36 -04:00
|
|
|
overflow-wrap: anywhere;
|
2022-08-28 15:55:26 -04:00
|
|
|
text-decoration-color: var(--colour-background-accent-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
a:hover,
|
|
|
|
a:focus {
|
2022-01-16 17:33:05 -05:00
|
|
|
text-decoration-color: var(--colour-rule-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Blockquote rules */
|
|
|
|
blockquote {
|
|
|
|
font-style: italic;
|
2022-01-16 17:33:05 -05:00
|
|
|
border-left: 1px solid var(--colour-rule-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
padding: .5rem 1rem;
|
|
|
|
}
|
|
|
|
blockquote em {
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
cite {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Code rules (code literals and Pygments highlighting blocks) */
|
2022-03-24 16:03:39 -04:00
|
|
|
code,
|
|
|
|
pre {
|
2023-05-31 05:10:38 -04:00
|
|
|
font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
|
2022-03-22 17:14:36 -04:00
|
|
|
font-size: 0.875rem;
|
2021-06-30 15:19:44 -04:00
|
|
|
-webkit-hyphens: none;
|
|
|
|
hyphens: none;
|
|
|
|
}
|
2022-03-22 17:14:36 -04:00
|
|
|
code {
|
|
|
|
overflow-wrap: anywhere;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
code.literal {
|
2022-10-01 20:36:50 -04:00
|
|
|
background-color: var(--colour-inline-code-bg);
|
|
|
|
color: var(--colour-inline-code-text);
|
2021-06-30 15:19:44 -04:00
|
|
|
font-size: .8em;
|
2022-10-01 20:36:50 -04:00
|
|
|
padding: 1px 2px 1px;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
pre {
|
2022-03-24 16:03:39 -04:00
|
|
|
overflow-x: auto;
|
2021-06-30 15:19:44 -04:00
|
|
|
padding: .5rem .75rem;
|
2022-03-24 16:03:39 -04:00
|
|
|
white-space: pre;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
|
2023-12-09 11:19:37 -05:00
|
|
|
.good pre {
|
|
|
|
border-left: 3px solid rgba(74, 182, 93, 1);
|
|
|
|
}
|
|
|
|
.bad pre {
|
|
|
|
border-left: 3px solid rgb(244, 76, 78);
|
|
|
|
}
|
|
|
|
.maybe pre {
|
|
|
|
border-left: 3px solid rgb(244, 227, 76);
|
|
|
|
}
|
|
|
|
|
2022-03-13 21:49:03 -04:00
|
|
|
/* Contents rules */
|
|
|
|
details > summary {
|
2022-03-22 17:14:36 -04:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 1.6rem;
|
2022-03-13 21:49:03 -04:00
|
|
|
font-weight: bold;
|
2022-03-22 17:14:36 -04:00
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
details > summary:hover {
|
|
|
|
text-decoration: underline;
|
2022-03-13 21:49:03 -04:00
|
|
|
}
|
|
|
|
|
2021-06-30 15:19:44 -04:00
|
|
|
/* Definition list rules */
|
|
|
|
dl dt {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2022-03-16 21:06:15 -04:00
|
|
|
dl dd {
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
|
|
|
|
/* Horizontal rule rule */
|
|
|
|
hr {
|
|
|
|
border: 0;
|
2022-01-16 17:33:05 -05:00
|
|
|
border-top: 1px solid var(--colour-rule-light);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2023-05-31 05:10:38 -04:00
|
|
|
/* Image rules */
|
2021-06-30 15:19:44 -04:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
a img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List rules */
|
|
|
|
ol.loweralpha {list-style: lower-alpha}
|
|
|
|
ol.upperalpha {list-style: upper-alpha}
|
|
|
|
ol.lowerroman {list-style: lower-roman}
|
|
|
|
ol.upperroman {list-style: upper-roman}
|
|
|
|
|
2024-02-15 20:20:02 -05:00
|
|
|
/* We can't express this as a single rule using `not(.simple)`, because when a
|
|
|
|
* simple list is nested inside another simple list, the inner list is not given
|
|
|
|
* a class. So instead we use two rules, one more specific than the other. */
|
|
|
|
#pep-content ol li,
|
|
|
|
#pep-content ul li {
|
|
|
|
margin: var(--paragraph-margin-vertical) 0;
|
|
|
|
}
|
|
|
|
#pep-content ol.simple li,
|
|
|
|
#pep-content ul.simple li {
|
|
|
|
margin: 0 0;
|
|
|
|
}
|
|
|
|
|
2021-06-30 15:19:44 -04:00
|
|
|
/* Maths rules */
|
|
|
|
sub,
|
|
|
|
sup {
|
|
|
|
font-size: .75em;
|
|
|
|
line-height: 0;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
|
|
|
sup {top: -0.5em}
|
|
|
|
sub {bottom: -0.25em}
|
|
|
|
|
|
|
|
/* Table rules */
|
2022-03-22 17:14:36 -04:00
|
|
|
div.table-wrapper {
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
2022-10-01 20:36:50 -04:00
|
|
|
border: 1px solid var(--colour-background-accent-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
table caption {
|
|
|
|
margin: 1rem 0 .75rem;
|
|
|
|
}
|
2022-10-01 20:36:50 -04:00
|
|
|
table thead tr {
|
|
|
|
background-color: var(--colour-background-accent-medium);
|
|
|
|
color: var(--colour-text-strong);
|
|
|
|
}
|
|
|
|
table tbody tr {
|
|
|
|
border-top: 1px solid var(--colour-background-accent-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
table th,
|
|
|
|
table td {
|
|
|
|
text-align: left;
|
|
|
|
padding: 0.25rem 0.5rem 0.2rem;
|
|
|
|
}
|
2022-10-22 03:43:36 -04:00
|
|
|
table.pep-zero-table tr td:nth-child(1),
|
2022-06-08 13:11:14 -04:00
|
|
|
table.pep-zero-table tr td:nth-child(2) {
|
2022-04-13 11:01:43 -04:00
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2022-10-01 20:36:50 -04:00
|
|
|
table th + th,
|
2021-06-30 15:19:44 -04:00
|
|
|
table td + td {
|
2022-10-01 20:36:50 -04:00
|
|
|
border-left: 1px solid var(--colour-background-accent-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2023-09-01 12:51:46 -04:00
|
|
|
/* Common column widths for PEP status tables */
|
|
|
|
table.pep-zero-table tr td:nth-child(1) {
|
2023-09-27 10:16:17 -04:00
|
|
|
width: 5%;
|
2023-09-01 12:51:46 -04:00
|
|
|
}
|
|
|
|
table.pep-zero-table tr td:nth-child(2) {
|
2023-09-27 10:16:17 -04:00
|
|
|
width: 7%;
|
2023-09-01 12:51:46 -04:00
|
|
|
}
|
|
|
|
table.pep-zero-table tr td:nth-child(3),
|
|
|
|
table.pep-zero-table tr td:nth-child(4){
|
2023-09-27 10:16:17 -04:00
|
|
|
width: 41%;
|
|
|
|
}
|
|
|
|
table.pep-zero-table tr td:nth-child(5) {
|
|
|
|
width: 6%;
|
2023-09-01 12:51:46 -04:00
|
|
|
}
|
|
|
|
/* Authors & Sponsors table */
|
|
|
|
#authors-owners table td,
|
|
|
|
#authors-owners table th {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
|
|
|
|
/* Breadcrumbs rules */
|
|
|
|
section#pep-page-section > header {
|
2022-01-16 17:33:05 -05:00
|
|
|
border-bottom: 1px solid var(--colour-rule-light);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
section#pep-page-section > header > h1 {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
padding-right: .6rem;
|
2022-01-16 17:33:05 -05:00
|
|
|
border-right: 1px solid var(--colour-rule-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
ul.breadcrumbs {
|
|
|
|
margin: 0;
|
|
|
|
padding: .5rem 0 .5rem .4rem;
|
|
|
|
list-style: none;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
ul.breadcrumbs li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
ul.breadcrumbs a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2022-01-16 17:33:05 -05:00
|
|
|
/* Dark mode toggle rules */
|
2022-04-28 11:49:31 -04:00
|
|
|
#colour-scheme-cycler {
|
|
|
|
background: transparent;
|
2022-01-16 17:33:05 -05:00
|
|
|
border: none;
|
2022-04-28 11:49:31 -04:00
|
|
|
padding: 0;
|
2022-01-16 17:33:05 -05:00
|
|
|
cursor: pointer;
|
|
|
|
width: 1.2rem;
|
|
|
|
height: 1.2rem;
|
|
|
|
float: right;
|
2022-07-10 16:40:09 -04:00
|
|
|
transform: translate(0, 50%);
|
2022-01-16 17:33:05 -05:00
|
|
|
}
|
2022-04-28 11:49:31 -04:00
|
|
|
#colour-scheme-cycler svg {
|
|
|
|
color: var(--colour-rule-strong);
|
|
|
|
height: 1.2rem;
|
|
|
|
width: 1.2rem;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
:root[data-colour_scheme="auto"] #colour-scheme-cycler svg.colour-scheme-icon-when-auto {display: initial}
|
|
|
|
:root[data-colour_scheme="dark"] #colour-scheme-cycler svg.colour-scheme-icon-when-dark {display: initial}
|
|
|
|
:root[data-colour_scheme="light"] #colour-scheme-cycler svg.colour-scheme-icon-when-light {display: initial}
|
2022-01-16 17:33:05 -05:00
|
|
|
|
2021-06-30 15:19:44 -04:00
|
|
|
/* Admonitions rules */
|
2022-07-06 14:59:41 -04:00
|
|
|
div.admonition {
|
2022-10-01 20:36:50 -04:00
|
|
|
background-color: var(--colour-background-accent-medium);
|
2021-06-30 15:19:44 -04:00
|
|
|
margin-bottom: 1rem;
|
2022-07-06 14:59:41 -04:00
|
|
|
margin-top: 1rem;
|
|
|
|
padding: 0.5rem 0.75rem;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2022-07-06 14:59:41 -04:00
|
|
|
div.admonition a {
|
|
|
|
color: var(--colour-links-light);
|
|
|
|
}
|
|
|
|
|
|
|
|
div.danger,
|
|
|
|
div.error {
|
|
|
|
background-color: var(--colour-error);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
|
|
|
div.warning {
|
2022-01-16 17:33:05 -05:00
|
|
|
background-color: var(--colour-warning);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2023-03-20 04:42:01 -04:00
|
|
|
div.attention,
|
2022-07-06 14:59:41 -04:00
|
|
|
div.caution {
|
|
|
|
background-color: var(--colour-caution);
|
|
|
|
}
|
|
|
|
div.important {
|
|
|
|
background-color: var(--colour-attention);
|
|
|
|
}
|
|
|
|
div.hint,
|
|
|
|
div.tip {
|
|
|
|
background-color: var(--colour-tip);
|
|
|
|
}
|
|
|
|
|
2021-06-30 15:19:44 -04:00
|
|
|
p.admonition-title {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* PEP Header / references rules */
|
|
|
|
dl.rfc2822,
|
|
|
|
dl.footnote {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: fit-content(30%) auto;
|
|
|
|
width: 100%;
|
2022-04-19 02:24:27 -04:00
|
|
|
}
|
|
|
|
dl.footnote {
|
2022-03-13 21:46:48 -04:00
|
|
|
border-top: 1px solid var(--colour-rule-strong);
|
2022-04-19 02:24:27 -04:00
|
|
|
line-height: 1.875;
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2022-04-19 02:24:27 -04:00
|
|
|
dl.rfc2822 > dt,
|
|
|
|
dl.rfc2822 > dd {
|
|
|
|
padding: .1rem .3rem .1rem;
|
|
|
|
}
|
|
|
|
dl.footnote > dt,
|
|
|
|
dl.footnote > dd {
|
2021-06-30 15:19:44 -04:00
|
|
|
padding: .25rem .5rem .2rem;
|
2022-03-13 21:46:48 -04:00
|
|
|
border-bottom: 1px solid var(--colour-rule-strong);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2022-04-19 02:24:27 -04:00
|
|
|
dl.rfc2822 > dt {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
dl.footnote > dt {
|
|
|
|
font-weight: normal;
|
2022-01-16 17:33:05 -05:00
|
|
|
border-right: 1px solid var(--colour-background);
|
2021-06-30 15:19:44 -04:00
|
|
|
}
|
2022-04-19 02:24:27 -04:00
|
|
|
dl.rfc2822 > dd,
|
|
|
|
dl.footnote > dd {
|
2022-03-13 21:46:48 -04:00
|
|
|
margin: 0;
|
|
|
|
}
|
2021-06-30 15:19:44 -04:00
|
|
|
|
|
|
|
/* Sidebar formatting */
|
2022-01-16 17:33:05 -05:00
|
|
|
#pep-sidebar {
|
2022-03-22 17:14:36 -04:00
|
|
|
overflow-y: auto;
|
2021-06-30 15:19:44 -04:00
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
height: 100vh;
|
|
|
|
}
|
2022-01-16 17:33:05 -05:00
|
|
|
#pep-sidebar > h2 {
|
2021-06-30 15:19:44 -04:00
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
2023-05-31 05:10:38 -04:00
|
|
|
#contents ol,
|
|
|
|
#contents ul,
|
|
|
|
#pep-sidebar ol,
|
|
|
|
#pep-sidebar ul {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 0 0 1.5rem;
|
|
|
|
}
|
2022-01-16 17:33:05 -05:00
|
|
|
#pep-sidebar ul {
|
2023-05-31 05:10:38 -04:00
|
|
|
font-size: .9rem;
|
2021-06-30 15:19:44 -04:00
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
2022-01-16 17:33:05 -05:00
|
|
|
#pep-sidebar ul a {
|
2021-06-30 15:19:44 -04:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2022-01-09 13:07:03 -05:00
|
|
|
#source {
|
|
|
|
padding-bottom: 2rem;
|
2022-01-16 17:33:05 -05:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.reference.external > strong {
|
|
|
|
font-weight: normal; /* Fix strong links for :pep: and :rfc: roles */
|
2022-01-09 13:07:03 -05:00
|
|
|
}
|
2022-06-18 14:07:06 -04:00
|
|
|
|
|
|
|
.visually-hidden {
|
|
|
|
position: absolute !important;
|
|
|
|
width: 1px !important;
|
|
|
|
height: 1px !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
margin: -1px !important;
|
|
|
|
overflow: hidden !important;
|
2022-07-10 16:40:09 -04:00
|
|
|
clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px) !important;
|
2022-06-18 14:07:06 -04:00
|
|
|
white-space: nowrap !important;
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
2023-03-20 04:42:01 -04:00
|
|
|
|
|
|
|
/* Sticky banners */
|
2023-12-03 01:31:13 -05:00
|
|
|
/* Default styles, sticky for larger screens */
|
2023-03-20 04:42:01 -04:00
|
|
|
.sticky-banner {
|
|
|
|
top: 0;
|
|
|
|
position: sticky;
|
2023-04-28 13:31:40 -04:00
|
|
|
z-index: 1;
|
2023-03-20 04:42:01 -04:00
|
|
|
}
|
2023-12-03 01:31:13 -05:00
|
|
|
|
|
|
|
/* Override for smaller screens, non-sticky */
|
|
|
|
@media (max-width: 600px) {
|
|
|
|
.sticky-banner {
|
|
|
|
position: static;
|
|
|
|
padding: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.close-button {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
font-size: 1.5em;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
color: inherit;
|
|
|
|
margin-top: 0;
|
2023-12-09 11:19:37 -05:00
|
|
|
}
|