new file scss incubateur

This commit is contained in:
2023-06-08 11:51:14 +02:00
parent f3ad571ee1
commit 8bb064f247
5 changed files with 143 additions and 5 deletions
-4
View File
@@ -55,11 +55,7 @@
"drupal/console-extend-plugin": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
<<<<<<< HEAD
"drupal/core-project-message": false,
=======
"drupal/core-project-message": true,
>>>>>>> d96e14918d8744277184836ca08599e09512fdba
"wikimedia/composer-merge-plugin": true
}
},
@@ -712,6 +712,39 @@ a {
.field--name-field-partenaires a svg {
display: none; }
.field--name-field-equipes {
padding-top: 3rem; }
.field--name-field-equipes .paragraph--type--equipe {
background-color: white;
width: 100%; }
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne {
width: 100%;
padding-bottom: 3rem; }
@media (max-width: 810px) {
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne {
display: flex;
flex-direction: column; } }
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne .field--name-field-photo {
grid-column: 1 / 2;
grid-row: 2;
margin-top: 2rem;
padding-right: 1rem; }
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne .field--name-field-prenom {
grid-column: 2 / 8;
grid-row: 1;
font-weight: 800; }
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne .field--name-field-nom {
grid-column: 2 / 8;
grid-row: 2; }
.field--name-field-equipes .paragraph--type--equipe .paragraph--type--personne .field--name-field-fonction {
grid-column: 2 / 8;
grid-row: 3; }
.field--name-field-equipes a {
color: black;
font-weight: 800; }
.field--name-field-equipes a svg {
display: none; }
.path-node.page-node-type-actualite .layout-container {
overflow: unset; }
@@ -0,0 +1,57 @@
.node-id-200{
background: url('../images/pictos/carre-contour-bleu_programme.svg');
background-repeat: no-repeat;
background-position-y: 7rem;
max-width: 100vw;
background-size: contain;
#block-contenudelapageprincipale{
scroll-margin: 8rem;
}
.layout__region--top{ //bandeau titre page static
padding-bottom: 3rem;
height: 30vh;
.block-region-top{
.block-entity-fieldnodefield-images{
display: none;
height: inherit;
}
.block-entity-fieldnodetitle{
.field--name-title{
font-family: 'Source Code Pro';
font-size: 2rem;
font-weight: 800;
color: $white;
background-color: $blue-light;
text-transform: uppercase;
}
}
}
}
.layout__region--second{ // paragraphe texte
width: 25%;
.block-entity-fieldnodefield-textes{
background-color: $white;
.field--name-field-titre{
font-size: 1.5rem;
font-weight: 1000;
font-family: 'Source Code Pro';
color: $blue-dark;
text-transform: uppercase;
}
h4{
text-transform: none !important;
}
.field--type-text-long{
padding-right: 2rem;
}
}
}
}
@@ -71,3 +71,55 @@
}
}
.field--name-field-equipes{
padding-top: 3rem;
.paragraph--type--equipe{
background-color: $white;
width: 100%;
.paragraph--type--personne{
width: 100%;
padding-bottom: 3rem;
// display: grid;
// grid-template-columns: repeat(7, 1fr);
// grid-template-rows: repeat(auto-fill);
@media (max-width: 810px){
display: flex;
flex-direction: column;
}
.field--name-field-photo{
grid-column: 1 / 2;
grid-row: 2;
margin-top: 2rem;
padding-right: 1rem;
}
.field--name-field-prenom{
grid-column: 2 / 8;
grid-row: 1;
font-weight: 800;
}
.field--name-field-nom{
grid-column: 2 / 8;
grid-row: 2;
}
.field--name-field-fonction{
grid-column: 2 / 8;
grid-row: 3;
}
}
}
a{
color: $black;
font-weight: 800;
svg{
display: none;
}
}
}