From a6d2964846dc827dbf291d14db9cc7745cdc6fd0 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 10 Nov 2019 09:23:48 -0500 Subject: added buy and borrow buttons to books --- design/sass/_details.scss | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'design/sass') diff --git a/design/sass/_details.scss b/design/sass/_details.scss index 83651ca..b72ca9d 100644 --- a/design/sass/_details.scss +++ b/design/sass/_details.scss @@ -227,10 +227,20 @@ h4.post-source { text-decoration: none; } } +.buy-btn { + @include fancy_sans; + display: block; + padding: .5rem 1rem; + background: #249bd6; + color: white; + text-transform: uppercase; + @include fontsize(16); + text-decoration: none; + margin-right: 1rem; +} .buy-btn-wrapper { - margin-top: 4rem; display: flex; - justify-content: center; + justify-content: start; align-items: center; align-content: space-between; h4 { @@ -244,6 +254,10 @@ h4.post-source { margin-right: 1rem; } } +.post-guide .buy-btn-wrapper { + margin-top: 4rem; + justify-content: center; +} .detail .post-guide { h3 { @include fontsize(27); -- cgit v1.2.3