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;
|
||||
}
|
||||
.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 {
|
||||
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);
|
||||
|
||||
@@ -7,26 +7,12 @@
|
||||
|
||||
.layout-container{
|
||||
overflow: unset;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// flex-flow: row wrap;
|
||||
// header{
|
||||
// flex: 0 0 100%;
|
||||
// }
|
||||
// main{
|
||||
// flex: 0 0 100%;
|
||||
.layout-content{
|
||||
|
||||
.region-content{
|
||||
#block-contenudelapageprincipale{
|
||||
span{
|
||||
width: fit-content;
|
||||
// margin-left: 11%;
|
||||
// margin-top: 15vh;
|
||||
// @media (max-width: 810px){
|
||||
// margin-left: 8%;
|
||||
// margin-right: 5%;
|
||||
// }
|
||||
h2{
|
||||
width: fit-content;
|
||||
margin-left: 11%;
|
||||
@@ -103,23 +89,15 @@
|
||||
font-family: 'Source Code Pro', monospace;
|
||||
color: $blue-dark;
|
||||
text-transform: uppercase;
|
||||
// margin-top: 2rem;
|
||||
margin-bottom: 0.8rem;
|
||||
}
|
||||
.field--name-field-texte{
|
||||
|
||||
|
||||
margin-bottom: 2rem;
|
||||
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
// colone de droite fichiers et ressources liées
|
||||
@@ -131,9 +109,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 70%;
|
||||
// position: -webkit-sticky;
|
||||
// position: sticky;
|
||||
// top: 9rem;
|
||||
@media (max-width: 810px){
|
||||
margin: auto;
|
||||
}
|
||||
@@ -148,8 +123,6 @@
|
||||
color: $blue-light;
|
||||
padding-left: 0.8rem;
|
||||
padding-top: 1rem;
|
||||
|
||||
|
||||
span:nth-of-type(2){
|
||||
display: none;
|
||||
}
|
||||
@@ -171,7 +144,6 @@
|
||||
align-items: center;
|
||||
color: $blue-light;
|
||||
font-weight: 800;
|
||||
// max-width: 80px ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -115,7 +115,8 @@
|
||||
}
|
||||
}
|
||||
.field--type-text-long{
|
||||
padding-right: 2rem;
|
||||
// padding-right: 2rem;
|
||||
padding: 0.5rem 1rem 1rem 1.5rem;
|
||||
}
|
||||
p{
|
||||
margin-top: 0;
|
||||
|
||||
Reference in New Issue
Block a user