aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2025-01-17 19:00:41 +0100
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2025-01-17 19:00:41 +0100
commita20afcb783cece9496240a9444855f1475dc4244 (patch)
treee2ac473089387b6cc67cade6baa14ea9155b3b68 /src/layouts/Layout.astro
parent97ffc71bebf2f15b32529b2af3f9de671e9a3b3f (diff)
New post
Diffstat (limited to 'src/layouts/Layout.astro')
-rw-r--r--src/layouts/Layout.astro13
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;