2023-10-27 01:15:29 +00:00
|
|
|
:root {
|
|
|
|
--color-background: #ffffff;
|
|
|
|
--color-foreground: #000000;
|
|
|
|
--color-accent: initial;
|
|
|
|
|
2023-11-16 14:33:58 +00:00
|
|
|
--color-canvas-gray: #7E7E7E;
|
|
|
|
--color-canvas-red: #FB464C;
|
|
|
|
--color-canvas-orange: #E9973F;
|
|
|
|
--color-canvas-yellow: #E0DE71;
|
|
|
|
--color-canvas-green: #44CF6E;
|
|
|
|
--color-canvas-blue: #53DFDD;
|
|
|
|
--color-canvas-purple: #A882FF;
|
|
|
|
--color-canvas: var(--color-canvas-gray);
|
|
|
|
|
|
|
|
--color-callout-gray: #9e9e9e;
|
|
|
|
--color-callout-red: #e93147;
|
|
|
|
--color-callout-orange: #ec7500;
|
|
|
|
--color-callout-yellow: #e0ac00;
|
|
|
|
--color-callout-green: #08b94e;
|
|
|
|
--color-callout-cyan: #00bfbc;
|
|
|
|
--color-callout-blue: #086ddd;
|
|
|
|
--color-callout-purple: #7852ee;
|
|
|
|
--color-callout-pink: #d53984;
|
|
|
|
--color-callout: var(--color-callout-gray);
|
2023-10-27 01:15:29 +00:00
|
|
|
|
2023-10-30 04:08:57 +00:00
|
|
|
--margins: 0;
|
|
|
|
|
2023-10-27 01:15:29 +00:00
|
|
|
--node-group-border-width: 2px;
|
|
|
|
--node-file-border-width: 2px;
|
2023-10-27 08:22:19 +00:00
|
|
|
--edge-width: 2px;
|
|
|
|
--font-text: sans-serif;
|
|
|
|
--font-mono: monospace;
|
2023-11-06 15:48:20 +00:00
|
|
|
--math-border-width: 1px;
|
2023-11-06 16:59:22 +00:00
|
|
|
--blockquote-border-width: 2px;
|
2023-10-27 01:15:29 +00:00
|
|
|
}
|
|
|
|
|
2023-10-30 04:08:57 +00:00
|
|
|
@media screen {
|
|
|
|
:root {
|
|
|
|
--margins: 32px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (min-width: 768px) {
|
|
|
|
:root {
|
|
|
|
--margins: 64px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-10-27 01:15:29 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
width: max-content;
|
2023-10-27 08:22:19 +00:00
|
|
|
min-width: 100svw;
|
2023-10-27 01:15:29 +00:00
|
|
|
height: max-content;
|
|
|
|
|
|
|
|
background-color: var(--color-background);
|
|
|
|
color: var(--color-foreground);
|
|
|
|
}
|
|
|
|
|
2023-10-27 08:22:19 +00:00
|
|
|
body > h1 {
|
2023-10-30 04:11:50 +00:00
|
|
|
margin-left: var(--margins);
|
|
|
|
margin-right: var(--margins);
|
2023-10-27 08:22:19 +00:00
|
|
|
font-size: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
font-family: var(--font-text);
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
font-family: var(--font-mono);
|
|
|
|
}
|
|
|
|
|
2023-10-27 01:15:29 +00:00
|
|
|
a {
|
|
|
|
color: var(--color-accent);
|
|
|
|
}
|
|
|
|
|
|
|
|
svg line {
|
2023-11-16 14:33:58 +00:00
|
|
|
stroke: var(--color-canvas);
|
2023-10-27 01:15:29 +00:00
|
|
|
stroke-width: var(--edge-width);
|
|
|
|
}
|
2023-11-06 15:48:20 +00:00
|
|
|
|
2023-11-06 16:59:22 +00:00
|
|
|
blockquote {
|
|
|
|
border-left: var(--blockquote-border-width) solid var(--color-accent);
|
|
|
|
margin-block-start: 0;
|
|
|
|
margin-block-end: 0;
|
|
|
|
margin-inline-start: 0;
|
|
|
|
margin-inline-end: 0;
|
2023-11-17 15:50:43 +00:00
|
|
|
padding-left: 12px;
|
2023-11-06 16:59:22 +00:00
|
|
|
}
|
|
|
|
|
2023-11-06 15:48:20 +00:00
|
|
|
.math {
|
|
|
|
overflow-x: auto;
|
2023-11-06 15:51:56 +00:00
|
|
|
overflow-y: hidden;
|
2023-11-06 15:48:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.math-inline {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.math-block {
|
|
|
|
margin: 1em 0;
|
|
|
|
|
|
|
|
text-align: center;
|
2023-11-06 16:47:27 +00:00
|
|
|
}
|
|
|
|
|
2023-11-06 17:00:23 +00:00
|
|
|
a, .wikilink {
|
2023-11-06 16:47:27 +00:00
|
|
|
color: color-mix(in srgb, var(--color-accent) 50%, transparent);
|
|
|
|
text-decoration: underline 1px dashed color-mix(in srgb, var(--color-accent) 50%, transparent);
|
|
|
|
}
|
|
|
|
|
2023-11-06 17:00:23 +00:00
|
|
|
a[href], .wikilink[href] {
|
2023-11-06 16:47:27 +00:00
|
|
|
color: var(--color-accent);
|
|
|
|
text-decoration: underline 1px solid var(--color-accent);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-11-06 17:00:23 +00:00
|
|
|
a[href]:hover, .wikilink[href]:hover {
|
|
|
|
color: color-mix(in srgb, var(--color-accent) 50%, var(--color-foreground));
|
|
|
|
text-decoration: underline 1px solid color-mix(in srgb, var(--color-accent) 50%, var(--color-foreground));
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 a, .wikilink.wikilink-heading {
|
|
|
|
color: var(--color-foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 a:hover, .wikilink.wikilink-heading:hover {
|
2023-11-06 16:47:27 +00:00
|
|
|
color: var(--color-foreground);
|
2023-11-06 17:00:23 +00:00
|
|
|
}
|
2023-11-16 14:33:58 +00:00
|
|
|
|
|
|
|
.callout {
|
2023-11-17 15:50:43 +00:00
|
|
|
background-color: color-mix(in srgb, var(--color-accent) 15%, transparent);
|
|
|
|
}
|
2023-11-16 14:33:58 +00:00
|
|
|
|
2023-11-17 15:50:43 +00:00
|
|
|
.callout [slot="callout-admonition"] {
|
|
|
|
color: var(--color-accent);
|
|
|
|
font-weight: bold;
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-abstract, .callout-summary, .callout-tldr {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-cyan);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
2023-11-17 15:50:43 +00:00
|
|
|
.callout-info, .callout-note, .callout-default {
|
|
|
|
--color-accent: var(--color-callout-blue);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-todo {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-blue)
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-tip, .callout-hint, .callout-important {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-cyan);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-success, .callout-check, .callout-done {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-green);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-question, .callout-help, .callout-faq {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-orange);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-warning, .callout-caution, .callout-attention {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-orange);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-failure, .callout-fail, .callout-mission {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-red);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-danger, .callout-error {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-red);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-bug {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-red);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-example {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-purple);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.callout-quote, .callout-cite {
|
2023-11-17 15:50:43 +00:00
|
|
|
--color-accent: var(--color-callout-gray);
|
2023-11-16 14:33:58 +00:00
|
|
|
}
|