Remove link component, use @apply
This commit is contained in:
parent
330c0476dd
commit
2d7496ce80
|
@ -20,7 +20,7 @@
|
||||||
<a
|
<a
|
||||||
v-for="item in navItems"
|
v-for="item in navItems"
|
||||||
:href="item.href"
|
:href="item.href"
|
||||||
class="block p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline"
|
class="block text-black p-4 border-l-3 sm:border-l-0 sm:border-b-3 border-transparent hover:border-grey-light sm:ml-4 sm:mr-0 sm:p-0 hover:no-underline"
|
||||||
:class="{
|
:class="{
|
||||||
'border-blue hover:border-blue': pageUrl.match(new RegExp(item.pattern)),
|
'border-blue hover:border-blue': pageUrl.match(new RegExp(item.pattern)),
|
||||||
}"
|
}"
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
@import 'components/blockquote'
|
@import 'components/blockquote'
|
||||||
@import 'components/button'
|
@import 'components/button'
|
||||||
@import 'components/link'
|
|
||||||
@import 'components/listing'
|
@import 'components/listing'
|
||||||
@import 'components/markdown'
|
@import 'components/markdown'
|
||||||
@import 'components/note'
|
@import 'components/note'
|
||||||
|
|
|
@ -1,17 +1,16 @@
|
||||||
a
|
a
|
||||||
color: inherit
|
@apply text-blue no-underline
|
||||||
text-decoration: none
|
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: underline
|
@apply underline
|
||||||
|
|
||||||
main a
|
main a
|
||||||
text-decoration: underline
|
@apply underline
|
||||||
|
|
||||||
&:focus,
|
&:focus,
|
||||||
&:hover
|
&:hover
|
||||||
text-decoration: none
|
@apply no-underline
|
||||||
|
|
||||||
h1, h2, h3
|
h1, h2, h3
|
||||||
@apply mb-2
|
@apply mb-2
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
.link
|
|
||||||
@apply text-blue
|
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
p,
|
p,
|
||||||
li
|
li
|
||||||
a
|
|
||||||
@apply link
|
|
||||||
|
|
||||||
code
|
code
|
||||||
@apply bg-grey-lighter inline-block font-mono text-sm px-1 py-px border border-grey-light
|
@apply bg-grey-lighter inline-block font-mono text-sm px-1 py-px border border-grey-light
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue