From 2798c57c1eba4e6e8c9be3595ce722462e49da17 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 29 Jan 2022 17:28:06 +0100 Subject: [PATCH] fix: warning notification --- layouts/doc/single.html | 4 ++-- src/style.css | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/layouts/doc/single.html b/layouts/doc/single.html index 7c2edae..60278a6 100644 --- a/layouts/doc/single.html +++ b/layouts/doc/single.html @@ -4,9 +4,9 @@
{{ partial "menu" . }}
-
+
{{ partial "prose.html" .Content }} -
+ {{ partial "footer.html" . }} diff --git a/src/style.css b/src/style.css index de3d283..42de55b 100644 --- a/src/style.css +++ b/src/style.css @@ -17,3 +17,11 @@ body { .prose h6 { @apply font-title font-semibold; } + +.notification { + @apply p-4 rounded; +} + +.notification.is-warning { + @apply bg-yellow-300; +}