aboutsummaryrefslogtreecommitdiff
path: root/docs/gen/style.css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-23 20:31:36 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-23 20:31:36 +0100
commit51ade451fa9d5cf9f42f93ad1b20b9231ef3bbeb (patch)
treed39b33215536a888311a0253e4037c5352aa56a3 /docs/gen/style.css
parent2c43fb419b812cd8b60f18193788e9e5148ef78f (diff)
fix figure numbering and image size
Diffstat (limited to 'docs/gen/style.css')
-rw-r--r--docs/gen/style.css15
1 files changed, 15 insertions, 0 deletions
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;
+ }
}