2020-12-11 23:22:09 +00:00
|
|
|
* {
|
2021-01-28 00:35:07 +00:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
2020-12-11 23:22:09 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
overflow-wrap: anywhere
|
|
|
|
}
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--foreground: black;
|
|
|
|
--background: white;
|
|
|
|
--line-height: 1.5;
|
|
|
|
--font-size: 1.25rem;
|
|
|
|
--mono: Consolas, monaco, monospace;
|
|
|
|
--serif: font-family:georgia, times, serif;
|
|
|
|
--sans-serif: -apple-system, BlinkMacSystemFont, 'avenir next', avenir, helvetica, 'helvetica neue', ubuntu, roboto, noto, 'segoe ui', arial, sans-serif;
|
2021-01-28 00:09:27 +00:00
|
|
|
--text-indent: 0rem;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
max-width: 48rem;
|
|
|
|
padding: .5rem;
|
2021-01-26 00:54:35 +00:00
|
|
|
margin: 0 auto;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
font-family: var(--sans-serif);
|
|
|
|
line-height: 1.25;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2021-01-26 00:54:35 +00:00
|
|
|
font-size: 3rem;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2021-01-26 00:54:35 +00:00
|
|
|
font-size: 2.25rem;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-01-26 00:54:35 +00:00
|
|
|
font-size: 1.5rem;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--serif);
|
|
|
|
line-height: var(--line-height);
|
2021-01-28 00:09:27 +00:00
|
|
|
text-indent: var(--text-indent);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
br {
|
|
|
|
line-height: 1
|
|
|
|
}
|
|
|
|
|
|
|
|
a::before {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--mono);
|
|
|
|
content: "⇒";
|
|
|
|
padding-right: .25rem;
|
|
|
|
vertical-align: middle
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--serif);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
li::before {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--mono);
|
|
|
|
content: "*";
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-right: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--serif);
|
|
|
|
line-height: 1.25;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
font-size: var(--font-size);
|
|
|
|
font-family: var(--serif);
|
|
|
|
line-height: var(--line-height);
|
|
|
|
padding-left: .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
font-size: 1rem;
|
|
|
|
font-family: var(--mono);
|
|
|
|
line-height: 1;
|
|
|
|
padding: 1.25rem;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre+blockquote {
|
|
|
|
padding-top: .5rem;
|
|
|
|
padding-bottom: .5rem;
|
|
|
|
}
|
|
|
|
|
2021-01-28 00:09:27 +00:00
|
|
|
/* foreground and background colors */
|
2021-01-26 00:54:35 +00:00
|
|
|
html, body {
|
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
2021-01-28 00:09:27 +00:00
|
|
|
|
2021-01-26 00:54:35 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
p,
|
|
|
|
a,
|
|
|
|
ul,
|
|
|
|
blockquote {
|
|
|
|
color: var(--foreground);
|
2021-01-28 00:09:27 +00:00
|
|
|
background-color: var(--background);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: .5rem solid var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
2020-12-11 23:22:09 +00:00
|
|
|
::selection,
|
|
|
|
::-moz-selection {
|
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre::selection,
|
|
|
|
pre::-moz-selection {
|
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
2021-01-26 00:54:35 +00:00
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: var(--background);
|
2021-01-28 00:09:27 +00:00
|
|
|
background-color: var(--foreground);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
2021-01-28 00:09:27 +00:00
|
|
|
/* when system preference is "dark" invert foreground and background colors */
|
2021-01-26 00:54:35 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
html, body {
|
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
p,
|
|
|
|
a,
|
|
|
|
ul,
|
|
|
|
blockquote {
|
|
|
|
color: var(--background);
|
2021-01-28 00:09:27 +00:00
|
|
|
background-color: var(--foreground);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: .5rem solid var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection,
|
|
|
|
::-moz-selection {
|
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre::selection,
|
|
|
|
pre::-moz-selection {
|
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: var(--foreground);
|
2021-01-28 00:09:27 +00:00
|
|
|
background-color: var(--background);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
}
|