2021-08-02 02:42:39 +08:00
\Preamble{xhtml}
\Configure{tableofcontents*}{chapter,section,subsection}
2021-08-05 18:37:55 +08:00
\Css{html {
width: 100vw;
overflow-x: hidden;
}}
2021-10-10 21:34:25 +08:00
\Css{@font-face {
font-family: Manrope;
src: url(Manrope_variable.ttf);
}}
2021-08-05 18:37:55 +08:00
\Css{body {
2021-09-09 11:20:41 +08:00
max-width: 55rem;
2021-08-05 18:37:55 +08:00
box-sizing: border-box;
padding: 1rem;
2021-08-02 02:42:39 +08:00
margin: 0 auto;
2021-08-05 18:37:55 +08:00
overflow-x: hidden;
2021-09-09 11:20:41 +08:00
background-color: \#F4ECD8;
color: \#5B464B;
line-height: 1.5;
}}
\Css{a {
color: \#0060DF;
}}
\Css{p, a {
2021-09-10 12:08:57 +08:00
font-size: 1.2rem;
2021-10-10 21:34:25 +08:00
font-family: Manrope;
2021-09-09 11:20:41 +08:00
}}
\Css{p + pre {
font-size: 1.1em;
2021-08-05 18:37:55 +08:00
}}
\Css{div.author {
white-space: normal;
}}
\Css{img.math {
height: 1rem;
vertical-align: top;
2021-08-02 02:42:39 +08:00
}}
2021-08-08 01:29:50 +08:00
\Css{pre.fancyvrb, {
white-space: pre;
}}
2021-08-05 18:37:55 +08:00
\Css{figure, .fancyvrb, .verbatim {
margin-inline: 0;
overflow-x: auto;
2021-08-02 02:42:39 +08:00
}}
2021-08-08 01:29:50 +08:00
\Css{.ecrm-0500 {
2021-08-02 02:42:39 +08:00
font-size: 70\%;
2021-08-08 01:29:50 +08:00
font-style: italic;
2021-08-02 02:42:39 +08:00
color: gray;
2021-08-08 01:29:50 +08:00
width: 1.5rem;
display: inline-block;
2021-08-02 02:42:39 +08:00
-webkit-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}}
2021-08-17 17:35:36 +08:00
\Css{.flushright:first-child {
position:absolute;
top: 10px;
right: 50px;
}}
2021-08-31 23:49:18 +08:00
\Css{.right {
text-align: right;
}}
2021-08-17 17:35:36 +08:00
2021-08-31 23:49:18 +08:00
\AtBeginDocument{%
\Configure{@HEAD}{\HCode{
<script async defer src = "https://buttons.github.io/buttons.js"></script>
<div class = "right">
<a class = "github-button" href="https://github.com/sysprog21/lkmpg" data-size="large" aria-label="View on GitHub">View on GitHub</a>
<a class = "github-button" href="https://github.com/sysprog21/lkmpg/releases/download/latest/lkmpg.pdf" data-icon="octicon-download" data-size="large" aria-label="Download PDF document">Download PDF document</a>
<br><br>
</div>
\Hnewline}}
}
\begin{document}
2021-09-09 11:20:41 +08:00
\EndPreamble