diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-01-21 18:55:59 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-01-21 18:55:59 +0100 |
| commit | 32ea7a004a418b6d312f41a6234dcef77b7a7bb2 (patch) | |
| tree | b31e1b338c1ada00fd38111b7db5b9db2a7b42da /src/layouts/Layout.astro | |
| parent | de4b57a0ac02c9365d6dea799ec34cf0a679069e (diff) | |
New retro design for most of the site
Diffstat (limited to 'src/layouts/Layout.astro')
| -rw-r--r-- | src/layouts/Layout.astro | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index e7b84ce..9e432bb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -107,16 +107,13 @@ const { title, description, empty } = Astro.props; display: flex; flex-direction: column; - gap: 1.5rem; - background: linear-gradient( - to bottom, - #f0f8ff 0%, - #e6f3ff 6rem, - #d9edff 12rem, - #d9edff 88%, - #cce5ff 100% - ); + background: #c3d9ff; + background-image: + radial-gradient(at 0% 0%, hsla(210,100%,90%,1) 0, transparent 50%), + radial-gradient(at 50% 0%, hsla(210,100%,85%,1) 0, transparent 50%), + radial-gradient(at 100% 0%, hsla(210,100%,80%,1) 0, transparent 50%); + background-attachment: fixed; color: $dark; line-height: 1.6; } @@ -154,21 +151,29 @@ const { title, description, empty } = Astro.props; main { box-sizing: border-box; - margin-bottom: auto; + margin-top: 2rem; + margin-bottom: 3rem; align-self: center; - max-width: min(75ch, 90vw); - font-size: 1.125rem; + max-width: min(900px, 95vw); + width: 100%; + font-size: 1.1rem; - padding-block-end: 3rem; + padding: 2.5rem; + background: #ffffff; + border: 1px solid #b4c7e7; + border-radius: 12px; + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), inset 0 1px 0 #fff; p > code { word-break: break-word; font-family: $monoFontStack; - + padding: 0.2rem 0.4rem; + border-radius: 4px; + border: 1px solid #ddd; color: $accentDark; - background-color: #f6f6f6; + background-color: #f8f8f8; } p.meta { |
