2021-05-27 14:16:14 +00:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
/* Global focus outline reset */
|
|
|
|
*:focus:not(:focus-visible) {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2021-05-27 14:16:14 +00:00
|
|
|
:root {
|
|
|
|
--user-font-scale: 1rem - 16px;
|
2021-08-14 00:58:00 +00:00
|
|
|
--max-width: calc(100% - 1rem);
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 50em) {
|
|
|
|
:root {
|
2021-08-14 00:58:00 +00:00
|
|
|
--max-width: 46em;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
font-family: var(--font-body);
|
|
|
|
font-size: 1rem;
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: clamp(0.9rem, 0.75rem + 0.375vw + var(--user-font-scale), 1rem);
|
|
|
|
line-height: 1.5;
|
|
|
|
max-width: 100vw;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
.content > section > * + * {
|
|
|
|
margin-top: 1.25rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
.content > section > :first-child {
|
|
|
|
margin-top: 0;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
/* Typography */
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2 {
|
2021-05-27 14:16:14 +00:00
|
|
|
max-width: 40ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(h2, h3):not(:first-child) {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
:is(h4, h5, h6):not(:first-child) {
|
|
|
|
margin-top: 2rem;
|
|
|
|
}
|
|
|
|
|
2021-05-27 14:16:14 +00:00
|
|
|
h1 {
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: 3.25rem;
|
|
|
|
font-weight: 800;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: 2.5rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: 1.75rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: 1.3rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2021-08-14 00:58:00 +00:00
|
|
|
font-size: 1rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-08-14 00:58:00 +00:00
|
|
|
line-height: 1.65em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content ul {
|
|
|
|
line-height: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
|
|
|
.content ul {
|
2021-05-27 14:16:14 +00:00
|
|
|
color: var(--theme-text-light);
|
|
|
|
}
|
|
|
|
|
2021-07-20 04:07:49 +00:00
|
|
|
small,
|
|
|
|
.text_small {
|
2021-05-27 14:16:14 +00:00
|
|
|
font-size: 0.833rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-08-14 00:58:00 +00:00
|
|
|
color: var(--theme-text-accent);
|
2021-05-27 14:16:14 +00:00
|
|
|
font-weight: 400;
|
|
|
|
text-underline-offset: 0.08em;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.5rem;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
article > section :is(ul, ol) > * + * {
|
|
|
|
margin-top: 0.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section nav :is(ul, ol) > * + * {
|
|
|
|
margin-top: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section li > :is(p, pre, blockquote):not(:first-child) {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section :is(ul, ol) {
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section nav :is(ul, ol) {
|
|
|
|
padding-left: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section nav {
|
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section ::marker {
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--theme-text-light);
|
|
|
|
}
|
|
|
|
|
|
|
|
article > section iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
aspect-ratio: 16 / 9;
|
|
|
|
}
|
|
|
|
|
2021-07-20 04:07:49 +00:00
|
|
|
a > code:not([class*='language']) {
|
2021-05-27 14:16:14 +00:00
|
|
|
position: relative;
|
2021-08-14 00:58:00 +00:00
|
|
|
color: var(--theme-text-accent);
|
2021-05-27 14:16:14 +00:00
|
|
|
background: transparent;
|
|
|
|
text-underline-offset: var(--padding-block);
|
|
|
|
}
|
|
|
|
|
2021-07-20 04:07:49 +00:00
|
|
|
a > code:not([class*='language'])::before {
|
2021-05-27 14:16:14 +00:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
display: block;
|
|
|
|
background: var(--theme-accent);
|
|
|
|
opacity: var(--theme-accent-opacity);
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a:focus {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:focus {
|
|
|
|
outline: 2px solid currentColor;
|
|
|
|
outline-offset: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 600;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Supporting Content */
|
2021-08-14 00:58:00 +00:00
|
|
|
code {
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
font-size: 0.85em;
|
|
|
|
}
|
2021-05-27 14:16:14 +00:00
|
|
|
|
2021-07-20 04:07:49 +00:00
|
|
|
code:not([class*='language']) {
|
2021-05-27 14:16:14 +00:00
|
|
|
--border-radius: 3px;
|
|
|
|
--padding-block: 0.2rem;
|
2021-08-14 00:58:00 +00:00
|
|
|
--padding-inline: 0.4rem;
|
|
|
|
color: var(--theme-code-inline-text);
|
2021-05-27 14:16:14 +00:00
|
|
|
background-color: var(--theme-code-inline-bg);
|
|
|
|
padding: var(--padding-block) var(--padding-inline);
|
|
|
|
margin: calc(var(--padding-block) * -1) -0.125em;
|
|
|
|
border-radius: var(--border-radius);
|
2021-08-14 00:58:00 +00:00
|
|
|
box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.08);
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
2021-07-20 04:07:49 +00:00
|
|
|
pre > code:not([class*='language']) {
|
2021-05-27 14:16:14 +00:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 0;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
pre > code {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
table,
|
2021-05-27 14:16:14 +00:00
|
|
|
pre {
|
|
|
|
position: relative;
|
|
|
|
--padding-block: 1rem;
|
|
|
|
--padding-inline: 2rem;
|
|
|
|
padding: var(--padding-block) var(--padding-inline);
|
|
|
|
padding-right: calc(var(--padding-inline) * 2);
|
2021-08-14 00:58:00 +00:00
|
|
|
margin-left: calc(var(--padding-inline) * -1);
|
|
|
|
margin-right: calc(var(--padding-inline) * -1);
|
|
|
|
font-family: var(--font-mono);
|
2021-07-20 04:07:49 +00:00
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
line-height: 1.5;
|
|
|
|
font-size: 0.85em;
|
2021-05-27 14:16:14 +00:00
|
|
|
overflow-y: hidden;
|
|
|
|
overflow-x: auto;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
|
|
|
padding: var(--padding-block) 0;
|
|
|
|
margin: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Zebra striping */
|
|
|
|
tr:nth-of-type(odd) {
|
|
|
|
background: var(--theme-bg-hover);
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
background: var(--color-black);
|
|
|
|
color: var(--theme-color);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 6px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
background-color: var(--theme-code-bg);
|
|
|
|
color: var(--theme-code-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote code:not([class*='language']) {
|
|
|
|
background-color: var(--theme-bg);
|
|
|
|
}
|
|
|
|
|
2021-05-27 14:16:14 +00:00
|
|
|
@media (min-width: 37.75em) {
|
|
|
|
pre {
|
|
|
|
--padding-inline: 1.25rem;
|
|
|
|
border-radius: 8px;
|
2021-08-14 00:58:00 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
margin: 2rem 0;
|
2021-08-14 00:58:00 +00:00
|
|
|
padding: 1.25em 1.5rem;
|
|
|
|
border-left: 3px solid var(--theme-text-light);
|
|
|
|
background-color: var(--theme-bg-offset);
|
2021-05-27 14:16:14 +00:00
|
|
|
border-radius: 0 0.25rem 0.25rem 0;
|
2021-08-14 00:58:00 +00:00
|
|
|
line-height: 1.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.flex {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-items: center;
|
|
|
|
gap: 0.25em;
|
|
|
|
padding: 0.33em 0.67em;
|
|
|
|
border: 0;
|
|
|
|
background: var(--theme-bg);
|
|
|
|
display: flex;
|
|
|
|
font-size: 1rem;
|
|
|
|
align-items: center;
|
|
|
|
gap: 0.25em;
|
|
|
|
border-radius: 99em;
|
2021-08-14 00:58:00 +00:00
|
|
|
color: var(--theme-text);
|
2021-05-27 14:16:14 +00:00
|
|
|
background-color: var(--theme-bg);
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
h2.heading {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: 700;
|
|
|
|
padding: 0.1rem 1rem;
|
|
|
|
text-transform: uppercase;
|
|
|
|
margin-bottom: 0.5rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-link {
|
|
|
|
font-size: 1rem;
|
2021-08-14 00:58:00 +00:00
|
|
|
padding: 0.1rem 0 0.1rem 1rem;
|
2021-05-27 14:16:14 +00:00
|
|
|
border-left: 4px solid var(--theme-divider);
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-link:hover,
|
|
|
|
.header-link:focus {
|
2021-08-14 00:58:00 +00:00
|
|
|
border-left-color: var(--theme-accent);
|
|
|
|
color: var(--theme-accent);
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
.header-link:focus-within {
|
|
|
|
color: var(--theme-text-light);
|
2021-08-14 00:58:00 +00:00
|
|
|
border-left-color: hsla(var(--color-gray-40), 1);
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
2021-08-14 00:58:00 +00:00
|
|
|
.header-link svg {
|
|
|
|
opacity: 0.6;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
2021-08-14 00:58:00 +00:00
|
|
|
.header-link:hover svg {
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
.header-link a {
|
|
|
|
display: inline-flex;
|
|
|
|
gap: 0.5em;
|
|
|
|
width: 100%;
|
2021-10-18 17:50:10 +00:00
|
|
|
padding: 0.15em 0 0.15em 0;
|
2021-05-27 14:16:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.header-link.depth-3 {
|
|
|
|
padding-left: 2rem;
|
|
|
|
}
|
|
|
|
.header-link.depth-4 {
|
|
|
|
padding-left: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-link a {
|
|
|
|
font: inherit;
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
/* Screenreader Only Text */
|
|
|
|
.sr-only {
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
padding: 0;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(0, 0, 0, 0);
|
|
|
|
white-space: nowrap;
|
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.focus\:not-sr-only:focus,
|
|
|
|
.focus\:not-sr-only:focus-visible {
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
overflow: visible;
|
|
|
|
clip: auto;
|
|
|
|
white-space: normal;
|
2021-06-21 12:45:11 +00:00
|
|
|
}
|
|
|
|
|
2021-08-14 00:58:00 +00:00
|
|
|
:target {
|
|
|
|
scroll-margin: calc(var(--theme-sidebar-offset, 5rem) + 2rem) 0 2rem;
|
2021-06-21 12:45:11 +00:00
|
|
|
}
|