This commit is contained in:
parent
55a5f9b01d
commit
f1c43d912b
4 changed files with 66 additions and 11 deletions
|
|
@ -114,6 +114,31 @@
|
|||
&.presse {
|
||||
background-color: black;
|
||||
color: white;
|
||||
|
||||
.quotes {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 4rem;
|
||||
|
||||
.quote {
|
||||
text-align: center;
|
||||
blockquote {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 2rem;
|
||||
|
||||
&::before {
|
||||
content: "«";
|
||||
}
|
||||
&::after {
|
||||
content: "»";
|
||||
}
|
||||
}
|
||||
|
||||
cite {
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,6 +52,10 @@ a {
|
|||
text-decoration: none;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Bartok";
|
||||
src: url("../fonts/BartokTrial-Regular.otf") format("opentype");
|
||||
|
|
@ -600,6 +604,27 @@ summary {
|
|||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
[data-template=event] main details.presse .quotes {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 4rem;
|
||||
}
|
||||
[data-template=event] main details.presse .quotes .quote {
|
||||
text-align: center;
|
||||
}
|
||||
[data-template=event] main details.presse .quotes .quote blockquote {
|
||||
margin-bottom: 2rem;
|
||||
font-size: 2rem;
|
||||
}
|
||||
[data-template=event] main details.presse .quotes .quote blockquote::before {
|
||||
content: "«";
|
||||
}
|
||||
[data-template=event] main details.presse .quotes .quote blockquote::after {
|
||||
content: "»";
|
||||
}
|
||||
[data-template=event] main details.presse .quotes .quote cite {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[data-template=agenda] main {
|
||||
background-color: transparent;
|
||||
|
|
|
|||
|
|
@ -123,8 +123,9 @@ tabs:
|
|||
fields:
|
||||
text:
|
||||
label: Texte
|
||||
type: text
|
||||
type: textarea
|
||||
required: true
|
||||
buttons: false
|
||||
reference:
|
||||
label: Référence
|
||||
type: text
|
||||
|
|
|
|||
|
|
@ -86,16 +86,20 @@ Dates et tournées
|
|||
Extraits presse
|
||||
</summary>
|
||||
|
||||
<?php foreach ($page->pressQuotes()->toStructure() as $pressQuote): ?>
|
||||
<blockquote>
|
||||
<?= $pressQuote->text() ?>
|
||||
</blockquote>
|
||||
<cite>
|
||||
<a href="<?= $pressQuote->link()?>">
|
||||
<?= $pressQuote->reference() ?>
|
||||
</a>
|
||||
</cite>
|
||||
<?php endforeach ?>
|
||||
<div class="quotes">
|
||||
<?php foreach ($page->pressQuotes()->toStructure() as $pressQuote): ?>
|
||||
<div class="quote">
|
||||
<blockquote>
|
||||
<?= $pressQuote->text() ?>
|
||||
</blockquote>
|
||||
<cite>
|
||||
<a href="<?= $pressQuote->link()?>">
|
||||
<?= $pressQuote->reference() ?>
|
||||
</a>
|
||||
</cite>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue