/* Default styles provided by pandoc. ** See https://pandoc.org/MANUAL.html#variables-for-html for config info. */ $if(document-css)$ html { /* Keep the browser canvas separate from the A4 page shown below. */ font-family: $if(mainfont)$$mainfont$$else$"Times New Roman", Times, serif$endif$; font-size: $if(fontsize)$$fontsize$$else$12pt$endif$; line-height: $if(linestretch)$$linestretch$$else$1.5$endif$; color: $if(fontcolor)$$fontcolor$$else$#1a1a1a$endif$; background-color: $if(backgroundcolor)$$backgroundcolor$$else$#f0eff5$endif$; --pmt-page-width: $if(html-page-width)$$html-page-width$$else$210mm$endif$; --pmt-page-height: $if(html-page-height)$$html-page-height$$else$297mm$endif$; --pmt-page-margin-top: $if(html-page-margin-top)$$html-page-margin-top$$else$1.905cm$endif$; --pmt-page-margin-bottom: $if(html-page-margin-bottom)$$html-page-margin-bottom$$else$1.905cm$endif$; --pmt-page-margin-left: $if(html-page-margin-left)$$html-page-margin-left$$else$1.905cm$endif$; --pmt-page-margin-right: $if(html-page-margin-right)$$html-page-margin-right$$else$1.905cm$endif$; --pmt-text-width: calc( var(--pmt-page-width) - var(--pmt-page-margin-left) - var(--pmt-page-margin-right) ); --pmt-text-height: calc( var(--pmt-page-height) - var(--pmt-page-margin-top) - var(--pmt-page-margin-bottom) ); } /* Chinese-language HTML uses Times New Roman, 宋体 body text, and 黑体 headings. */ html:lang(zh) { font-family: $if(mainfont)$$mainfont$$else$"Times New Roman", "宋体", SimSun, serif$endif$; } html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3, html:lang(zh) h4, html:lang(zh) h5, html:lang(zh) h6 { font-family: "Times New Roman", "黑体", SimHei, sans-serif; font-weight: normal; } html:lang(zh) h1.title, html:lang(zh) p.subtitle { font-family: "Times New Roman", "黑体", SimHei, sans-serif; font-weight: normal; } /* Match the Chinese DOCX defaults: 小三=15pt, 四号=14pt, 五号=10.5pt. */ html:lang(zh) h1:not(.title) { font-size: 15pt; } html:lang(zh) h2 { font-size: 14pt; } html:lang(zh) figure figcaption, html:lang(zh) table caption { font-size: 10.5pt; font-weight: normal; } body { margin: 0; max-width: none; min-height: 100vh; padding: 2rem 0; background-color: $if(backgroundcolor)$$backgroundcolor$$else$#f0eff5$endif$; hyphens: auto; overflow-wrap: break-word; text-rendering: optimizeLegibility; font-kerning: normal; } .pmt-page { box-sizing: border-box; width: var(--pmt-page-width); min-height: var(--pmt-page-height); margin: 0 auto; padding: var(--pmt-page-margin-top) var(--pmt-page-margin-right) var(--pmt-page-margin-bottom) var(--pmt-page-margin-left); background-color: #fff; box-shadow: 0 1px 8px rgba(35, 35, 45, 0.18); } @media (max-width: 600px) { body { font-size: 0.9em; padding: 12px; } .pmt-page { width: 100%; min-height: auto; padding: 12px; box-shadow: none; } h1 { font-size: 1.8em; } } @media print { html { background-color: white; } body { min-height: auto; padding: 0; background-color: white; color: black; } .pmt-page { width: auto; min-height: auto; margin: 0; box-shadow: none; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3, h4 { page-break-after: avoid; } } p { margin: 1em 0; text-align: justify; } /* Keep Pandoc's DOCX revision styles visible in standalone HTML output. */ [data-custom-style="Revision Char"], [data-custom-style="Revision Para"] { color: #ee0000; } /* Match DOCX whole-table revisions by coloring the HTML table caption. */ [data-revision_rows="*"] > caption, [data-revision_columns="*"] > caption, [data-revision-rows="*"] > caption, [data-revision-columns="*"] > caption { color: #ee0000; } /* Keep pandoc-crossref subfigure layout tables neutral, like the DOCX cleanup. */ figure.subfigures .pmt-subfigure-table { margin: 0; border: 0; background: transparent; } figure.subfigures .pmt-subfigure-table > tbody { margin-top: 0; border-top: 0; border-bottom: 0; } figure.subfigures .pmt-subfigure-table td, figure.subfigures .pmt-subfigure-table th { border: 0; padding: 0; } figure.subfigures .pmt-subfigure-table figure { margin: 0; } /* Apply the paragraph style to the inner HTML paragraph created by the wrapper. */ [data-custom-style="Para Where"] > p { text-indent: 0; } [data-custom-style="Para Where"][data-where-layout="table"] > p { margin-top: 6pt; } [data-custom-style="Para After Table"] > p { margin-top: 6pt; } ol, ul, li { text-align: justify; } /* Citeproc emits #refs/.csl-entry; keep the bibliography aligned with body text. */ #refs, #refs .csl-entry, .references, .csl-bib-body, .csl-entry { text-align: justify; } /* Keep the generated author block compact and centered like the DOCX title area. */ .papper-authors { text-align: center; } .papper-authors p { text-align: center; } .papper-authors .affiliation { margin: 0.15em 0; line-height: 1.2; font-style: italic; font-size: smaller; } .papper-authors .corresponding-author { margin-top: 0.45em; line-height: 1.3; font-size: smaller; } a { color: $if(linkcolor)$$linkcolor$$else$#1a1a1a$endif$; } a:visited { color: $if(linkcolor)$$linkcolor$$else$#1a1a1a$endif$; } img { max-width: 100%; } figure { margin: 1em auto; text-align: center; } figure img, p > img:only-child, p > a > img:only-child { display: block; margin-left: auto; margin-right: auto; } figure figcaption, table caption { text-align: center; } svg { height: auto; max-width: 100%; } h1, h2, h3, h4, h5, h6 { margin-top: 1.4em; } h1 { font-size: 15pt; } h2 { font-size: 14pt; } h3, h4, h5, h6 { font-size: 12pt; } h1.title { font-size: 16pt; font-weight: bold; } p.subtitle { font-size: 14pt; font-weight: normal; } h5, h6 { font-style: italic; } h6 { font-weight: normal; } ol, ul { padding-left: 1.7em; margin-top: 1em; } li > ol, li > ul { margin-top: 0; } blockquote { margin: 1em 0 1em 1.7em; padding-left: 1em; border-left: 2px solid #e6e6e6; color: #606060; } $if(abstract)$ div.abstract { margin: 2em 0em 0em 0em; text-align: justify; font-size: 12pt; line-height: 1.5; } div.abstract-title { font-weight: bold; text-align: center; font-size: 12pt; padding: 0; margin-bottom: 0.5em; } $endif$ code { white-space: pre-wrap; font-family: $if(monofont)$$monofont$$else$Menlo, Monaco, Consolas, 'Lucida Console', monospace$endif$; $if(monobackgroundcolor)$ background-color: $monobackgroundcolor$; padding: .2em .4em; $endif$ font-size: 85%; margin: 0; hyphens: manual; } pre { margin: 1em 0; $if(monobackgroundcolor)$ background-color: $monobackgroundcolor$; padding: 1em; $endif$ overflow: auto; } pre code { padding: 0; overflow: visible; overflow-wrap: normal; } .sourceCode { background-color: transparent; overflow: visible; } hr { border: none; border-top: 1px solid #1a1a1a; height: 1px; margin: 1em 0; } table { /* Center tables through the standalone HTML stylesheet, like DOCX table alignment. */ margin: 1em auto; border-collapse: collapse; width: 100%; max-width: 100%; font-variant-numeric: lining-nums tabular-nums; line-height: 1; } table tr { line-height: 1; } table caption { $if(table-caption-below)$ caption-side: bottom; margin-top: 0.75em; $else$ margin-bottom: 0.75em; $endif$ } tbody { margin-top: 0.5em; border-top: 0.5pt solid $if(fontcolor)$$fontcolor$$else$#1a1a1a$endif$; border-bottom: 1.5pt solid $if(fontcolor)$$fontcolor$$else$#1a1a1a$endif$; } th { border-top: 1.5pt solid $if(fontcolor)$$fontcolor$$else$#1a1a1a$endif$; padding: 0.25em 0.5em 0.25em 0.5em; line-height: 1; } td { padding: 0.125em 0.5em 0.25em 0.5em; line-height: 1; } header { margin-bottom: 4em; text-align: center; } #TOC li { list-style: none; } #TOC ul { padding-left: 1.3em; } #TOC > ul { padding-left: 0; } #TOC a:not(:hover) { text-decoration: none; } $endif$ span.smallcaps{font-variant: small-caps;} div.columns{display: flex; gap: 1.5em;} div.column{flex: auto;} @media screen { div.columns{gap: min(4vw, 1.5em);} div.column{overflow-x: auto;} } div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} /* The extra [class] is a hack that increases specificity enough to override a similar rule in reveal.js */ ul.task-list[class]{list-style: none;} ul.task-list li input[type="checkbox"] { font-size: inherit; width: 0.8em; margin: 0 0.8em 0.2em -1.6em; vertical-align: middle; } $if(quotes)$ q { quotes: "“" "”" "‘" "’"; } $endif$ $if(displaymath-css)$ .display.math{display: block; text-align: center; margin: 0.5rem auto;} $endif$ /* KaTeX's bundled stylesheet enlarges formulas to 1.21em by default. */ .math .katex, .katex { font-size: inherit !important; } $if(highlighting-css)$ /* CSS for syntax highlighting */ $highlighting-css$ $endif$ $if(csl-css)$ $styles.citations.html()$ $endif$