2021-02-18 16:43:25 +00:00
|
|
|
p,
|
|
|
|
pre,
|
|
|
|
ul,
|
2021-02-18 23:16:05 +00:00
|
|
|
blockquote,
|
2021-02-18 16:43:25 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
}
|
2021-02-18 23:16:05 +00:00
|
|
|
p:empty {
|
|
|
|
margin: revert;
|
2021-02-18 16:43:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-02-18 23:16:05 +00:00
|
|
|
pre {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2021-02-18 16:43:25 +00:00
|
|
|
img,
|
|
|
|
audio,
|
|
|
|
video {
|
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2020-12-11 23:22:09 +00:00
|
|
|
:root {
|
2021-02-18 23:16:05 +00:00
|
|
|
--foreground: black;
|
|
|
|
--background: white;
|
|
|
|
|
|
|
|
--body-width: 48rem;
|
|
|
|
--hyphens: manual;
|
|
|
|
|
2021-02-16 22:16:11 +00:00
|
|
|
--serif: georgia, times, serif;
|
|
|
|
--sans-serif: avenir, helvetica, arial, sans-serif;
|
|
|
|
--mono: consolas, monaco, monospace;
|
2021-02-16 21:10:16 +00:00
|
|
|
|
2021-02-18 23:16:05 +00:00
|
|
|
--p-family: var(--serif);
|
|
|
|
--p-size: 1.25rem;
|
|
|
|
--p-height: 1.5;
|
2021-02-16 21:10:16 +00:00
|
|
|
--p-indent: 0rem;
|
|
|
|
|
2021-02-18 23:16:05 +00:00
|
|
|
--a-family: var(--serif);
|
2021-02-16 21:10:16 +00:00
|
|
|
--a-size: var(--p-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
--a-height: 1.5;
|
|
|
|
--a-decoration: underline;
|
|
|
|
--a-style: normal;
|
|
|
|
|
|
|
|
--pre-family: var(--mono);
|
2021-01-28 06:16:46 +00:00
|
|
|
--pre-size: 1rem;
|
2021-02-18 23:16:05 +00:00
|
|
|
--pre-height: 1;
|
|
|
|
|
|
|
|
--h1-family: var(--sans-serif);
|
2021-01-28 06:16:46 +00:00
|
|
|
--h1-size: 3rem;
|
2021-02-18 23:16:05 +00:00
|
|
|
--h1-height: 1.25;
|
|
|
|
|
|
|
|
--h2-family: var(--sans-serif);
|
2021-01-28 06:16:46 +00:00
|
|
|
--h2-size: 2.25rem;
|
2021-02-18 23:16:05 +00:00
|
|
|
--h2-height: 1.25;
|
|
|
|
|
|
|
|
--h3-family: var(--sans-serif);
|
2021-01-28 06:16:46 +00:00
|
|
|
--h3-size: 1.5rem;
|
2021-02-18 23:16:05 +00:00
|
|
|
--h3-height: 1.25;
|
|
|
|
|
|
|
|
--ul-family: var(--serif);
|
2021-02-16 21:10:16 +00:00
|
|
|
--ul-size: var(--p-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
--ul-height: 1.25;
|
2021-02-16 21:10:16 +00:00
|
|
|
|
2021-02-18 23:16:05 +00:00
|
|
|
--quote-family: var(--serif);
|
|
|
|
--quote-size: var(--p-size);
|
|
|
|
--quote-height: 1.25;
|
|
|
|
--quote-style: italic;
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
2021-01-28 06:16:46 +00:00
|
|
|
margin: 0 auto;
|
2021-02-18 23:16:05 +00:00
|
|
|
padding: 0.5rem;
|
|
|
|
max-width: var(--body-width);
|
|
|
|
hyphens: var(--hyphens);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-02-18 23:16:05 +00:00
|
|
|
font-family: var(--p-family);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-size: var(--p-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--p-height);
|
2021-01-28 06:16:46 +00:00
|
|
|
text-indent: var(--p-indent);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2021-02-16 21:10:16 +00:00
|
|
|
font-size: var(--a-size);
|
|
|
|
font-style: var(--a-style);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-family: var(--serif);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--a-line-height);
|
2021-02-16 00:22:11 +00:00
|
|
|
text-decoration: var(--a-decoration);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
2021-01-28 04:12:11 +00:00
|
|
|
pre {
|
2021-02-18 23:16:05 +00:00
|
|
|
padding: 1rem;
|
|
|
|
font-family: var(--pre-family);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-size: var(--pre-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--pre-height);
|
2021-01-28 04:12:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2021-02-18 23:16:05 +00:00
|
|
|
font-family: var(--h1-family);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-size: var(--h1-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--h1-height);
|
2021-01-28 04:12:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2021-02-18 23:16:05 +00:00
|
|
|
font-family: var(--h2-family);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-size: var(--h2-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--h2-height);
|
2021-01-28 04:12:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-02-18 23:16:05 +00:00
|
|
|
font-family: var(--h3-family);
|
2021-01-28 06:16:46 +00:00
|
|
|
font-size: var(--h3-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--h3-height);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2021-02-18 23:16:05 +00:00
|
|
|
padding-left: 1rem;
|
|
|
|
list-style-type: var(--ul-style);
|
2021-02-16 21:10:16 +00:00
|
|
|
font-size: var(--ul-size);
|
2021-02-18 23:16:05 +00:00
|
|
|
font-family: var(--ul-family);
|
|
|
|
line-height: var(--ul-height);
|
2021-01-28 04:12:11 +00:00
|
|
|
}
|
|
|
|
|
2020-12-11 23:22:09 +00:00
|
|
|
blockquote {
|
2021-02-18 23:16:05 +00:00
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
font-family: var(--quote-family);
|
2021-02-16 21:10:16 +00:00
|
|
|
font-size: var(--quote-size);
|
|
|
|
font-style: var(--quote-style);
|
2021-02-18 23:16:05 +00:00
|
|
|
line-height: var(--quote-height);
|
2020-12-11 23:22:09 +00:00
|
|
|
}
|
|
|
|
|
2021-01-28 00:09:27 +00:00
|
|
|
/* foreground and background colors */
|
2021-01-28 06:16:46 +00:00
|
|
|
html,
|
2021-01-28 04:12:11 +00:00
|
|
|
body,
|
2021-01-26 00:54:35 +00:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
p,
|
|
|
|
a,
|
|
|
|
ul,
|
2021-01-28 04:27:44 +00:00
|
|
|
blockquote,
|
2021-02-16 15:35:29 +00:00
|
|
|
pre::selection {
|
2021-01-28 06:16:46 +00:00
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2021-01-28 06:16:46 +00:00
|
|
|
border-left: 0.5rem solid var(--foreground);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
2021-01-28 04:12:11 +00:00
|
|
|
pre,
|
2020-12-11 23:22:09 +00:00
|
|
|
::selection,
|
2021-01-26 00:54:35 +00:00
|
|
|
a:hover {
|
2021-01-28 06:16:46 +00:00
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (prefers-color-scheme: dark) {
|
2021-01-28 06:16:46 +00:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
p,
|
|
|
|
a,
|
|
|
|
ul,
|
|
|
|
blockquote,
|
2021-02-16 15:35:29 +00:00
|
|
|
pre::selection {
|
2021-01-28 06:16:46 +00:00
|
|
|
color: var(--background);
|
|
|
|
background-color: var(--foreground);
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 0.5rem solid var(--background);
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
::selection,
|
|
|
|
a:hover {
|
|
|
|
color: var(--foreground);
|
|
|
|
background-color: var(--background);
|
|
|
|
}
|
2021-01-26 00:54:35 +00:00
|
|
|
}
|