CiCitation au centre
This commit is contained in:
@@ -243,9 +243,7 @@ p img{
|
|||||||
line-height: 9pt;
|
line-height: 9pt;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote{
|
.pagequote{
|
||||||
|
|
||||||
// align-items: center;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-image: url("/motifs/croix.png");
|
background-image: url("/motifs/croix.png");
|
||||||
background-size: 0.4cm;
|
background-size: 0.4cm;
|
||||||
@@ -258,7 +256,11 @@ blockquote{
|
|||||||
padding: 2cm;
|
padding: 2cm;
|
||||||
break-before: always;
|
break-before: always;
|
||||||
break-after: always;
|
break-after: always;
|
||||||
// display: flex;
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote{
|
||||||
& p{
|
& p{
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
@@ -152,6 +152,14 @@ export default {
|
|||||||
layouts.forEach(l=>{
|
layouts.forEach(l=>{
|
||||||
l.classList.add("full-layout");
|
l.classList.add("full-layout");
|
||||||
});
|
});
|
||||||
|
// Centrer les citations
|
||||||
|
let citations = Array.from(document.querySelectorAll("blockquote"));
|
||||||
|
citations.forEach((citation, i) => {
|
||||||
|
let l = citation.closest(".layout");
|
||||||
|
l.classList.add("pagequote");
|
||||||
|
console.log(l);
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user