aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/www/releases/_artifacts/v0.0.1/missing.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/releases/_artifacts/v0.0.1/missing.css')
-rw-r--r--www/releases/_artifacts/v0.0.1/missing.css1488
1 files changed, 0 insertions, 1488 deletions
diff --git a/www/releases/_artifacts/v0.0.1/missing.css b/www/releases/_artifacts/v0.0.1/missing.css
deleted file mode 100644
index 180b211..0000000
--- a/www/releases/_artifacts/v0.0.1/missing.css
+++ /dev/null
@@ -1,1488 +0,0 @@
-/* Document
- * ========================================================================== */
-
-/**
- * 1. Add border box sizing in all browsers (opinionated).
- * 2. Backgrounds do not repeat by default (opinionated).
- */
-
-*,
-::before,
-::after {
- box-sizing: border-box; /* 1 */
- background-repeat: no-repeat; /* 2 */
-}
-
-/**
- * 1. Add text decoration inheritance in all browsers (opinionated).
- * 2. Add vertical alignment inheritance in all browsers (opinionated).
- */
-
-::before,
-::after {
- text-decoration: inherit; /* 1 */
- vertical-align: inherit; /* 2 */
-}
-
-/**
- * 1. Use the default cursor in all browsers (opinionated).
- * 3. Breaks words to prevent overflow in all browsers (opinionated).
- * 5. Remove the grey highlight on links in iOS (opinionated).
- * 6. Prevent adjustments of font size after orientation changes in iOS.
- */
-
-:root {
- cursor: default; /* 1 */
- overflow-wrap: break-word; /* 3 */
- -webkit-tap-highlight-color: transparent; /* 5 */
- text-size-adjust: none;
- -webkit-text-size-adjust: none;
-}
-
-/* Text-level semantics
- * ========================================================================== */
-
-/**
- * Add the correct text decoration in Safari.
- */
-
-abbr[title] {
- text-decoration: underline;
- -webkit-text-decoration: underline dotted;
- text-decoration: underline dotted;
-}
-
-/**
- * Add the correct font weight in Chrome, Edge, and Safari.
- */
-
-strong, b {
- font-weight: bolder;
-}
-
-/**
- * Add the correct font size in all browsers.
- */
-
-small {
- font-size: 80%;
-}
-
-/* Embedded content
- * ========================================================================== */
-
-/*
- * Change the alignment on media elements in all browsers (opinionated).
- */
-
-audio, canvas, iframe, img, svg, video {
- vertical-align: middle;
-}
-
-/**
- * Change the fill color to match the text color in all browsers (opinionated).
- */
-
-svg:not([fill]) {
- fill: currentColor;
-}
-
-/* Tabular data
- * ========================================================================== */
-
-/**
- * 1. Collapse border spacing in all browsers (opinionated).
- * 2. Correct table border color in Chrome, Edge, and Safari.
- * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.
- */
-
-table {
- border-collapse: collapse; /* 1 */
- border-color: currentColor; /* 2 */
- text-indent: 0; /* 3 */
-}
-
-/* Forms
- * ========================================================================== */
-
-/**
- * Remove the margin on controls in Safari.
- */
-
-button, input, select {
- margin: 0;
-}
-
-/**
- * Correct the inability to style buttons in iOS and Safari.
- */
-
-button, [type="button"], [type="reset"], [type="submit"] {
- -webkit-appearance: button;
-}
-
-/**
- * Change the inconsistent appearance in all browsers (opinionated).
- */
-
-fieldset {
- border: 1px solid #a0a0a0;
-}
-
-/**
- * Add the correct vertical alignment in Chrome, Edge, and Firefox.
- */
-
-progress {
- vertical-align: baseline;
-}
-
-/**
- * 1. Remove the margin in Firefox and Safari.
- */
-
-textarea {
- margin: 0; /* 1 */
-}
-
-/**
- * 1. Correct the odd appearance in Chrome, Edge, and Safari.
- * 2. Correct the outline style in Safari.
- */
-
-[type="search"] {
- -webkit-appearance: textfield; /* 1 */
- outline-offset: -2px; /* 2 */
-}
-
-/**
- * Correct the cursor style of increment and decrement buttons in Safari.
- */
-
-::-webkit-inner-spin-button,
-::-webkit-outer-spin-button {
- block-size: auto;
-}
-
-/**
- * Correct the text style of placeholders in Chrome, Edge, and Safari.
- */
-
-::-webkit-input-placeholder {
- color: inherit;
- opacity: 0.54;
-}
-
-/**
- * Remove the inner padding in Chrome, Edge, and Safari on macOS.
- */
-
-::-webkit-search-decoration {
- -webkit-appearance: none;
-}
-
-/**
- * 1. Correct the inability to style upload buttons in iOS and Safari.
- * 2. Change font properties to `inherit` in Safari.
- */
-
-::-webkit-file-upload-button {
- -webkit-appearance: button; /* 1 */
- font: inherit; /* 2 */
-}
-
-/* Interactive
- * ========================================================================== */
-
-/*
- * Add the correct styles in Safari.
- */
-
-dialog {
- background-color: white;
- border: solid;
- color: black;
- block-size: -moz-fit-content;
- block-size: fit-content;
- inline-inset: 0;
- margin: auto;
- padding: 1em;
- position: absolute;
- inline-size: -moz-fit-content;
- inline-size: fit-content;
-}
-
-dialog:not([open]) {
- display: none;
-}
-
-[hidden] {
- display: none !important;
-}
-
-:focus-visible {
- outline: .2em solid var(--accent);
- z-index: 32;
-}
-
-iframe:focus-visible,
- html:focus-visible,
- body:focus-visible {
- outline: none;
- }
-
-:target {
- outline: .2em solid var(--fg);
- z-index: 32;
-}
-
-/*
- * Add the correct display in Safari.
- */
-
-details > summary:first-of-type {
- display: list-item;
-}
-
-/* Accessibility
- * ========================================================================== */
-
-/**
- * Change the cursor on busy elements in all browsers (opinionated).
- */
-
-[aria-busy="true"] {
- cursor: progress;
-}
-
-/*
- * Change the cursor on disabled, not-editable, or otherwise
- * inoperable elements in all browsers (opinionated).
- */
-
-[aria-disabled="true"], [disabled] {
- cursor: not-allowed;
-}
-
-datalist {
- display: none !important;
-}
-
-.info {
- --colorful-bg: var(--info-bg);
- --accent: var(--info-fg);
-}
-
-.ok {
- --colorful-bg: var(--ok-bg);
- --accent: var(--ok-fg);
-}
-
-.warn {
- --colorful-bg: var(--warn-bg);
- --accent: var(--warn-fg);
-}
-
-.bad {
- --colorful-bg: var(--bad-bg);
- --accent: var(--bad-fg);
-}
-
-.color {
- color: var(--accent);
-}
-
-.bg {
- background: var(--colorful-bg);
-}
-
-.border {
- border-color: var(--accent);
-}
-
-.airy { --density: 3; }
-
-.dense { --density: 1; }
-
-.crowded { --density: .5; }
-
-.autodensity {
- --density: 1
-}
-
-@media (min-width: 768px) {
-
-.autodensity { --density: 2
-} }
-
-@media (min-width: 1024px) {
-
-.autodensity { --density: 3
-} }
-
-.f-row {
- display: flex;
- flex-direction: row;
- gap: var(--gap)
-}
-
-.f-row > * { margin: 0 }
-
-.f-col {
- display: flex;
- flex-direction: column;
- gap: var(--gap)
-}
-
-.f-col > * { margin: 0 }
-
-.f-switch {
- display: flex;
- flex-flow: row wrap;
- gap: var(--gap);
- --col-width: 15ch /* see ./layout.css */
-}
-
-.f-switch > * { margin: 0 }
-
-.f-switch > * {
- flex-basis: calc((var(--col-width) - 100%) * 999);
- flex-grow: 1;
- }
-
-.justify-content\:start { justify-content: start }
-
-.justify-content\:end { justify-content: end }
-
-.justify-content\:baseline { justify-content: baseline }
-
-.justify-content\:center { justify-content: center }
-
-.justify-content\:stretch { justify-content: stretch }
-
-.align-items\:start { align-items: start }
-
-.align-items\:end { align-items: end }
-
-.align-items\:baseline { align-items: baseline }
-
-.align-items\:center { align-items: center }
-
-.align-items\:stretch { align-items: stretch }
-
-.align-self\:start { align-self: start }
-
-.align-self\:end { align-self: end }
-
-.align-self\:baseline { align-self: baseline }
-
-.align-self\:center { align-self: center }
-
-.align-self\:stretch { align-self: stretch }
-
-.grow-0 { flex-grow: 0 }
-
-.grow-1 { flex-grow: 1 }
-
-.grow-2 { flex-grow: 2 }
-
-.grow-3 { flex-grow: 3 }
-
-.grow-4 { flex-grow: 4 }
-
-.grow-5 { flex-grow: 5 }
-
-.grow-6 { flex-grow: 6 }
-
-.grow-7 { flex-grow: 7 }
-
-.grow-8 { flex-grow: 8 }
-
-.grow-9 { flex-grow: 9 }
-
-.grow-10 { flex-grow: 10 }
-
-.grow-11 { flex-grow: 11 }
-
-.grow-12 { flex-grow: 12 }
-
-.vh, v-h {
- clip: rect(0 0 0 0);
- -webkit-clip-path: inset(50%);
- clip-path: inset(50%);
- block-size: 1px;
- overflow: hidden;
- position: absolute;
- white-space: nowrap;
- inline-size: 1px;
-}
-
-.reset {
- all: initial;
-}
-
-.basicgrid {
- display: flex;
- flex-flow: row wrap;
- gap: var(--gap);
- --col-width: 15ch
-}
-
-.basicgrid > * {
- flex-grow: 1;
- flex-shrink: 1;
- flex-basis: var(--col-width);
- margin: 0;
- min-width: 1px;
- }
-
-.colwidth-l { --col-width: 35ch }
-
-.colwidth-m { --col-width: 24ch }
-
-.colwidth-s { --col-width: 15ch }
-
-.minwidth-l { min-width: 35ch }
-
-.minwidth-m { min-width: 24ch }
-
-.minwidth-s { min-width: 15ch }
-
-.maxwidth-l { max-width: 35ch }
-
-.maxwidth-m { max-width: 24ch }
-
-.maxwidth-s { max-width: 15ch }
-
-.col-0 { flex-grow: 0 ; }
-
-.col-1 { flex-grow: 1 ; flex-basis: calc(1 * var(--col-width)) }
-
-.col-2 { flex-grow: 2 ; flex-basis: calc(2 * var(--col-width)) }
-
-.col-3 { flex-grow: 3 ; flex-basis: calc(3 * var(--col-width)) }
-
-.col-4 { flex-grow: 4 ; flex-basis: calc(4 * var(--col-width)) }
-
-.col-5 { flex-grow: 5 ; flex-basis: calc(5 * var(--col-width)) }
-
-.col-6 { flex-grow: 6 ; flex-basis: calc(6 * var(--col-width)) }
-
-.col-7 { flex-grow: 7 ; flex-basis: calc(7 * var(--col-width)) }
-
-.col-8 { flex-grow: 8 ; flex-basis: calc(8 * var(--col-width)) }
-
-.col-9 { flex-grow: 9 ; flex-basis: calc(9 * var(--col-width)) }
-
-.col-10 { flex-grow: 10; flex-basis: calc(10 * var(--col-width)) }
-
-.col-11 { flex-grow: 11; flex-basis: calc(11 * var(--col-width)) }
-
-.col-12 { flex-grow: 12; flex-basis: calc(12 * var(--col-width)) }
-
-.col-inf { flex-grow: 1000000 }
-
-/**/
-
-.textcolumns {
- --col-width: 30ch;
- column-width: var(--col-width);
- column-gap: var(--gap);
- margin-block: var(--gap)
-}
-
-.textcolumns :first-child { margin-block-start: 0 !important }
-
-.textcenter {
- text-align: center;
-}
-
-/**/
-
-.container {
- max-inline-size: var(--eff-line-length);
- margin-inline: auto;
-}
-
-.fullbleed {
- position: relative;
- width: 100vw;
- left: 50%;
- transform: translateX(-50vw);
-
- border-radius: 0;
- border-inline: none;
-}
-
-/**/
-
-.pad {
- padding-inline: var(--gap);
-}
-
-.margin {
- margin: var(--gap);
-}
-
-/**/
-
-.table {
- display: table;
- width: 100%;
- margin: 0;
-}
-
-.row, .rows > * {
- display: table-row
-}
-
-.row:not(:last-child) > *, .rows > *:not(:last-child) > * {
- margin-bottom: var(--gap);
- }
-
-.row > *:not([specificity-hack]), .rows > * > *:not([specificity-hack]) {
- display: table-cell;
- vertical-align: top;
- }
-
-.row > * + *:not([specificity-hack]), :is(.rows > *) > * + *:not([specificity-hack]) {
- margin-inline-start: var(--gap);
- display: inline-block;
- }
-
-/**/
-
-.fixed { position: fixed }
-
-.sticky { position: sticky }
-
-.top { top: 0 }
-
-.right { right: 0 }
-
-.bottom { bottom: 0 }
-
-.left { left: 0 }
-
-.\^ { top: 0 }
-
-.\> { right: 0 }
-
-.\_ { bottom: 0 }
-
-.\< { left: 0 }
-
-.float\< { float: left }
-
-.float\> { float: right }
-
-all-caps, .allcaps {
- text-transform: uppercase;
- letter-spacing: .1rem;
-}
-
-.monospace {
- font-family: var(--mono-font);
-}
-
-.box, missing-card, .missing-card {
- margin: var(--gap) 0;
- padding: var(--gap);
- border-radius: calc(var(--rhythm) / 4);
- background: var(--colorful-bg);
- border: 1px solid var(--accent);
- /* artificially increase specificity */
- /* TODO: come up with a better way to do this */
-}
-
-:is(.box,missing-card,.missing-card) > :first-child:first-child:first-child:first-child,
- :is(.box,missing-card,.missing-card) > :first-child>:first-child:first-child:first-child,
- :is(.box,missing-card,.missing-card) > :first-child>:first-child>:first-child:first-child,
- :is(.box,missing-card,.missing-card) > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-:is(.box,missing-card,.missing-card) > :last-child:last-child:last-child:last-child,
- :is(.box,missing-card,.missing-card) > :last-child>:last-child:last-child:last-child,
- :is(.box,missing-card,.missing-card) > :last-child>:last-child>:last-child:last-child,
- :is(.box,missing-card,.missing-card) > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-.breadcrumbs[aria-label] ul, .breadcrumbs[aria-label] ol {
- list-style: none;
- padding-inline-start: 0;
- }
-
-.breadcrumbs[aria-label] li {
- display: inline
- }
-
-:is(.breadcrumbs[aria-label] li)+li::before {
- content: ' / ' / '';
- content: ' / ';
- display: inline;
- }
-
-.breadcrumbs[aria-label] [aria-current="page"] {
- font-weight: bold;
- }
-
-.chip, chip {
- border: 1px solid var(--accent);
- background: var(--colorful-bg);
- border-radius: calc(var(--rhythm) / 2);
- padding-inline: calc(var(--rhythm) / 2);
-}
-
-.navbar, header[is="nav-bar"] {
- margin: 0;
- padding: 0 var(--rhythm);
-
- background: var(--colorful-bg);
- border-block-end: 1px solid var(--accent);
-
- overflow-x: auto;
- scrollbar-width: thin;
-
- /* Inner layout */
- display: flex;
- flex-flow: row;
- gap: calc(2 * var(--rhythm))
-
-
-}
-
-:is(.navbar,header[is="nav-bar"]) :first-child { margin-inline-start: auto; }
-
-:is(.navbar,header[is="nav-bar"]) :last-child { margin-inline-end: auto; }
-
-:is(.navbar,header[is="nav-bar"]) * { flex-shrink: 0 }
-
-:is(.navbar,header[is="nav-bar"]) nav ul[role="list"] {
- padding-inline-start: 0;
- display: flex;
- flex-flow: row;
- gap: var(--rhythm)
- }
-
-:is(.navbar,header[is="nav-bar"]) nav ul[role="list"] * { flex-shrink: 0 }
-
-:is(.navbar,header[is="nav-bar"]) a {
- font-weight: bold;
- text-decoration: none;
- }
-
-.sub-title, sub-title {
- /***
- Meant for use in headings. Make sure to also use visually-hidden punctuation
- to mark the subtitle as shown below:
-
- 1 | <h1>
- 2 | Foo Bar<v-h>:</v-h>
- 3 | <sub-title>How I Learned To Stop Worrying and Love Baz</sub-title>
- 4 | </h1>
-
- 1 | <h1>
- 2 | <sub-title class="-allcaps">Breaking News</sub-title><v-h>:</v-h>
- 3 | Bad Thing Happens
- 4 | <h1>
- ***/
-
- display: block;
-
- font-weight: normal;
-
- color: var(--muted-fg);
-}
-
-[role="tablist"] {
- display: flex;
- gap: .5ch;
- scrollbar-width: thin;
-}
-
-[role="tab"][role="tab"] {
- all: initial;
-
- font-family: inherit;
-
- padding: 0 calc(var(--rhythm) / 4);
- margin: 0;
- min-height: var(--rhythm);
-
- border: solid var(--accent);
- border-width: 1px 1px 0 1px;
- border-block-end-color: transparent;
- background: var(--interactive-bg);
-
- border-start-start-radius: .4em;
- border-start-end-radius: .4em
-}
-
-[role="tab"][role="tab"]:active, [role="tab"][role="tab"][aria-selected="true"] {
- transform: none;
- bottom: -1px;
- position: relative;
- background: var(--colorful-bg);
- border-block-end: 1px solid var(--colorful-bg);
- }
-
-[role="tabpanel"] {
- margin: var(--gap) 0;
- padding: var(--gap);
- border-radius: calc(var(--rhythm) / 4);
- background: var(--colorful-bg);
- border: 1px solid var(--accent);
- /* artificially increase specificity */
- /* TODO: come up with a better way to do this */
-}
-
-[role="tabpanel"] > :first-child:first-child:first-child:first-child,
- [role="tabpanel"] > :first-child>:first-child:first-child:first-child,
- [role="tabpanel"] > :first-child>:first-child>:first-child:first-child,
- [role="tabpanel"] > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-[role="tabpanel"] > :last-child:last-child:last-child:last-child,
- [role="tabpanel"] > :last-child>:last-child:last-child:last-child,
- [role="tabpanel"] > :last-child>:last-child>:last-child:last-child,
- [role="tabpanel"] > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-[role="tabpanel"] {
- margin-block-start: 0;
- border-start-start-radius: 0;
- border-start-end-radius: 0;
- z-index: 1;
-}
-
-tool-bar, .tool-bar {
- display: flex;
- flex-flow: row wrap;
- gap: calc(var(--gap) / 2);
-}
-
-/***
- 4.8 Embedded content
- https://html.spec.whatwg.org/multipage/embedded-content.html
- ***/
-
-img, video, audio, iframe, object, embed {
- max-inline-size: 100%;
- inline-size: max-content;
- block-size: auto;
-}
-
-/***
- 4.10 Forms
- https://html.spec.whatwg.org/multipage/forms.html
- ***/
-
-input { display: block; }
-
-label input:not([specificity-hack]) { display: inline; padding-block: 0; }
-
-button,
-input[type="submit"],
-input[type="reset"],
-input[type="button"],
-input::file-selector-button {
- display: inline-block;
- padding: 0 calc(var(--rhythm) / 4);
- vertical-align: top;
-
- font-size: .8rem;
- line-height: 1.125em;
- font-family: var(--main-font);
- min-height: var(--rhythm);
-
- background: var(--interactive-bg);
- border: 1px solid var(--accent);
- box-sizing: border-box;
- border-radius: .2em;
-
- box-shadow: 0 .1em .2em var(--shadow)
-}
-
-:is(button,input[type="submit"],input[type="reset"],input[type="button"],input::file-selector-button):hover, :is(button,input[type="submit"],input[type="reset"],input[type="button"],input::file-selector-button):focus-visible {
- background: var(--colorful-bg);
- }
-
-:is(button,input[type="submit"],input[type="reset"],input[type="button"],input::file-selector-button):active {
- box-shadow: none;
- background-color: var(--accent);
- color: var(--bg);
- }
-
-[aria-pressed="true"]:is(button,input[type="submit"],input[type="reset"],input[type="button"],input::file-selector-button), [aria-expanded="true"]:is(button,input[type="submit"],input[type="reset"],input[type="button"],input::file-selector-button) {
- box-shadow: 0 .05em var(--accent);
- transform: translateY(.05em);
- background: var(--pressed-interactive-bg);
- }
-
-input:not([type]),
-input[type="text"],
-input[type="search"],
-input[type="tel"],
-input[type="url"],
-input[type="email"],
-input[type="password"],
-input[type="date"],
-input[type="month"],
-input[type="week"],
-input[type="time"],
-input[type="datetime"],
-input[type="datetime-local"],
-input[type="number"],
-select,
-textarea {
- padding: calc(var(--rhythm) / 4);
- vertical-align: top;
-
- font-size: 1rem;
- line-height: inherit;
- font-family: var(--main-font);
-
- background: var(--bg);
- border: 1px solid var(--faded-fg);
- border-radius: .2em;
-
- vertical-align: top
-}
-
-:is(input:not([type]),input[type="text"],input[type="search"],input[type="tel"],input[type="url"],input[type="email"],input[type="password"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="number"],select,textarea):focus-visible {
- border: 1px solid var(--accent);
- }
-
-:is(input:not([type]),input[type="text"],input[type="search"],input[type="tel"],input[type="url"],input[type="email"],input[type="password"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="number"],select,textarea)::placeholder {
- color: var(--muted-fg);
- opacity: 1;
- text-align: end;
- }
-
-input[type="range"] {
- width: 100%;
- padding: calc(var(--gap) / 4);
-}
-
-input[type="color"] {
- padding: 0;
- margin: 0;
- height: calc(1.5 * var(--rhythm));
-
- border: none;
- background: none;
-}
-
-input[type="file"] {
- padding: calc(var(--gap) / 4) 0;
- font-size: inherit;
- line-height: calc(var(--rhythm) / 2)
-}
-
-input[type="file"]::file-selector-button {
- margin-block: .1em 0;
- margin-inline-end: 1ch;
- }
-
-select[multiple] {
- vertical-align: top;
-}
-
-optgroup::before {
- color: var(--muted-fg);
- font-style: normal;
-}
-
-progress {
- /* TODO */
-}
-
-meter {
- /* TODO */
-}
-
-label[for] {
- display: block;
- padding-block: calc(var(--gap) / 4);
-}
-
-fieldset {
- position: relative;
-
- padding: var(--gap);
- margin: var(--gap) 0;
- width: 100%;
- border-radius: .2em;
-
- /* artificially increase specificity */
-
- /* TODO: come up with a better way to do this */
-}
-
-fieldset > :first-child:first-child:first-child:first-child,
- fieldset > :first-child>:first-child:first-child:first-child,
- fieldset > :first-child>:first-child>:first-child:first-child,
- fieldset > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-fieldset > :last-child:last-child:last-child:last-child,
- fieldset > :last-child>:last-child:last-child:last-child,
- fieldset > :last-child>:last-child>:last-child:last-child,
- fieldset > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-fieldset > legend + * { margin-block-start: 0 }
-
-fieldset {
-
- border: 1px solid var(--faded-fg);
-}
-
-/***
- 4.4 Grouping content
- https://html.spec.whatwg.org/multipage/grouping-content.html
- ***/
-
-p {
- margin-block: var(--gap);
-}
-
-hr {
- color: inherit;
-
- flex-grow: 0;
- border-inline-start: 1px solid var(--accent);
- block-size: auto;
- border-block-start: 1px solid var(--accent);
- border-block-end: none;
- border-inline-end: none;
-}
-
-pre {
- font-family: var(--mono-font);
- font-size: .9em;
- line-height: var(--rhythm);
- -o-tab-size: 2;
- tab-size: 2;
-
- margin: var(--gap) 0;
-
- overflow-x: auto;
- scrollbar-width: thin;
- scrollbar-color: var(--accent) transparent;
-}
-
-blockquote {
- margin-inline: 0 var(--gap);
- padding-inline: var(--gap) 0;
- margin-block: var(--gap);
-
- font-size: 1.1em;
- line-height: var(--rhythm);
- font-style: italic;
-
- border-inline-start: 1px solid var(--faded-fg);
- color: var(--muted-fg)
-}
-
-blockquote em, blockquote cite, blockquote dfn, blockquote var, blockquote i, blockquote address {
- font-style: normal;
- }
-
-blockquote footer {
- text-align: right;
- text-align: end;
- }
-
-ul, ol {
- padding-inline-start: var(--rhythm)
-}
-
-ul[role="list"], ol[role="list"] {
- padding-inline-start: 0;
- list-style: none;
- }
-
-ul {
- list-style: square;
-}
-
-ol {
- list-style: decimal;
-}
-
-dl {
- margin-block: var(--gap);
-}
-
-dt {
- font-weight: bold;
- }
-
-dd {
- margin-inline-start: var(--rhythm);
- }
-
-figure {
- max-width: 100%;
- margin-inline: 0;
- padding: var(--gap);
-
- border: 1px solid var(--faded-fg);
- border-radius: calc(var(--rhythm) / 4);
-
- /* artificially increase specificity */
-
- /* TODO: come up with a better way to do this */
-}
-
-figure > :first-child:first-child:first-child:first-child,
- figure > :first-child>:first-child:first-child:first-child,
- figure > :first-child>:first-child>:first-child:first-child,
- figure > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-figure > :last-child:last-child:last-child:last-child,
- figure > :last-child>:last-child:last-child:last-child,
- figure > :last-child>:last-child>:last-child:last-child,
- figure > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-figcaption {
- margin-block: var(--gap);
-
- color: var(--muted-fg);
-}
-
-main {
- max-inline-size: var(--eff-line-length);
- margin: auto;
-}
-
-/***
- 4.5 Text-level semantics
- https://html.spec.whatwg.org/multipage/text-level-semantics.html
-
- 4.7 Edits
- https://html.spec.whatwg.org/multipage/edits.html
- ***/
-
-/* Text-level semantics */
-
-a {
- color: var(--link-fg, var(--accent))
-}
-
-.list-of-links a {
- text-decoration: none
-}
-
-a:hover {
- text-decoration: underline;
- }
-
-span > small:only-child {
- /***
- Sidenote
- ***/
- display: block;
- float: inline-end;
- clear: inline-end;
-
- --sidenote-width: 20ch;
-
- max-inline-size: var(--sidenote-width);
- padding-inline: 1.5ch 1ch;
-
- margin-inline-end: calc(1em - var(--sidenote-width));
- margin-block-end: var(--rhythm);
-
- background: var(--bg);
- border: 1px solid transparent;
-
- transition: transform .1s ease-in-out
-}
-
-span > small:only-child:hover, span > small:only-child:focus-within {
- border: 1px solid var(--faded-fg);
- border-radius: .2em;
- transform: translateX(calc(
- 0px - var(--sidenote-width)
- + min(var(--gutter-width), var(--sidenote-width))
- ))
- }
-
-s {
- color: var(--bad-fg);
-}
-
-q {
- font-style: italic
-}
-
-q em, q cite, q dfn, q var, q i, q address {
- font-style: normal;
- }
-
-time {
- font-variant-numeric: tabular-nums;
-}
-
-code, samp, kbd {
- font-family: var(--mono-font);
-}
-
-samp {
- color: var(--ok-fg);
-}
-
-kbd kbd /*
- We apply the key-like styling to a nested kbd element, a pattern shown in
- WHATWG HTML for marking up keyboard input:
-
- > Here the kbd element is used to indicate keys to press:
- > ~~~ html
- > <p>To make George eat an apple, press <kbd><kbd>Shift</kbd> + <kbd>F3</kbd></kbd></p>
- > ~~~
-
- The plain kbd element can also be used for clicking menus (<kbd>File |
- New...</kbd>) or voice input (<kbd>Hey Siri, </kbd>)
-*/ {
- display: inline-block;
-
- padding: 0 .3em;
- font-size: .8em;
- line-height: 1.1em;
-
- background: var(--interactive-bg);
- border: 1px outset var(--faded-fg);
- border-block-end-width: 3px;
- border-radius: .3em;
-}
-
-sub {
- vertical-align: bottom;
- line-height: 1;
-}
-
-sup {
- vertical-align: top;
- line-height: 1;
-}
-
-mark {
- background: var(--warn-bg);
- color: var(--warn-fg);
-}
-
-/* Edits */
-
-ins {
- background: var(--ok-bg);
- color: var(--ok-fg);
-}
-
-del {
- background: var(--bad-bg);
- color: var(--bad-fg);
-}
-
-/***
- 4.11 Interactive elements
- https://html.spec.whatwg.org/multipage/interactive-elements.html#interactive-elements
- ***/
-
-details {
- margin: var(--gap) 0;
- padding: var(--gap);
- border-radius: calc(var(--rhythm) / 4);
- background: var(--colorful-bg);
- border: 1px solid var(--accent)
- /* artificially increase specificity */
- /* TODO: come up with a better way to do this */
-}
-
-details > :first-child:first-child:first-child:first-child,
- details > :first-child>:first-child:first-child:first-child,
- details > :first-child>:first-child>:first-child:first-child,
- details > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-details > :last-child:last-child:last-child:last-child,
- details > :last-child>:last-child:last-child:last-child,
- details > :last-child>:last-child>:last-child:last-child,
- details > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-details {
- padding-block-start: 0
-}
-
-details:not([open]) { padding-block-end: 0; }
-
-summary {
- margin: calc(0px - var(--gap));
- margin-bottom: 0;
- padding-inline: var(--gap);
-
- font-weight: bold;
-
- background: var(--accent);
- color: var(--bg);
- border-radius: inherit;
-
- cursor: pointer
-}
-
-summary:focus-visible, summary:active {
- background: var(--muted-accent);
- border-color: var(--muted-accent);
- }
-
-details[open] summary {
- border-block-end: 1px solid var(--accent);
- border-end-end-radius: 0;
- border-end-start-radius: 0
-}
-
-dialog {
-}
-
-/***
- 4.1 The document element
- https://html.spec.whatwg.org/multipage/semantics.html#the-root-element
-
- 4.3 Sections
- https://html.spec.whatwg.org/multipage/sections.html
- ***/
-
-html {
- font-family: var(--main-font);
- line-height: var(--rhythm);
- font-size: 120%;
-}
-
-body {
- margin: 0;
-}
-
-header, footer, section {
- margin-block: calc(2 * var(--gap));
-}
-
-nav a {
- text-decoration: none;
- color: var(--accent);
- }
-
-aside {
- margin: var(--gap) 0;
- padding: var(--gap);
- border-radius: calc(var(--rhythm) / 4);
- background: var(--colorful-bg);
- border: 1px solid var(--accent)
- /* artificially increase specificity */
- /* TODO: come up with a better way to do this */
-}
-
-aside > :first-child:first-child:first-child:first-child,
- aside > :first-child>:first-child:first-child:first-child,
- aside > :first-child>:first-child>:first-child:first-child,
- aside > :first-child>:first-child>:first-child>:first-child { margin-block-start: 0; }
-
-aside > :last-child:last-child:last-child:last-child,
- aside > :last-child>:last-child:last-child:last-child,
- aside > :last-child>:last-child>:last-child:last-child,
- aside > :last-child>:last-child>:last-child>:last-child { margin-block-end: 0; }
-
-aside h1,
- aside h2,
- aside h3,
- aside h4,
- aside h5,
- aside h6 {
- font-size: 1em;
- text-transform: none;
- letter-spacing: none;
- }
-
-h1, h2, h3, h4, h5, h6 {
- margin-block-end: var(--gap);
- font-family: var(--display-font);
- font-size: 1em;
- margin-block-start: calc(2 * var(--gap));
-}
-
-h1, .h1 {
- font-size: 2em;
- text-transform: none;
- line-height: calc(2 * var(--rhythm));
- letter-spacing: 0;
-}
-
-h2, .h2 {
- font-size: 1.6em;
- text-transform: none;
- line-height: calc(1.5 * var(--rhythm));
- letter-spacing: 0;
-}
-
-h3, .h3 {
- font-size: 1.17em;
- text-transform: uppercase;
- line-height: calc(1 * var(--rhythm));
- letter-spacing: 0.02em;
-}
-
-h4, .h4, h5, .h5, h6, .h6 {
- font-size: 1em;
- text-transform: none;
- line-height: calc(1 * var(--rhythm));
- letter-spacing: 0;
- margin-block-start: var(--gap);
-}
-
-h1 + h2,
-h2 + h3,
-h3 + h4,
-h4 + h5,
-h5 + h6,
-h1:first-child,
-h2:first-child,
-h3:first-child,
-h4:first-child,
-h5:first-child,
-h6:first-child {
- margin-block-start: var(--gap);
-}
-
-h1:target,
-h2:target,
-h3:target,
-h4:target,
-h5:target,
-h6:target {
- outline: none
-}
-
-h1:target::before, h2:target::before, h3:target::before, h4:target::before, h5:target::before, h6:target::before {
- content: '❧';
- display: inline-block;
- width: 0;
- transform: translateX(-1.5ch);
- font-size: 2em;
- vertical-align: bottom;
- color: var(--accent);
- }
-
-header {
- border-block-end: 1px solid var(--faded-fg);
-}
-
-footer {
- border-block-start: 1px solid var(--faded-fg);
-}
-
-body > header,
-body > footer {
- padding: var(--rhythm) var(--gutter-width)
-}
-
-address {
- --density: 0;
-}
-
-/***
- 4.9 Tabular data
- https://html.spec.whatwg.org/multipage/tables.html
- ***/
-
-table {
- font-variant-numeric: tabular-nums;
- font: inherit;
-}
-
-caption {
- text-align: start;
- font-style: italic;
-}
-
-tbody {
- border-block: 1px solid var(--fg);
-}
-
-thead {
-}
-
-tfoot {
-}
-
-tr {
-
-}
-
-td, th {
- vertical-align: top
-}
-
-td:not(:last-child), th:not(:last-child) {
- padding-inline-end: var(--rhythm);
- }
-
-td {
- }
-
-th {
- text-align: start;
- }
-
-/* Colors taken from https://reasonable.work/colors/ */
-
-:root {
- /* Colors */
- --fg: #000; /* Text. */
- --muted-fg: #3e3e3e; /* De-emphasized or disabled elements' text. Will be
- used with a background of --c-bg and --c-bg-2 -- check contrast! */
- --faded-fg: #8b8b8b; /* De-emphasized or disabled graphical elements. Will not
- be used as a text color. */
- --info-fg: #00386d;
- --ok-fg: #004825;
- --bad-fg: #830014;
- --warn-fg: #463d00;
-
- --bg: #fff; /* Page background. */
- --colorful-bg: #d7fff7; /* Background for blocks: cards, admonitions etc. */
- --interactive-bg: #e2e2e2; /* Background for interactive elements */
- --info-bg: #d4e0ff; /* blue */
- --ok-bg: #5dffa2;
- --bad-bg: #ffddd8;
- --warn-bg: #ffe53e;
-
- --shadow: #777; /* Box shadows. */
-
- --accent: #007f5f; /* Accent color. Will be used *as a text color* with a
- background of --c-bg and --c-bg-2 -- check contrast! */
- --muted-accent: #42ffc6; /* Muted accent color. Will not be used for text. */
-
- /* Lengths */
- --rhythm: 1.4rem; /* Vertical rhythm, line height. */
- --line-length: 40rem; /* Maximum line length for prose. */
-
- /* Fonts */
- --main-font: 'Inter', -apple-system, system-ui, sans-serif;
- --display-font: var(--main-font); /* Headings etc. */
- --mono-font: 'M Plus Code Latin', monospace, monospace; /* monospace twice stops browsers from
- shrinking this */
-
- /* Density */
- --density: 1;
-
- /* Do not set these. */
- --eff-line-length: /* Effective line length for prose. */
- min(
- calc( 100vw - (2 * var(--rhythm)) ),
- var(--line-length)
- );
-
- --gutter-width: /* Width of spaces at each side of page content. */
- calc(
- (
- 100vw /* Viewport width */
- - var(--eff-line-length) /* minus line width */
- ) / 2); /* Divide by 2: there are two page margins */
-}
-
-* {
- --gap: calc(var(--rhythm) * var(--density));
- accent-color: var(--accent);
-}