aboutsummaryrefslogtreecommitdiff
path: root/assets/_shortcodes.scss
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 17:49:18 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-02-10 17:49:26 +0100
commit72cf0968cef6675f5e8eb58fb2bac5e7f2ccbe21 (patch)
tree0f6f81b1d7b0981451db66529d9bde78b8f0b080 /assets/_shortcodes.scss
parentcaeba5ec99ad3758b0537020cb8183a9e39691fb (diff)
Button shortcode redesign: smaller font, resize
Diffstat (limited to 'assets/_shortcodes.scss')
-rw-r--r--assets/_shortcodes.scss13
1 files changed, 8 insertions, 5 deletions
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 >}}