update css and pandoc options
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 9s
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 9s
This commit is contained in:
6
.github/workflows/release-docs.yml
vendored
6
.github/workflows/release-docs.yml
vendored
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user