diff options
author | Michał M. Sapka <michal@sapka.me> | 2023-02-25 19:19:56 +0100 |
---|---|---|
committer | Michał M. Sapka <michal@sapka.me> | 2023-02-25 19:19:56 +0100 |
commit | 53634e6fec0e25bb85a0746d256ab72c01b30831 (patch) | |
tree | 85be2cb1a8951397a7da7abc6785ebc778cd8caa /static | |
parent | 02f2b53f642ed69d5f4d94e5e294aa6d030450f0 (diff) |
feat: handle images better on small screens
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/static/style.css b/static/style.css index 60233ab..ea25c3e 100644 --- a/static/style.css +++ b/static/style.css @@ -166,16 +166,19 @@ h2 { } /* ----------- Articles images */ +article figure { + text-align: left; + margin: 0; + width: 500px; + max-width: 100%; + font-size: 0.8em; +} img.float-right { float: right; display: inline; margin-left: 10px; } -img.centered { -} - - /* ----------- Articles adjustement navigation */ .next-link { float: right; |