diff options
| author | yum <yum.food.vr@gmail.com> | 2025-09-24 20:36:13 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-09-24 20:46:13 -0700 |
| commit | feb25c70651a64fd2c2cea6bdf6efdff3051154c (patch) | |
| tree | f8059f113bbd9bab7d6e5ee61f54ababaccfe807 /template.html | |
| parent | 9059a4a9049cf7a84b120d688e46e9aa81712c1c (diff) | |
shit yourself
Diffstat (limited to 'template.html')
| -rwxr-xr-x | template.html | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/template.html b/template.html index a7d93be..ae3cd6a 100755 --- a/template.html +++ b/template.html @@ -22,8 +22,17 @@ $endif$ $styles.html()$ </style> <style> - :root { - color-scheme: light dark; + /* regular text */ + body { + font-family: "Times New Roman", Times, "Iowan Old Style", "Apple Garamond", serif; + } + /* code */ + pre, code, kbd, samp { + font-family: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace; + } + /* math */ + math { + font-family: "Cambria Math", "Latin Modern Math", "STIX Two Math", serif; } @media (prefers-color-scheme: dark) { /* Tomorrow night theme: https://github.com/chriskempson/tomorrow-theme */ @@ -43,6 +52,7 @@ $endif$ } } @media (prefers-color-scheme: light) { + /* Tomorrow theme: https://github.com/chriskempson/tomorrow-theme */ :root { --background-color: #ffffff; --current-line-color: #e0e0e0; @@ -58,7 +68,7 @@ $endif$ --purple-color: #8959a8; } } - + /* basic styling */ html, body { background-color: var(--background-color); color: var(--foreground-color); @@ -75,18 +85,16 @@ $endif$ ::selection { background-color: var(--selection-color); } + /* code */ .sourceCode { background-color: var(--current-line-color); - padding: 1em; border-radius: 1em; } .sourceCode pre { - margin: 0; - padding: 0; + padding: 1em; background: transparent; color: var(--foreground-color); } - .sourceCode code { background: transparent; } /* Pandoc syntax highlighting token classes */ code span.co, code span.an, code span.do, code span.cv { color: var(--comment-color); } code span.kw, code span.cf, code span.er { color: var(--red-color); } |
