Compare commits
2 Commits
2c5b5e2009
...
8adcdb103e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8adcdb103e | ||
|
|
3e9fe31720 |
|
|
@ -32,8 +32,9 @@ $cover_image = get_field('artisan_cover', $postID);
|
|||
</a>
|
||||
<div class="card-artisans__inner">
|
||||
|
||||
<h2 class="card-artisans__title"><?php echo $post_title ?></h2>
|
||||
|
||||
<a href="<?php echo get_the_permalink($postID) ?>" class="card-artisans__title-container">
|
||||
<h2 class="card-artisans__title"><?php echo $post_title ?></h2>
|
||||
</a>
|
||||
<?php if ($company_members): ?>
|
||||
<p class="card-artisans__team-members">
|
||||
<?php foreach ($company_members as $key => $member) : ?>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,21 @@
|
|||
&__thumbnail {
|
||||
@apply w-full h-32 lg:h-48 object-cover rounded-t-xl;
|
||||
}
|
||||
&:has(.cta--read-more:hover),
|
||||
&:has(.card-artisans__cover-container:hover),
|
||||
&:has(.card-artisans__title-container:hover) {
|
||||
.card-artisans__cover-image {
|
||||
@apply scale-105;
|
||||
filter: brightness(1.1);
|
||||
}
|
||||
.cta--read-more {
|
||||
@apply text-patrimoine-sante-securite;
|
||||
img {
|
||||
transform: translateX(3px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__cover-container {
|
||||
@apply w-full overflow-hidden rounded-t-xl;
|
||||
&:hover .card-artisans__cover-image {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user