diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-01-17 19:00:41 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-01-17 19:00:41 +0100 |
| commit | a20afcb783cece9496240a9444855f1475dc4244 (patch) | |
| tree | e2ac473089387b6cc67cade6baa14ea9155b3b68 /src/layouts | |
| parent | 97ffc71bebf2f15b32529b2af3f9de671e9a3b3f (diff) | |
New post
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 13 |
1 files changed, 13 insertions, 0 deletions
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; |
