diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-11-23 20:31:36 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-11-23 20:31:36 +0100 |
commit | 51ade451fa9d5cf9f42f93ad1b20b9231ef3bbeb (patch) | |
tree | d39b33215536a888311a0253e4037c5352aa56a3 /docs/gen/style.css | |
parent | 2c43fb419b812cd8b60f18193788e9e5148ef78f (diff) |
fix figure numbering and image size
Diffstat (limited to 'docs/gen/style.css')
-rw-r--r-- | docs/gen/style.css | 15 |
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; + } } |