aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/scss/_alerts.scss
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
committerDimitri Staessens <[email protected]>2019-10-06 21:10:46 +0200
commit568553394d0a8b34668a75c9839a0f1f426469b2 (patch)
tree175c08844f05611b059ba6900fb6519dbbc735d2 /themes/docsy/assets/scss/_alerts.scss
parentd5d6f70371958eec0679831abd283498ff2731e5 (diff)
downloadwebsite-568553394d0a8b34668a75c9839a0f1f426469b2.tar.gz
website-568553394d0a8b34668a75c9839a0f1f426469b2.zip
theme: Switch to docsy theme
Diffstat (limited to 'themes/docsy/assets/scss/_alerts.scss')
-rw-r--r--themes/docsy/assets/scss/_alerts.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/docsy/assets/scss/_alerts.scss b/themes/docsy/assets/scss/_alerts.scss
new file mode 100644
index 0000000..5ce5cc2
--- /dev/null
+++ b/themes/docsy/assets/scss/_alerts.scss
@@ -0,0 +1,20 @@
+// Style alert boxes.
+
+.alert {
+ font-weight: $font-weight-medium;
+ background: $white;
+ color: inherit;
+ border-radius: 0;
+
+ @each $color, $value in $theme-colors {
+ &-#{$color} {
+ & .alert-heading {
+ color: $value;
+ }
+
+ border-style: solid;
+ border-color: $value;
+ border-width: 0 0 0 4px;
+ }
+ }
+} \ No newline at end of file