Compare commits
No commits in common. "17bea1ba4ab505506281ed5407789624b34032d1" and "c742526b81d313a32e3722724178bf278fc572c5" have entirely different histories.
17bea1ba4a
...
c742526b81
|
|
@ -2,10 +2,9 @@
|
|||
color: unset;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
/* @apply underline underline-offset-8; */
|
||||
/* text-decoration-thickness: 1px;
|
||||
@apply decoration-neutral-400; */
|
||||
@apply text-primary;
|
||||
@apply underline underline-offset-8;
|
||||
text-decoration-thickness: 1px;
|
||||
@apply decoration-neutral-400;
|
||||
&:after {
|
||||
transform: translate(0px, -2px) scale(1.1);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
.post-header {
|
||||
@apply bg-primary text-white py-8 2xl:py-16 px-2 lg:px-4 md:px-8 overflow-x-hidden;
|
||||
@apply bg-primary text-white py-32 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-6xl text-white;
|
||||
@apply uppercase font-medium text-4xl md:text-5xl lg:text-7xl text-white;
|
||||
line-height: 1.2;
|
||||
}
|
||||
&__inner {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?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;
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
|
@ -20,14 +19,5 @@ $pdf_url = isset($pdf_version) && !empty($pdf_version['url']) ? $pdf_version['ur
|
|||
<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>
|
||||
Loading…
Reference in New Issue
Block a user