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:
4
.github/workflows/release-docs.yml
vendored
4
.github/workflows/release-docs.yml
vendored
@@ -35,6 +35,10 @@ jobs:
|
|||||||
pandoc "src/${doc}.md" \
|
pandoc "src/${doc}.md" \
|
||||||
--toc \
|
--toc \
|
||||||
--standalone \
|
--standalone \
|
||||||
|
--number-sections \
|
||||||
|
--toc-depth=2 \
|
||||||
|
--lua-filter src/shift-numbering.lua\
|
||||||
|
--metadata-file src/metadata.yml \
|
||||||
--embed-resources \
|
--embed-resources \
|
||||||
--metadata title="CMBA ${doc}" \
|
--metadata title="CMBA ${doc}" \
|
||||||
--css src/style.css \
|
--css src/style.css \
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
- headings with ids/classes like .unnumbered
|
- 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{
|
:root{
|
||||||
--bg: #ffffff;
|
--bg: #ffffff;
|
||||||
--fg: #111827; /* slate-900 */
|
--fg: #111827; /* slate-900 */
|
||||||
@@ -27,7 +29,16 @@ body{
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
color: var(--fg);
|
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;
|
line-height: 1.6;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
|||||||
Reference in New Issue
Block a user