Move link styling into a base class
This commit is contained in:
parent
bc20b198b5
commit
40e9727c6c
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue