From a20afcb783cece9496240a9444855f1475dc4244 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> Date: Fri, 17 Jan 2025 19:00:41 +0100 Subject: New post --- src/layouts/Layout.astro | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/layouts') diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 988f096..e1ab283 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -85,6 +85,19 @@ const { title, description } = Astro.props; font-family: $monoFontStack; } + div[role="alert"] { + padding: 1rem; + margin-block: 1rem; + border-radius: 0.5rem; + + box-shadow: 0 0 0 1px $accent; + + &.note { + background-color: $noteBackground; + color: $noteText; + } + } + main { box-sizing: border-box; margin-bottom: auto; -- cgit v1.3