From 40e9727c6c91856f3f1d79c5750712acf38b88fc Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 13 Feb 2019 01:43:30 +0000 Subject: [PATCH] Move link styling into a base class --- assets/sass/app.sass | 10 ++++++++++ assets/sass/components/markup.sass | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/sass/app.sass b/assets/sass/app.sass index 8f4aba90..e2b58006 100644 --- a/assets/sass/app.sass +++ b/assets/sass/app.sass @@ -2,6 +2,16 @@ @import '~highlightjs/styles/github-gist' @tailwind preflight + +a + @apply text-blue no-underline + + &:hover + @apply underline + + &:focus + @apply text-white bg-blue outline-none px-px -mx-px no-underline + @tailwind components @import 'components/blockquote' diff --git a/assets/sass/components/markup.sass b/assets/sass/components/markup.sass index 603fffbc..328b34a0 100644 --- a/assets/sass/components/markup.sass +++ b/assets/sass/components/markup.sass @@ -16,16 +16,6 @@ code @apply inline-block px-1 py-1 border border-grey-light font-bold - a, - .link - @apply text-blue no-underline - - &:hover - @apply underline - - &:focus - @apply text-white bg-blue outline-none px-px -mx-px no-underline - pre code, .hljs @apply block leading-loose overflow-x-scroll p-6