Skip to content

Commit

Permalink
Remove unwanted margin in zebra layout figures
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jun 6, 2024
1 parent b9ff71b commit 2c5412a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 6 additions & 0 deletions src/css/layouts/zebra-sections.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ main >section >div >blockquote >cite {
text-align: right;
padding-top: 5px;
}
main >section >div >blockquote >figure {
margin-bottom: 0px;
}
main >section >div >blockquote >cite::before {
content: "\2014"; /* character: — (em dash) */
margin-right: 0.4em;
Expand All @@ -179,6 +182,9 @@ main >section figure {
vertical-align: top;
padding: 0px 10px;
}
main >section >figure {
display: block;
}
main >section figure img.popup-image {
height: 120px;
max-width: none;
Expand Down
4 changes: 0 additions & 4 deletions src/css/layouts/zebra-sections.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ <h2>On Fire</h2>
"No matter where you go, there you are."
<cite>Buckaroo Banzai</cite>
</blockquote>
<blockquote>
"No matter where you go, there you are."
<cite>Buckaroo Banzai</cite>
</blockquote>
</div>
</section>

Expand Down

0 comments on commit 2c5412a

Please sign in to comment.