Compare commits

..

No commits in common. "72da35295679e514c06a31bc00aea242a8fe034b" and "d1e9d229b091e36ec368cdc47e64c40806325b88" have entirely different histories.

4 changed files with 30 additions and 28 deletions

View File

@ -134,7 +134,6 @@
.portfolio-single h4, .portfolio-single h4,
.portfolio-single h5, .portfolio-single h5,
.portfolio-single h6 { .portfolio-single h6 {
letter-spacing: 0em;
font-family: "big-caslon-fb", serif; font-family: "big-caslon-fb", serif;
} }
@ -343,12 +342,10 @@
} }
.portfolio-project-card .cta--read-project:hover{ .portfolio-project-card .cta--read-project:hover{
background-color: var(--hover-color);
}
/* background-color: #0033DA; */ /* background-color: #0033DA; */
--tw-bg-opacity: 1;
/* @apply bg-deli-pink; */ background-color: rgb(233 25 105 / var(--tw-bg-opacity, 1));
}
.portfolio-project-card .cta--read-project:hover span{ .portfolio-project-card .cta--read-project:hover span{
margin-right: 2rem; margin-right: 2rem;
@ -358,7 +355,7 @@
--tw-translate-x: 0px; --tw-translate-x: 0px;
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
opacity: 1; opacity: 1;
transition: opacity 0.6s ease-in-out, translate 0.4s ease-in-out; transition: opacity .6s ease-in-out, translate 0.4s ease-in-out;
} }
/* $couleur = array( /* $couleur = array(

View File

@ -76,9 +76,11 @@
transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
text-decoration: none; text-decoration: none;
/* background-color: #34113F; */ /* background-color: #34113F; */
/* background-color: #0033DA; */ /* background-color: #0033DA; */
span{ span{
@apply text-xs font-medium; @apply text-xs font-medium;
text-decoration: none; text-decoration: none;
@ -91,21 +93,28 @@
filter: invert(1); filter: invert(1);
} }
&:hover{ &:hover{
background-color: var(--hover-color);
/* background-color: #0033DA; */ /* background-color: #0033DA; */
/* @apply bg-deli-pink; */ @apply bg-deli-pink;
span{ span{
@apply mr-8; @apply mr-8;
} }
img{ img{
@apply opacity-100 translate-x-0; @apply opacity-100 translate-x-0;
transition: opacity 0.6s ease-in-out, translate 0.4s ease-in-out; transition: opacity .6s ease-in-out, translate 0.4s ease-in-out;
} }
} }
} }
} }
/* $couleur = array( /* $couleur = array(
'web' => '#1CC7C7', 'web' => '#1CC7C7',
'print' => '#C14FE3', 'print' => '#C14FE3',

View File

@ -8,8 +8,7 @@
h4, h4,
h5, h5,
h6 { h6 {
@apply bigCaslon tracking-normal; @apply bigCaslon;
&:before { &:before {
@apply content-none; @apply content-none;
} }

View File

@ -23,8 +23,6 @@ $currentPageId = get_the_ID();
$excerpt = get_the_excerpt(); $excerpt = get_the_excerpt();
$clientName = get_field('client_name', $portfolio_post->ID); $clientName = get_field('client_name', $portfolio_post->ID);
$terms = get_the_terms($portfolio_post->ID, 'project_type'); $terms = get_the_terms($portfolio_post->ID, 'project_type');
$projectColor = get_field('project_color', $portfolio_post->ID);
?> ?>
<div class="portfolio-project-card portfolio-project-card--active"> <div class="portfolio-project-card portfolio-project-card--active">
@ -45,8 +43,7 @@ $currentPageId = get_the_ID();
<div class='excerpt'> <div class='excerpt'>
<h3><?php the_title(); ?></h3> <h3><?php the_title(); ?></h3>
<p><?php echo $excerpt ?></p> <p><?php echo $excerpt ?></p>
<a class="cta--read-project" href="<?php the_permalink(); ?>">
<a class="cta--read-project" style="--hover-color: <?php echo esc_attr($projectColor); ?>;" href="<?php the_permalink(); ?>">
<span>Voir le projet</span> <span>Voir le projet</span>
<img src="<?php echo get_stylesheet_directory_uri(); ?>/images/graphic-assets/arrow-see-project.svg" alt="Voir le projet"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/graphic-assets/arrow-see-project.svg" alt="Voir le projet">
</a> </a>