padding text incubateur
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -347,7 +347,7 @@ svg.ext {
|
|||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
|
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes .field--type-text-long {
|
||||||
padding-right: 2rem;
|
padding: 0.5rem 1rem 1rem 1.5rem;
|
||||||
}
|
}
|
||||||
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes p {
|
.path-node.page-node-type-static .layout-container .layout-content .layout__region--second .block-entity-fieldnodefield-textes p {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|||||||
@@ -301,6 +301,18 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
document.querySelectorAll(".view-type-ressource-slide").forEach(view => {
|
||||||
|
const h3Content = view.querySelector("h3 > a")?.textContent.trim();
|
||||||
|
|
||||||
|
view.querySelectorAll(".field--name-field-type-de-ressource").forEach(field => {
|
||||||
|
const fieldText = field.textContent.trim();
|
||||||
|
|
||||||
|
if (fieldText === h3Content) {
|
||||||
|
field.style.display = "none";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery, window);
|
})(jQuery, window);
|
||||||
|
|||||||
@@ -7,26 +7,12 @@
|
|||||||
|
|
||||||
.layout-container{
|
.layout-container{
|
||||||
overflow: unset;
|
overflow: unset;
|
||||||
// display: flex;
|
|
||||||
// flex-direction: column;
|
|
||||||
// flex-flow: row wrap;
|
|
||||||
// header{
|
|
||||||
// flex: 0 0 100%;
|
|
||||||
// }
|
|
||||||
// main{
|
|
||||||
// flex: 0 0 100%;
|
|
||||||
.layout-content{
|
.layout-content{
|
||||||
|
|
||||||
.region-content{
|
.region-content{
|
||||||
#block-contenudelapageprincipale{
|
#block-contenudelapageprincipale{
|
||||||
span{
|
span{
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
// margin-left: 11%;
|
|
||||||
// margin-top: 15vh;
|
|
||||||
// @media (max-width: 810px){
|
|
||||||
// margin-left: 8%;
|
|
||||||
// margin-right: 5%;
|
|
||||||
// }
|
|
||||||
h2{
|
h2{
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
margin-left: 11%;
|
margin-left: 11%;
|
||||||
@@ -103,23 +89,15 @@
|
|||||||
font-family: 'Source Code Pro', monospace;
|
font-family: 'Source Code Pro', monospace;
|
||||||
color: $blue-dark;
|
color: $blue-dark;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
// margin-top: 2rem;
|
|
||||||
margin-bottom: 0.8rem;
|
margin-bottom: 0.8rem;
|
||||||
}
|
}
|
||||||
.field--name-field-texte{
|
.field--name-field-texte{
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// colone de droite fichiers et ressources liées
|
// colone de droite fichiers et ressources liées
|
||||||
@@ -131,9 +109,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 70%;
|
width: 70%;
|
||||||
// position: -webkit-sticky;
|
|
||||||
// position: sticky;
|
|
||||||
// top: 9rem;
|
|
||||||
@media (max-width: 810px){
|
@media (max-width: 810px){
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
@@ -148,8 +123,6 @@
|
|||||||
color: $blue-light;
|
color: $blue-light;
|
||||||
padding-left: 0.8rem;
|
padding-left: 0.8rem;
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
|
||||||
|
|
||||||
span:nth-of-type(2){
|
span:nth-of-type(2){
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -171,7 +144,6 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
color: $blue-light;
|
color: $blue-light;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
// max-width: 80px ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.field--type-text-long{
|
.field--type-text-long{
|
||||||
padding-right: 2rem;
|
// padding-right: 2rem;
|
||||||
|
padding: 0.5rem 1rem 1rem 1.5rem;
|
||||||
}
|
}
|
||||||
p{
|
p{
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user