diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index ca16764..aa7d24e 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -35,9 +35,13 @@ 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 \ + --css src/style.css \ -o "dist/${doc}.html" # PDF diff --git a/src/style.css b/src/style.css index ac624a4..0e112a0 100644 --- a/src/style.css +++ b/src/style.css @@ -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;