aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-06-11 13:40:50 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-06-11 13:41:08 +0200
commitc9d979514c009e8b28d99cff2614b92019ccd5c8 (patch)
tree0d32b30207415e2182926724e9b37de4bebdee4a /assets
parent2047968370a4bc61037e0d73f2ce76acb1d7774a (diff)
Add custom class support for mermaid and button shortcodes
Diffstat (limited to 'assets')
-rw-r--r--assets/_markdown.scss4
-rw-r--r--assets/_utils.scss4
2 files changed, 8 insertions, 0 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss
index 10286c4..d52dddb 100644
--- a/assets/_markdown.scss
+++ b/assets/_markdown.scss
@@ -28,6 +28,10 @@ $block-border-radius: 0.15rem;
}
}
+ img {
+ max-width: 100%;
+ }
+
code {
padding: 0 $padding-4;
background: $gray-100;
diff --git a/assets/_utils.scss b/assets/_utils.scss
index 62085d1..887a866 100644
--- a/assets/_utils.scss
+++ b/assets/_utils.scss
@@ -34,6 +34,10 @@
margin: 0 auto;
}
+.text-center {
+ text-align: center;
+}
+
@mixin fixed {
position: fixed;
top: 0;