Skip to content

Commit 2c5412a

Browse files
committed
Remove unwanted margin in zebra layout figures
1 parent b9ff71b commit 2c5412a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/css/layouts/zebra-sections.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ main >section >div >blockquote >cite {
161161
text-align: right;
162162
padding-top: 5px;
163163
}
164+
main >section >div >blockquote >figure {
165+
margin-bottom: 0px;
166+
}
164167
main >section >div >blockquote >cite::before {
165168
content: "\2014"; /* character: — (em dash) */
166169
margin-right: 0.4em;
@@ -179,6 +182,9 @@ main >section figure {
179182
vertical-align: top;
180183
padding: 0px 10px;
181184
}
185+
main >section >figure {
186+
display: block;
187+
}
182188
main >section figure img.popup-image {
183189
height: 120px;
184190
max-width: none;

src/css/layouts/zebra-sections.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ <h2>On Fire</h2>
8484
"No matter where you go, there you are."
8585
<cite>Buckaroo Banzai</cite>
8686
</blockquote>
87-
<blockquote>
88-
"No matter where you go, there you are."
89-
<cite>Buckaroo Banzai</cite>
90-
</blockquote>
9187
</div>
9288
</section>
9389

0 commit comments

Comments
 (0)