html {
font-size: 18px;
}
:root body {
color-scheme: light dark;
--content-gap: 15px;
--radius: 5px;
--article-max-width: 90ex;
--toc-max-width: 90ex;
--text-font-family: "Inria Sans", sans-serif;
--kaiti-font-family: "LXGW WenKai TC", "FandolKai", "KaiTi", "SimKai", "STKaiti", "Kaiti SC", "Kaiti TC", "华文楷体", "楷体", serif;
/* root font size: 16px */
--pre-font-size: 1rem;
--code-font-size: 1rem;
--cjk-kaiti-font-size: 1rem;
/* If this value is not 1rem, the CJK text in Typst will not match the size of the CJK text in KaTeX. */
--katex-font-size: 1em;
--katex-frac-line-font-size: 1.25em;
--details-h1-font-size: 1.2rem;
/* 13pt */
--section-details-h1-font-size: 1.083rem;
--article-details-h1-font-size: 1.5rem;
/* 0.9em */
--article-details-h1-taxon-font-size: 1.35rem;
/* 24px; */
--logo-font-size: 1.5rem;
/* 14pt; */
--footer-h2-font-size: 1.167rem;
--p-line-height: 1.55rem;
--text-color: black;
--toc-link-color: #555;
--background-color: white;
--background-color-pre: rgba(0, 100, 100, 0.04);
--background-color-code: rgba(0, 100, 100, 0.04);
--hover-color-block: rgba(0, 100, 255, 0.04);
--hover-color-link: rgba(0, 100, 255, 0.1);
--target-color: rgb(67, 92, 255);
--link-color: black;
--slug-color: gray;
--logo-color: #666;
--logo-hover-color: #aaa;
--span-taxon-color: #444;
--article-taxon-color: #888;
--mark-color: rgb(255, 255, 151);
--em-color: var(--text-color);
--alert-border-color: gray;
}
@media (prefers-color-scheme: dark) {
:root body {
--text-color: white;
--toc-link-color: white;
--background-color: #2f2f2f;
--background-color-pre: rgba(100, 100, 100, 0.2);
--background-color-code: rgba(150, 150, 150, 0.2);
--hover-color-block: rgba(100, 162, 255, 0.06);
--hover-color-link: rgba(100, 162, 255, 0.2);
--target-color: rgb(255, 255, 151);
--link-color: white;
--slug-color: #aeaeae;
--logo-color: #999;
--logo-hover-color: #eee;
--span-taxon-color: #bbb;
}
}
@media print {
html {
font-size: 16px;
}
.edit,
#theme-options {
display: none;
}
}
.cursor-pointer {
cursor: pointer;
}
theme-option {
display: inline-block;
}
theme-option>input {
display: none;
}
theme-option>label {
color: var(--slug-color);
}
theme-option>label:hover {
background-color: var(--hover-color-link);
}
theme-option:has(input:checked)>label {
color: var(--link-color);
}
theme-option>label::before {
content: "[";
color: rgba(0, 0, 0, 0);
}
theme-option>label::after {
content: "]";
color: rgba(0, 0, 0, 0);
}
theme-option:has(input:checked)>label::before {
color: var(--link-color);
}
theme-option:has(input:checked)>label::after {
color: var(--link-color);
}
#theme-options::before {
content: "(";
}
#theme-options::after {
content: ")";
}
body {
color: var(--text-color);
font-optical-sizing: auto;
font-size: 1rem;
font-family: var(--text-font-family);
hyphens: auto;
background-color: var(--background-color);
}
pre,
code {
font-optical-sizing: auto;
}
p,
pre {
line-height: var(--p-line-height);
}
pre {
border-radius: var(--radius);
background-color: var(--background-color-pre);
padding: 0.5rem;
font-size: var(--pre-font-size);
margin-top: 0rem;
overflow-x: auto;
white-space: pre-wrap;
overflow-wrap: break-word;
}
code {
border-radius: var(--radius);
background-color: var(--background-color-code);
padding: 0.1rem;
font-size: var(--code-font-size);
}
pre,
code {
font-family: monospace;
}
table {
border-collapse: collapse;
margin-bottom: 1rem;
}
/* !forest */
th {
font-weight: normal;
text-align: left;
}
th,
td {
padding: 0 15px;
vertical-align: top;
}
/* !forest */
pre>code {
border-radius: 0;
background-color: transparent;
padding: 0;
}
/* !forest */
.footnote-definition:last-child {
margin-bottom: 1rem;
}
/* !forest */
.footnote-definition>p {
display: inline;
}
/* !forest */
.footnote-definition-label {
margin-right: 4px;
}
/* !forest */
.footnote-reference:target {
border: 1px solid var(--target-color);
}
.footnote-definition:target>.footnote-definition-label {
border: 1px solid var(--target-color);
}
.footnote-reference::before,
.footnote-definition-label::before {
content: "[";
}
.footnote-reference::after,
.footnote-definition-label::after {
content: "]";
}
.katex {
font: normal var(--katex-font-size) KaTeX_Main, Times New Roman, serif;
line-height: 1rem;
text-indent: 0;
text-rendering: auto;
}
.katex .mfrac .frac-line {
font-size: var(--katex-frac-line-font-size);
}
/* Generated by KaTeX */
.cjk_fallback {
font-size: 1rem;
font-family: var(--text-font-family);
}
p:has(span.katex-html:empty) {
display: none;
}
section+p:empty {
display: none;
}
.katex-display {
overflow-x: auto;
overflow-y: hidden;
}
.katex-display .katex {
/* Inconsistent bounding box at different font sizes. */
/* Also see: https://github.com/KaTeX/KaTeX/issues/3965 */
padding-top: 1px;
}
.display-none {
display: none;
}
em {
color: var(--em-color);
font-style: italic;
}
em span:is([lang=zh], [lang=ja], [lang=ko]) {
font-style: normal;
font-family: var(--kaiti-font-family);
font-size: var(--cjk-kaiti-font-size);
}
blockquote {
font-style: italic;
--blockquote-cjk-font-family: var(--kaiti-font-family);
}
blockquote span:is([lang=zh], [lang=ja], [lang=ko]) {
font-style: normal;
font-family: var(--blockquote-cjk-font-family);
font-size: var(--cjk-kaiti-font-size);
}
/* GFM Blockquote tags: https://github.com/orgs/community/discussions/16925 */
blockquote:is(.markdown-alert-note, .markdown-alert-tip, .markdown-alert-important, .markdown-alert-warning, .markdown-alert-caution) {
--blockquote-cjk-font-family: var(--text-font-family);
margin: 0.5rem 0.5rem;
padding: 0rem 0.5rem;
font-style: normal;
border-left: .25rem double var(--alert-border-color);
}
blockquote:is(.markdown-alert-note, .markdown-alert-tip, .markdown-alert-important, .markdown-alert-warning, .markdown-alert-caution)>p:first-child::before {
font-size: var(--section-details-h1-font-size);
font-family: monospace;
font-style: normal;
color: var(--span-taxon-color);
margin-right: 0.5rem;
display: block;
content: var(--alert-label);
}
blockquote.markdown-alert-note {
--alert-label: "[# NOTE]";
}
blockquote.markdown-alert-tip {
--alert-label: "[# TIP]";
}
blockquote.markdown-alert-important {
--alert-label: "[# IMPORTANT]";
}
blockquote.markdown-alert-warning {
--alert-label: "[# WARNING]";
}
blockquote.markdown-alert-caution {
--alert-label: "[# CAUTION]";
}
h1,
h2,
h3,
h4 {
margin-top: 0.5em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 500;
margin-bottom: 0;
}
h5,
h6,
p {
margin-top: 0;
}
details>summary {
list-style-type: none;
outline: none;
}
details>summary>header {
display: inline;
}
details>summary::marker,
details>summary::-webkit-details-marker {
display: none;
}
details h1 {
font-size: var(--details-h1-font-size);
display: inline;
}
span.taxon {
color: var(--span-taxon-color);
font-weight: 500;
}
article>section>details>summary>header>h1 {
font-size: var(--article-details-h1-font-size);
}
article>section>details>h2 {
font-size: 1.25rem;
}
article>section>details>h3 {
font-size: 1.125rem;
}
article>section>details>h4 {
font-size: 1rem;
}
article>section>details>h5,
article>section>details>h6 {
font-size: 0.875rem;
}
article>section>details>summary>header {
display: block;
margin-bottom: 0.5em;
}
article>section>details>summary>header>h1>.taxon {
display: block;
font-size: var(--article-details-h1-taxon-font-size);
color: var(--article-taxon-color);
padding-bottom: 5pt;
}
article>section>details>summary>header>h1>.taxon:empty {
display: none;
}
section.block>details {
margin-bottom: 0.4em;
}
section.block>details[open] {
margin-bottom: 1em;
}
section.block.link-list>details {
margin-bottom: 0em;
}
section.block.link-list>details>section.block>details {
margin-bottom: 0.25em;
}
/* class */
.inline-typst {
display: inline;
margin: 0 0;
font-size: var(--katex-font-size);
}
.block {
padding-left: 5px;
padding-right: 10px;
padding-bottom: 2px;
border-radius: var(--radius);
}
.block:hover {
background-color: var(--hover-color-block);
}
.block.hide-metadata>details>summary>header>.metadata {
display: none;
}
img {
object-fit: cover;
max-width: 100%;
}
figure {
text-align: center;
}
figcaption {
font-style: italic;
padding: 3px;
}
mark {
background-color: var(--mark-color);
}
hr {
margin-top: 10px;
margin-bottom: 20px;
background-color: gray;
border: 0 none;
width: 100%;
height: 1pt;
}
ul,
ol {
margin-top: 1em;
margin-bottom: 1em;
}
.logo>span {
color: var(--logo-color);
text-decoration: none;
}
.logo>span:hover {
color: var(--logo-hover-color);
}
.logo {
font-weight: 600;
font-size: var(--logo-font-size);
}
section section[data-taxon="Reference"]>details>summary>header>h1>.taxon,
section section[data-taxon="Person"]>details>summary>header>h1>.taxon {
display: none;
}
section .block[data-taxon]>header>h1,
section .block[data-taxon] details>summary>header>h1 {
font-size: var(--section-details-h1-font-size);
}
footer>section {
margin-bottom: 1em;
}
footer h2 {
font-size: var(--footer-h2-font-size);
}
.metadata ul {
padding-left: 0;
display: inline;
}
.metadata li::after {
content: " · ";
}
.metadata li:last-child::after {
content: "";
}
.metadata * {
display: inline;
}
.link {
cursor: pointer;
}
a {
color: var(--link-color);
text-decoration: inherit;
}
a.slug:hover,
a.edit:hover,
a.hash:hover,
a.bullet:hover,
.link:hover {
background-color: var(--hover-color-link);
}
.link.external,
.link.asset {
text-decoration: underline;
}
.link.asset::before {
content: "[F] ";
/* file */
}
a.link.local,
.link.local a,
a.slug,
a.edit,
a.hash {
box-shadow: none;
text-decoration-line: underline;
text-decoration-style: dotted;
overflow-wrap: break-word;
}
.slug,
.edit,
.doi,
.orcid {
color: var(--slug-color);
font-weight: 200;
}
body>header {
margin-bottom: 0.5em;
}
#grid-wrapper>article {
max-width: var(--article-max-width);
margin-right: auto;
grid-area: article;
}
@media only screen and (max-width: 1000px) {
:root body {
--code-font-size: 0.9rem;
}
figure {
margin: 0rem;
}
.block {
padding-left: 2px;
padding-right: 2px;
padding-bottom: 2px;
border-radius: 5px;
}
#grid-wrapper>nav {
transition: ease all 0.2s;
}
.mobile-sticky-nav {
position: sticky;
top: 0px;
max-height: calc(100vh - 0px);
overflow-y: auto;
scrollbar-width: thin;
background-color: var(--background-color);
z-index: 7;
border-bottom: solid var(--text-color);
}
}
@media only screen and (min-width: 1000px) {
body {
margin-top: 2rem;
margin-left: 2rem;
transition: ease all 0.2s;
}
#grid-wrapper {
display: grid;
grid-auto-flow: column;
}
.sticky-nav {
position: sticky;
top: 0px;
max-height: calc(100vh - 0px);
overflow-y: auto;
scrollbar-width: thin;
}
}
nav#toc li.item-summary li {
display: none;
}
nav#toc ul {
list-style-type: none;
}
nav#toc li>ul {
margin: 0;
padding-left: 1rem;
}
nav#toc,
nav#toc a {
color: var(--toc-link-color);
}
nav#toc {
grid-area: toc;
}
nav {
font-optical-sizing: auto;
}
nav#toc a.bullet {
opacity: 0.7;
margin-left: 0.4rem;
margin-right: 0.3rem;
padding-left: 0.2rem;
padding-right: 0.2rem;
text-decoration: none;
}
.typst-text use[fill="#000000"],
.typst-group use[fill="#000000"],
path.typst-shape[fill="#000000"] {
fill: var(--text-color);
}
path.typst-shape[stroke="#000000"] {
stroke: var(--text-color);
}