diff options
Diffstat (limited to 'terminal.css')
| -rw-r--r-- | terminal.css | 22 |
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: " "; |
