From 822190e8547a1fe332f242731e0369a5c645bef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 9 Aug 2025 17:53:05 +0200 Subject: feat(legal): content --- src/layout/Base.astro | 1 + src/pages/index.astro | 1 - src/pages/legal.astro | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ src/scss/style.scss | 38 ++++++++++++++++++++++++++- 4 files changed, 111 insertions(+), 2 deletions(-) create mode 100644 src/pages/legal.astro (limited to 'src') diff --git a/src/layout/Base.astro b/src/layout/Base.astro index 898f6fd..70a1193 100644 --- a/src/layout/Base.astro +++ b/src/layout/Base.astro @@ -1,4 +1,5 @@ --- +import "../scss/style.scss"; const { title = "Arnaud Hergès" } = Astro.props; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 889c5a3..b335dec 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,5 +1,4 @@ --- -import "../scss/style.scss"; import MosaicBackground from "../component/MosaicBackground.astro"; import VideoAuto from "../component/VideoAuto.astro"; import Base from "../layout/Base.astro"; diff --git a/src/pages/legal.astro b/src/pages/legal.astro new file mode 100644 index 0000000..b867f35 --- /dev/null +++ b/src/pages/legal.astro @@ -0,0 +1,73 @@ +--- +import Base from "../layout/Base.astro"; +--- + + + + diff --git a/src/scss/style.scss b/src/scss/style.scss index 42283a8..846c239 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -20,7 +20,7 @@ h1 { h2 { font-size: 2em; font-weight: bold; - margin-bottom: 1rem; + margin-bottom: 2rem; } h3 { @@ -33,6 +33,20 @@ h4 { p { line-height: 1.15em; + margin-bottom: 1rem; + + &:last-child { + margin-bottom: 0; + } +} + +ul { + list-style: disc inside; + margin-top: -0.5rem; +} + +li { + line-height: 1.15em; } a { @@ -47,6 +61,10 @@ footer { flex-direction: column; padding: 4rem 8rem; text-align: center; + + & p { + margin-bottom: 0; + } } header { @@ -84,6 +102,10 @@ section { margin: auto; padding: 2rem; + & p { + margin-bottom: 0; + } + &__header { text-align: center; margin-bottom: 2rem; @@ -101,3 +123,17 @@ section { .bg video { height: 100%; } + +.legal { + max-width: 1000px; + margin: auto; + padding-top: 8rem; + padding-bottom: 4rem; + display: flex; + flex-direction: column; + gap: 4rem; + + & h3 { + margin-bottom: 2rem; + } +} -- cgit v1.2.3