From 72cf0968cef6675f5e8eb58fb2bac5e7f2ccbe21 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 10 Feb 2020 17:49:18 +0100 Subject: Button shortcode redesign: smaller font, resize --- assets/_shortcodes.scss | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'assets/_shortcodes.scss') diff --git a/assets/_shortcodes.scss b/assets/_shortcodes.scss index 97b7dc3..7d2c747 100644 --- a/assets/_shortcodes.scss +++ b/assets/_shortcodes.scss @@ -85,14 +85,17 @@ // {{< button >}} a.book-btn { display: inline-block; - color: $color-link !important; - text-decoration: none !important; + font-size: $font-size-14; + color: $color-link; + line-height: $padding-16 * 2; + padding: 0 $padding-16; border: $padding-1 solid $color-link; border-radius: $border-radius; - padding: $padding-4 $padding-16; - margin-top: $padding-8; - margin-bottom: $padding-8; cursor: pointer; + + &:hover { + text-decoration: none; + } } // {{< hint >}} -- cgit v1.2.3