Correction rubrique
This commit is contained in:
@@ -134,6 +134,9 @@
|
|||||||
font-size: 12pt;
|
font-size: 12pt;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
.layout:nth-child(odd) .section-title:not(.still){
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.section-content {
|
.section-content {
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
|
|||||||
+3
-5
@@ -35,7 +35,7 @@
|
|||||||
<div class="column image-cover image-bleed" v-bind:style='{ backgroundImage: `url(https://popsu-rouen-en.strapi.figli.io/uploads/50424a6a43e44551a4faa699f8ef3caa.JPEG)`, }' />
|
<div class="column image-cover image-bleed" v-bind:style='{ backgroundImage: `url(https://popsu-rouen-en.strapi.figli.io/uploads/50424a6a43e44551a4faa699f8ef3caa.JPEG)`, }' />
|
||||||
<!-- Sommaire -->
|
<!-- Sommaire -->
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<div class="section-title">
|
<div class="section-title still">
|
||||||
Sommaire
|
Sommaire
|
||||||
</div>
|
</div>
|
||||||
<div class="column justify-end table-of-content">
|
<div class="column justify-end table-of-content">
|
||||||
@@ -121,14 +121,14 @@ export default {
|
|||||||
legend.classList.add("legend");
|
legend.classList.add("legend");
|
||||||
legend.innerHTML = found.legende;
|
legend.innerHTML = found.legende;
|
||||||
legend.id = `legend-${img_id}`;
|
legend.id = `legend-${img_id}`;
|
||||||
if(found.double){
|
if (found.double) {
|
||||||
let clone = img.parentNode.cloneNode(true);
|
let clone = img.parentNode.cloneNode(true);
|
||||||
clone.classList.add("breakBefore");
|
clone.classList.add("breakBefore");
|
||||||
clone.querySelector("img").id += "-end";
|
clone.querySelector("img").id += "-end";
|
||||||
img.parentNode.insertBefore(clone, img.previousSibling);
|
img.parentNode.insertBefore(clone, img.previousSibling);
|
||||||
clone.parentNode.insertBefore(legend, clone.nextSibling);
|
clone.parentNode.insertBefore(legend, clone.nextSibling);
|
||||||
|
|
||||||
}else{
|
} else {
|
||||||
img.parentNode.insertBefore(legend, img.nextSibling);
|
img.parentNode.insertBefore(legend, img.nextSibling);
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
@@ -143,8 +143,6 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<page-query>
|
<page-query>
|
||||||
|
|||||||
Reference in New Issue
Block a user