summaryrefslogtreecommitdiff
path: root/terminal.css
diff options
context:
space:
mode:
authorVoid Agent <void@jayrup.hermes>2026-08-07 15:13:22 +0100
committerVoid Agent <void@jayrup.hermes>2026-08-07 15:13:22 +0100
commit6eb47fe35e01dedd42e788d9aa8f199c64962304 (patch)
treef8a04c4049e412148a661fb6b7d460da66215903 /terminal.css
parent357be17192c301c8beee1ca46e82fab2fa772f20 (diff)
blog: add jacobian-lens-frequency post (figures, captions, terminal.css sizing)
Diffstat (limited to 'terminal.css')
-rw-r--r--terminal.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/terminal.css b/terminal.css
index 22d4295..70da81e 100644
--- a/terminal.css
+++ b/terminal.css
@@ -52,6 +52,28 @@ nav a {
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
+/* Figures: constrain to the content column, keep aspect ratio, center */
+/* NOTE: with format minimal:true quarto emits .quarto-figure divs directly in
+ body — there is NO #quarto-content wrapper in the rendered HTML. Target the
+ figure classes + generic imgs, not #quarto-content. */
+.quarto-figure {
+ margin: 1.5rem 0;
+}
+.quarto-figure img,
+img {
+ display: block;
+ max-width: 100%;
+ height: auto;
+ margin: 0 auto;
+}
+.quarto-figure figcaption,
+.quarto-figure > p {
+ text-align: center;
+ font-size: 0.85rem;
+ color: #7f849c;
+ margin-top: 0.5rem;
+}
+
/* Subtle scanline effect */
body::before {
content: " ";