diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-11-01 16:55:01 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-11-01 16:55:01 +0100 |
| commit | 34f42267de6dce26b75135d21bc0eb32489ac438 (patch) | |
| tree | 51872c3a81ba8d2fd33be42570d529401b062b61 /src/scss | |
| parent | 07f7d017c0cd45a66a33b59048b2d970379b8152 (diff) | |
chore: reduce width of static page content
Pages like legal notice should not exceed 80characters to improve
readability.
Diffstat (limited to 'src/scss')
| -rw-r--r-- | src/scss/layout/_main.scss | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/scss/layout/_main.scss b/src/scss/layout/_main.scss index 8ab842b..5076e0a 100644 --- a/src/scss/layout/_main.scss +++ b/src/scss/layout/_main.scss @@ -24,6 +24,8 @@ .instructions, noscript { background: fun.get-var(color-bg); + margin: 0 auto; + max-width: 80ch; padding: fun.get-var(spacing-md); text-align: center; @@ -34,6 +36,13 @@ noscript { } } +.instructions, +.legal-notice { + > * { + max-width: 80ch; + } +} + .instructions { align-items: center; display: flex; @@ -53,6 +62,10 @@ noscript { grid-column: 1 / -1; } } + + iframe { + max-width: 100%; + } } .project-preview { |
