Skip to content
Snippets Groups Projects
Commit 292f5c0c authored by xaralis's avatar xaralis
Browse files

Improve article headline decoration

parent 0f25f6a5
Branches
Tags
No related merge requests found
Pipeline #716 passed
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<div class="card__body"> <div class="card__body">
<h1 class="article-card__headline">{{ headline.medium }}</h1> <a href="#"><h1 class="article-card__headline">{{ headline.medium }}</h1></a>
<p class="article-card__excerpt">{{ excerpt.long }}</p> <p class="article-card__excerpt">{{ excerpt.long }}</p>
<div class="space-x-1 mt-2"> <div class="space-x-1 mt-2">
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
</div> </div>
</div> </div>
<div class="card__body"> <div class="card__body">
<h1 class="article-card__headline text-white">{{ headline.medium }}</h1> <a href="#" class="hover:line-white"><h1 class="article-card__headline text-white">{{ headline.medium }}</h1></a>
<p class="article-card__excerpt text-white">{{ excerpt.long }}</p> <p class="article-card__excerpt text-white">{{ excerpt.long }}</p>
<div class="space-x-1 mt-2"> <div class="space-x-1 mt-2">
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
} }
.article-card__headline { .article-card__headline {
@apply head-heavy-xs mb-2; @apply head-heavy-xs mb-2 break-words;
} }
.article-card__excerpt { .article-card__excerpt {
......
This diff is collapsed.
...@@ -92,8 +92,14 @@ module.exports = { ...@@ -92,8 +92,14 @@ module.exports = {
xl: '5rem', xl: '5rem',
}, },
}, },
textDecorationColor: { // defaults to theme => theme('colors')
'white': '#fff',
'black': '#000',
},
},
variants: {
textDecorationColor: ['responsive', 'hover'],
}, },
variants: {},
// textStyles: theme => ({ // defaults to {} // textStyles: theme => ({ // defaults to {}
// heading: { // heading: {
// output: false, // this means there won't be a "heading" component in the CSS, but it can be extended // output: false, // this means there won't be a "heading" component in the CSS, but it can be extended
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment