Compare commits

..

3 Commits

Author SHA1 Message Date
Nonimart
17bea1ba4a FEEDBACK Removing undelining when hovering footnote
All checks were successful
continuous-integration/drone/push Build is passing
2025-10-06 11:11:10 +02:00
Nonimart
ba299cc114 STYLE refining paddings 2025-10-06 11:10:43 +02:00
Nonimart
b93ec0f0c4 FEATURE Handling revue download button 2025-10-06 11:10:26 +02:00
3 changed files with 18 additions and 7 deletions

View File

@ -2,9 +2,10 @@
color: unset;
cursor: pointer;
&:hover {
@apply underline underline-offset-8;
text-decoration-thickness: 1px;
@apply decoration-neutral-400;
/* @apply underline underline-offset-8; */
/* text-decoration-thickness: 1px;
@apply decoration-neutral-400; */
@apply text-primary;
&:after {
transform: translate(0px, -2px) scale(1.1);

View File

@ -1,9 +1,9 @@
.post-header {
@apply bg-primary text-white py-32 px-2 lg:px-4 md:px-8 overflow-x-hidden;
@apply bg-primary text-white py-8 2xl:py-16 px-2 lg:px-4 md:px-8 overflow-x-hidden;
h1.post-header__title,
h2.post-header__title {
@apply uppercase font-medium text-4xl md:text-5xl lg:text-7xl text-white;
@apply uppercase font-medium text-4xl md:text-5xl lg:text-6xl text-white;
line-height: 1.2;
}
&__inner {

View File

@ -1,6 +1,7 @@
<?php
$id = get_the_ID();
$pdf_version = get_field('pdf_version', $id);
$pdf_url = isset($pdf_version) && !empty($pdf_version['url']) ? $pdf_version['url'] : null;
?>
@ -19,5 +20,14 @@
<img class="icon" src="<?php echo get_stylesheet_directory_uri(); ?>/resources/img/icons/carhop-note-biographique.svg" alt="">
Informations
</button>
<div class="toolbar-actions">
<?php if ($pdf_url) : ?>
<a href="<?php echo $pdf_url; ?>" target="_blank" class="cta cta--classic cta--has-icon cta--rounded cta--download-pdf ">
<img class="icon" src="<?php echo get_template_directory_uri(); ?>/resources/img/icons/carhop-fleche-telecharger.svg" alt="">
PDF
</a>
<?php endif; ?>
</div>
</div>
</div>