Compare commits
3 Commits
c742526b81
...
17bea1ba4a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17bea1ba4a | ||
|
|
ba299cc114 | ||
|
|
b93ec0f0c4 |
|
|
@ -2,9 +2,10 @@
|
||||||
color: unset;
|
color: unset;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&:hover {
|
&:hover {
|
||||||
@apply underline underline-offset-8;
|
/* @apply underline underline-offset-8; */
|
||||||
text-decoration-thickness: 1px;
|
/* text-decoration-thickness: 1px;
|
||||||
@apply decoration-neutral-400;
|
@apply decoration-neutral-400; */
|
||||||
|
@apply text-primary;
|
||||||
&:after {
|
&:after {
|
||||||
transform: translate(0px, -2px) scale(1.1);
|
transform: translate(0px, -2px) scale(1.1);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
.post-header {
|
.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,
|
h1.post-header__title,
|
||||||
h2.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;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
&__inner {
|
&__inner {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
<?php
|
<?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="">
|
<img class="icon" src="<?php echo get_stylesheet_directory_uri(); ?>/resources/img/icons/carhop-note-biographique.svg" alt="">
|
||||||
Informations
|
Informations
|
||||||
</button>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user