Better handle preformatted text in figures

This commit is contained in:
~lucidiot 2023-10-08 21:13:11 +02:00
parent 901fc6f41f
commit 49e592d3b9
1 changed files with 10 additions and 1 deletions

View File

@ -136,7 +136,7 @@ article blockquote, section blockquote {
} }
article figure, section figure { article figure, section figure {
margin-left: 1em; margin: 1em;
} }
article figure img, section figure img { article figure img, section figure img {
@ -145,6 +145,15 @@ article figure img, section figure img {
margin-right: auto; margin-right: auto;
} }
article figure pre, section figure pre {
margin: 0;
}
article figure figcaption, section figure figcaption {
font-style: italic;
text-align: center;
}
article table, section table { article table, section table {
width: 100%; width: 100%;
overflow-x: scroll; overflow-x: scroll;