aboutsummaryrefslogtreecommitdiff
path: root/assets
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
parentcaeba5ec99ad3758b0537020cb8183a9e39691fb (diff)
Button shortcode redesign: smaller font, resize
Diffstat (limited to 'assets')
-rw-r--r--assets/_defaults.scss2
-rw-r--r--assets/_main.scss2
-rw-r--r--assets/_shortcodes.scss13
3 files changed, 10 insertions, 7 deletions
diff --git a/assets/_defaults.scss b/assets/_defaults.scss
index 922fc87..94e7357 100644
--- a/assets/_defaults.scss
+++ b/assets/_defaults.scss
@@ -9,7 +9,7 @@ $font-size-12: 0.75rem !default;
$font-size-14: 0.875rem !default;
$font-size-16: 1rem !default;
-$border-radius: 0.15rem !default;
+$border-radius: $padding-4 !default;
// Grayscale
$white: #ffffff !default;
diff --git a/assets/_main.scss b/assets/_main.scss
index 1be9960..6369b3c 100644
--- a/assets/_main.scss
+++ b/assets/_main.scss
@@ -181,7 +181,7 @@ ul.pagination {
padding: $padding-8;
border: 0;
- border-radius: $padding-4;
+ border-radius: $border-radius;
background: $gray-100;
color: $body-font-color;
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 >}}