Skip to content

Commit

Permalink
Fix figure blockquote size
Browse files Browse the repository at this point in the history
  • Loading branch information
jocmp committed Feb 6, 2025
1 parent e665a88 commit 925778a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
10 changes: 8 additions & 2 deletions article_forge/style/stylesheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,16 @@ object {
}

figure {
margin-bottom: 1em;
line-height: 1.2em;
font-size: calc(var(--article-font-size) * 0.75);
color: var(--color-on-surface-variant);
line-height: 1.2em;
margin-bottom: 1em;

blockquote {
font-size: var(--article-font-size);
color: var(--color-on-surface);
line-height: normal;
}
}

.iframe-embed {
Expand Down
9 changes: 9 additions & 0 deletions article_forge/views/test-room.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@
<a href="{{unvisited_link}}">Unvisited Link</a>
</div>
</div>
<div>
<h2>blockquote</h2>
<blockquote cite="https://www.huxley.net/bnw/four.html">
<p>
Words can be like X-rays, if you use them properly—they’ll go through anything. You read and you’re pierced.
</p>
</blockquote>
<p>—Aldous Huxley, <cite>Brave New World</cite></p>
</div>
<div>
<h2>Subscript</h2>
<p>
Expand Down
2 changes: 1 addition & 1 deletion capy/src/main/assets/stylesheet.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 925778a

Please sign in to comment.