aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
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;