summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-02-25 19:19:56 +0100
committerMichał M. Sapka <michal@sapka.me>2023-02-25 19:19:56 +0100
commit53634e6fec0e25bb85a0746d256ab72c01b30831 (patch)
tree85be2cb1a8951397a7da7abc6785ebc778cd8caa /static
parent02f2b53f642ed69d5f4d94e5e294aa6d030450f0 (diff)
feat: handle images better on small screens
Diffstat (limited to 'static')
-rw-r--r--static/style.css11
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;