From 948cc46a63fe472608aa86d098bbf296bb0f0d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 3 Oct 2025 21:32:51 +0200 Subject: feat(frontend): bigger width deco --- frontend/scss/general.scss | 6 +++--- frontend/scss/main.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'frontend/scss') 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; -- cgit v1.2.3