Skip to content

Commit 2ae3e61

Browse files
committed
Fix listing + image caption styles
1 parent 66d3d46 commit 2ae3e61

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

style/book.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ body {
132132
}
133133

134134
.md div.listingcaption {
135-
margin-left: 3ex;
136135
text-align: center;
136+
margin-top: 0;
137+
margin-bottom: 1em;
137138
}
138139

139140
.md div.listingcaption kbd {
@@ -155,6 +156,8 @@ body {
155156

156157
.md span.imagecaption {
157158
text-align: center;
159+
margin-top: 0;
160+
margin-bottom: 1em;
158161
}
159162

160163

@@ -207,9 +210,4 @@ body {
207210
.md pre.listing.tilde code {
208211
font-size: 65%;
209212
}
210-
211-
.md div.listingcaption.tilde {
212-
margin-left: 5ex;
213-
}
214-
215213
}

0 commit comments

Comments
 (0)