Update button and tag styling
This commit is contained in:
parent
007435e4d7
commit
8982cdcf3c
|
@ -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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<a
|
||||
href="{{ post.url }}"
|
||||
class="inline-block bg-blue hover:bg-blue-dark focus:bg-blue-dark px-5 py-2 rounded-full no-underline hover:underline focus:underline text-white text-sm">
|
||||
Read more
|
||||
<span class="visuallyhidden">about {{ post.title }}</span>
|
||||
<a href="{{ post.url }}" class="button">
|
||||
Read more
|
||||
<span class="visuallyhidden">about {{ post.title }}</span>
|
||||
</a>
|
||||
|
|
|
@ -4,10 +4,7 @@
|
|||
<ul class="list-reset flex flex-wrap">
|
||||
{% for tag in page.tags|sort %}
|
||||
<li>
|
||||
<a
|
||||
href="/blog/tags/{{ tag }}"
|
||||
class="text-sm py-1 px-2 mr-1 mb-1 bg-grey-lighter text-grey-darker leading-none no-underline hover:underline focus:underline"
|
||||
>
|
||||
<a href="/blog/tags/{{ tag }}" class="text-sm py-1 px-2 mr-1 mb-1 bg-grey-lighter text-grey-darker leading-none no-underline hover:underline focus:bg-grey-darker focus:text-white">
|
||||
{{- tag -}}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -282,7 +282,7 @@ module.exports = {
|
|||
modules: {
|
||||
appearance: ['responsive'],
|
||||
backgroundAttachment: ['responsive'],
|
||||
backgroundColors: ['responsive', 'hover'],
|
||||
backgroundColors: ['responsive', 'hover', 'focus'],
|
||||
backgroundPosition: ['responsive'],
|
||||
backgroundRepeat: ['responsive'],
|
||||
backgroundSize: ['responsive'],
|
||||
|
|
Reference in a new issue