diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index b2d95ce..6f34949 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -65,6 +65,20 @@ const { title } = Astro.props; main { padding: 1.5rem; max-width: 80ch; + position: relative; + } + + /* Overlay semi-transparent derrière le contenu pour améliorer la lisibilité */ + main::before { + content: ''; + position: absolute; + top: -2rem; + left: -2rem; + right: -2rem; + bottom: -2rem; + background: rgba(255, 255, 255, 0.85); + z-index: -1; + border-radius: 1rem; } footer{