update css and pandoc options
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 9s

This commit is contained in:
Tony
2026-01-14 11:02:46 -06:00
parent e0ee5899c0
commit 40a0624ab2
2 changed files with 17 additions and 2 deletions

View File

@@ -35,6 +35,10 @@ jobs:
pandoc "src/${doc}.md" \
--toc \
--standalone \
--number-sections \
--toc-depth=2 \
--lua-filter src/shift-numbering.lua\
--metadata-file src/metadata.yml \
--embed-resources \
--metadata title="CMBA ${doc}" \
--css src/style.css \

View File

@@ -5,6 +5,8 @@
- headings with ids/classes like .unnumbered
*/
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&display=swap");
:root{
--bg: #ffffff;
--fg: #111827; /* slate-900 */
@@ -27,7 +29,16 @@ body{
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
/* Rulebook serif stack */
font-family:
"Merriweather",
"Georgia",
"Times New Roman",
Times,
"Liberation Serif",
serif;
line-height: 1.6;
font-size: 16px;
text-rendering: optimizeLegibility;