aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-10-03 21:32:51 +0200
committerWilliam Hergès <william@herges.fr>2025-10-03 21:32:51 +0200
commit948cc46a63fe472608aa86d098bbf296bb0f0d98 (patch)
treed85f173602ffa06135b420c44331b50a892081d4 /frontend
parent5f3172fc89ef4fbba6b0678c6891c626ee5c8483 (diff)
feat(frontend): bigger width deco
Diffstat (limited to 'frontend')
-rw-r--r--frontend/scss/general.scss6
-rw-r--r--frontend/scss/main.scss2
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend/scss/general.scss b/frontend/scss/general.scss
index bc15cf5..cb0f89c 100644
--- a/frontend/scss/general.scss
+++ b/frontend/scss/general.scss
@@ -122,9 +122,9 @@ figure {
&.large {
--max-width: var(--width-deco);
--width: min(calc(100vw - 4rem), var(--max-width));
- margin-left: max(-15%, calc((100% - var(--width))/2));
- width: var(--max-width);
- max-width: var(--width);
+ margin-left: max(calc((100% - var(--max-width))/2), calc((100% - var(--width))/2));
+ width: var(--width);
+ max-width: var(--max-width);
max-height: none;
}
}
diff --git a/frontend/scss/main.scss b/frontend/scss/main.scss
index 621c792..9ea2548 100644
--- a/frontend/scss/main.scss
+++ b/frontend/scss/main.scss
@@ -15,7 +15,7 @@
--line-height-smaller: 1.4em; /* titles, nav links */
--width-content: 750px; /* main, article */
- --width-deco: 900px; /* header, footer, large image */
+ --width-deco: 1000px; /* header, footer, large image */
--height-header: 8rem; /* header, footer, introduction */
--margin-base: 1.5rem;