From 1f7cb3cc52fee4878a206e2ba3479d40415728ef Mon Sep 17 00:00:00 2001 From: Steve Hollasch Date: Fri, 1 Nov 2019 20:57:26 -0700 Subject: [PATCH] style: center all captions Resolves #238 --- style/book.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/style/book.css b/style/book.css index 3a60951d..ec532624 100644 --- a/style/book.css +++ b/style/book.css @@ -133,6 +133,7 @@ body { .md div.listingcaption { margin-left: 3ex; + text-align: center; } .md div.listingcaption kbd { @@ -148,11 +149,14 @@ body { width: 72ex; } -.md div.imagecaption { - text-align: center; +.md div.image { margin-bottom: 1em; } +.md span.imagecaption { + text-align: center; +} + /* ------------------------------------------------------------------------------------------------- ** Print Styling