aboutsummaryrefslogtreecommitdiff
path: root/_sass/theme.scss
diff options
context:
space:
mode:
Diffstat (limited to '_sass/theme.scss')
-rw-r--r--_sass/theme.scss12
1 files changed, 11 insertions, 1 deletions
diff --git a/_sass/theme.scss b/_sass/theme.scss
index 4fb0daa..a844858 100644
--- a/_sass/theme.scss
+++ b/_sass/theme.scss
@@ -22,7 +22,17 @@ blockquote.admonition {
}
blockquote.admonition .title {
font-weight: bold;
- color: var(--color);
+ color: var(--bg-0);
+ background-color: var(--color);
+ display: inline-block;
+ padding: 3px 6px;
+ border-radius: 4px;
+ margin: 0;
+}
+@each $level in warning,note,info {
+ .admonition.#{$level} {
+ --color: var(--admonition-#{$level});
+ }
}
nav, header, footer {