/* The website's one stylesheet: system fonts, light and dark. */
:root {
    --text: #1f2328;
    --muted: #59636e;
    --background: #ffffff;
    --panel: #f6f8fa;
    --border: #d1d9e0;
    --link: #0969da;
    --code: #eff2f5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text: #e6edf3;
        --muted: #9198a1;
        --background: #0d1117;
        --panel: #151b23;
        --border: #3d444d;
        --link: #4493f8;
        --code: #212830;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
    color: var(--link);
}

a:focus-visible {
    outline: 2px solid var(--link);
    outline-offset: 2px;
}

.skip {
    position: absolute;
    left: -10000px;
}

.skip:focus {
    left: 16px;
    top: 8px;
    padding: 4px 8px;
    background: var(--background);
}

header {
    border-bottom: 1px solid var(--border);
    background: var(--panel);
}

nav {
    max-width: 52rem;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: baseline;
}

nav a {
    text-decoration: none;
}

nav a:hover {
    text-decoration: underline;
}

nav .home {
    font-weight: 700;
    font-size: 1.15em;
    color: var(--text);
    margin-right: auto;
}

main {
    max-width: 52rem;
    margin: 0 auto;
    padding: 8px 16px 32px;
}

footer {
    max-width: 52rem;
    margin: 0 auto;
    padding: 16px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9em;
}

h1,
h2,
h3,
h4 {
    line-height: 1.25;
    margin: 1.6em 0 0.6em;
}

h1 {
    font-size: 2em;
}

.lead {
    font-size: 1.2em;
    color: var(--muted);
}

code,
pre {
    font: 0.85em/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

code {
    background: var(--code);
    border-radius: 4px;
    padding: 0.1em 0.3em;
}

pre {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    overflow-x: auto;
}

pre code {
    background: none;
    padding: 0;
    font-size: 1em;
}

.table {
    overflow-x: auto;
}

table {
    border-collapse: collapse;
    margin: 1em 0;
}

th,
td {
    border: 1px solid var(--border);
    padding: 6px 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--panel);
}

blockquote {
    margin: 1em 0;
    padding: 0 16px;
    border-left: 4px solid var(--border);
    color: var(--muted);
}

hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2em 0;
}

.install dt {
    font-weight: 600;
    margin-top: 1em;
}

.install dd {
    margin: 0;
}
