#77, Introduce hint shortcode

This commit is contained in:
Alex Shpak
2019-10-03 18:15:24 +02:00
parent 3e3a3346e1
commit 1f8d34168f
10 changed files with 113 additions and 40 deletions
+11
View File
@@ -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;
}
};
}