aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;