From 8982cdcf3c0fd34dbb177fb788d3aec4254f7c06 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 19 Dec 2018 21:34:19 +0000 Subject: [PATCH] Update button and tag styling --- assets/sass/components/button.sass | 8 ++++++-- source/_partials/pages/blog/read-more.html.twig | 8 +++----- source/_partials/post/tags.html.twig | 5 +---- tailwind.js | 2 +- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/assets/sass/components/button.sass b/assets/sass/components/button.sass index 318dac97..c42256ca 100644 --- a/assets/sass/components/button.sass +++ b/assets/sass/components/button.sass @@ -1,6 +1,10 @@ .button - @apply bg-blue inline-block rounded text-white px-4 py-2 + @apply bg-blue border-blue border-2 inline-block rounded-lg text-white no-underline px-4 py-2 &:active, + &:focus, &:hover - @apply bg-blue-dark + @apply bg-white text-blue + + &:focus + @apply px-4 py-2 m-0 diff --git a/source/_partials/pages/blog/read-more.html.twig b/source/_partials/pages/blog/read-more.html.twig index d791dc19..c8f917d0 100644 --- a/source/_partials/pages/blog/read-more.html.twig +++ b/source/_partials/pages/blog/read-more.html.twig @@ -1,6 +1,4 @@ - - Read more - about {{ post.title }} + + Read more + about {{ post.title }} diff --git a/source/_partials/post/tags.html.twig b/source/_partials/post/tags.html.twig index 1b8e7aaa..fc1b6f2c 100644 --- a/source/_partials/post/tags.html.twig +++ b/source/_partials/post/tags.html.twig @@ -4,10 +4,7 @@