From 1f8d34168fb142ecc013ca640a3d2bc52988aa44 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 3 Oct 2019 18:15:24 +0200 Subject: #77, Introduce hint shortcode --- assets/_shortcodes.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'assets/_shortcodes.scss') 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; + } + }; +} -- cgit v1.2.3