aboutsummaryrefslogtreecommitdiff
path: root/_sass/image.css
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 17:56:32 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-05 17:56:32 +0200
commitb07eb8d1c06e582e5f177c159d820778029a9d93 (patch)
treebd6621e3d0b63fe229e57f90109315b61ef9ad14 /_sass/image.css
parentb73f6aef37e60a5c58e38b69950717ab43a95c47 (diff)
use html figurecaption + fix caption css
Diffstat (limited to '_sass/image.css')
-rw-r--r--_sass/image.css12
1 files changed, 10 insertions, 2 deletions
diff --git a/_sass/image.css b/_sass/image.css
index 3e98ae4..f1d48bb 100644
--- a/_sass/image.css
+++ b/_sass/image.css
@@ -1,8 +1,16 @@
-img {
- position: relative;
+img, figure {
display: block;
margin: 0 auto var(--page-margins) auto;
max-width: 500px;
+}
+
+img {
+ position: relative;
overflow: visible;
}
+figure {
+ opacity: .8;
+ font-style: italic;
+}
+