aboutsummaryrefslogtreecommitdiff
path: root/assets/_shortcodes.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/_shortcodes.scss')
-rw-r--r--assets/_shortcodes.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/_shortcodes.scss b/assets/_shortcodes.scss
index 38e105f..bc0916c 100644
--- a/assets/_shortcodes.scss
+++ b/assets/_shortcodes.scss
@@ -97,3 +97,14 @@ a.book-btn {
margin-bottom: $padding-8;
cursor: pointer;
}
+
+// {{< hint >}}
+.book-hint {
+ @each $name, $color in $hint-colors {
+ &.#{$name} {
+ border-left-color: $color;
+ background-color: rgba($color, 0.1);
+ // background-color: $gray-100;
+ }
+ };
+}