aboutsummaryrefslogtreecommitdiff
path: root/design/style.css
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-09-29 15:51:26 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-09-29 15:51:26 +0200
commit85054d84ef90ba62a354daa44dd09175689e57d2 (patch)
tree8ee20d017a89732c89430678c03c26225b18de1c /design/style.css
parentf725b36dac38d0e6ac293b82617f5b0f29e56134 (diff)
feat(design): base image
Diffstat (limited to 'design/style.css')
-rw-r--r--design/style.css25
1 files changed, 24 insertions, 1 deletions
diff --git a/design/style.css b/design/style.css
index d0b8c02..e8823cd 100644
--- a/design/style.css
+++ b/design/style.css
@@ -1,6 +1,6 @@
:root {
--color-dark: #04151F;
- --color-gray: #BCB3BB; /* quote */
+ --color-gray: #BCB3BB; /* quote and legend */
--color-light: #EFF7F6;
--color-rose: #F2B5D4; /* link accent */
--color-light-rose: #F6CBE1; /* link accent hover */
@@ -85,3 +85,26 @@ blockquote {
border-left: var(--color-rose) solid 0.25em;
}
+figure {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ text-align: center;
+ gap: 0.5rem;
+
+ & img {
+ width: auto;
+ max-height: 60vh;
+ &.larger {
+ width: 120%;
+ margin-left: -10%;
+ max-height: none;
+ }
+ }
+}
+
+figcaption {
+ font-size: 0.85rem;
+ color: var(--color-gray);
+}
+