Skip to content

Commit

Permalink
Centered images and table captions in HTML
Browse files Browse the repository at this point in the history
Signed-off-by: Dscano <[email protected]>
  • Loading branch information
Dscano committed Dec 28, 2024
1 parent ba93b11 commit a93198f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/v1/resources/theme/p4-stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ kbd kbd:last-child { margin-right: 0; }

.imageblock, .literalblock, .listingblock, .verseblock, .videoblock { margin-bottom: 1.33333em; }

.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: center; font-weight: bold; }
.admonitionblock td.content > .title, .exampleblock > .title, .imageblock > .title, .videoblock > .title, .listingblock > .title, .literalblock > .title, .openblock > .title, .paragraph > .title, .quoteblock > .title, .sidebarblock > .title, .tableblock > .title, .verseblock > .title, .dlist > .title, .olist > .title, .ulist > .title, .qlist > .title, .hdlist > .title { text-align: center; font-weight: lighter;}

.tableblock > caption { text-align: left; font-weight: bold; white-space: nowrap; overflow: visible; max-width: 0; }
.tableblock > caption {caption-side: bottom; font-weight:lighter; white-space: nowrap; overflow: visible;}

table.tableblock #preamble > .sectionbody > .paragraph:first-of-type p { font-size: inherit; }

Expand Down

0 comments on commit a93198f

Please sign in to comment.