From 51ade451fa9d5cf9f42f93ad1b20b9231ef3bbeb Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 23 Nov 2022 20:31:36 +0100 Subject: fix figure numbering and image size --- docs/gen/style.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/gen/style.css') diff --git a/docs/gen/style.css b/docs/gen/style.css index 7474846..eb47f5e 100644 --- a/docs/gen/style.css +++ b/docs/gen/style.css @@ -39,6 +39,15 @@ hyphens: auto; } + figcaption { + display: inline-block; + counter-increment: fig; + } + + figcaption::before { + content: "Figure " counter(fig) ": "; + } + table { border-collapse: collapse; border-style: solid; @@ -90,4 +99,10 @@ left: 0; content: attr(heading-num-fix); } + + img { + max-width: 13cm; + display: block; + margin: 0 auto; + } } -- cgit v1.2.3