From c9d979514c009e8b28d99cff2614b92019ccd5c8 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 11 Jun 2019 13:40:50 +0200 Subject: Add custom class support for mermaid and button shortcodes --- assets/_markdown.scss | 4 ++++ assets/_utils.scss | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'assets') 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; -- cgit v1.2.3