Rewrite CSS to support scaling
@@ -2,15 +2,31 @@
\Configure{tableofcontents*}{chapter,section,subsection}
-\Css{* :not(img) {
- max-width: 100\%;
- width: 50vw;
- height: auto;
+\Css{html {
+ width: 100vw;
+ overflow-x: hidden;
+}}
+
+\Css{body {
+ max-width: 50rem;
+ box-sizing: border-box;
+ padding: 1rem;
margin: 0 auto;
+\Css{div.author {
+ white-space: normal;
+\Css{img.math {
+ height: 1rem;
+ vertical-align: top;
}}
-\Css{* {
- font-size: 1vw;
+\Css{figure, .fancyvrb, .verbatim {
+ margin-inline: 0;
+ overflow-x: auto;
\Css{.ecrm-0500 {
@@ -33,4 +49,4 @@
\begin{document}
-\EndPreamble
+\EndPreamble