diff options
| author | Elias Haugsbakk <[email protected]> | 2026-07-02 01:10:58 +0200 |
|---|---|---|
| committer | Elias Haugsbakk <[email protected]> | 2026-07-02 01:10:58 +0200 |
| commit | 05f77926b147fe3a849eb1dbeeed2afcf97ad866 (patch) | |
| tree | e1865509767c4d2f46586bf34ec14ba9ea5c906f /clams-server/src/main/resources/public | |
| parent | 19c9cb227b343377853321e2cdc4285b2ea23e3a (diff) | |
add blog post rendering
Diffstat (limited to 'clams-server/src/main/resources/public')
| -rw-r--r-- | clams-server/src/main/resources/public/css/post.css | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/clams-server/src/main/resources/public/css/post.css b/clams-server/src/main/resources/public/css/post.css index e905cbc..8c4b91d 100644 --- a/clams-server/src/main/resources/public/css/post.css +++ b/clams-server/src/main/resources/public/css/post.css @@ -17,22 +17,18 @@ margin-bottom: 1.5rem; } -.post-image { +.post-content p:has(img) { margin: 40px 0; text-align: center; } -.post-image img { - max-width: 100%; +.post-content img { + width: 100%; + max-width: 550px; height: auto; border: 1px solid var(--border-color); border-radius: 8px; -} - -.post-image figcaption { - margin-top: 10px; - font-size: 0.85rem; - opacity: 0.7; + display: inline-block; } .post-nav { |
