summaryrefslogtreecommitdiff
path: root/layouts/_shortcodes/callout.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-15 14:17:39 +0800
committerEltrac <hi@guhub.cn>2025-07-15 14:17:39 +0800
commit272a67d7a8b8752dda3cddf44482e9d85de2c4d0 (patch)
treeade1f3a2b479a5737d87268a5c279b6caee7ae67 /layouts/_shortcodes/callout.html
parentc831c88a8622c743799195074777c4ca3f5408f9 (diff)
refactor: replace _footer.scss and _shortcode.scss with UnoCSS
Diffstat (limited to 'layouts/_shortcodes/callout.html')
-rw-r--r--layouts/_shortcodes/callout.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_shortcodes/callout.html b/layouts/_shortcodes/callout.html
index 62112390..a432cd4d 100644
--- a/layouts/_shortcodes/callout.html
+++ b/layouts/_shortcodes/callout.html
@@ -1,6 +1,8 @@
-<div class="callout">
+<div class="rounded-[0.25rem] leading-[1.75] py-[1rem] px-[1.25rem]
+ flex gap-[0.75rem] my-[0.5rem]"
+ style="background-color: rgba(var(--block-background-color-rgb), 0.5)">
<div class="callout-icon">{{ index .Params 1 }}</div>
<div class="callout-text">
{{ index .Params 0 | markdownify }}
</div>
-</div> \ No newline at end of file
+</div>