bandeau zoom home

This commit is contained in:
2023-07-12 15:25:34 +02:00
parent 89b01643de
commit a1cb4f5561
7 changed files with 244 additions and 52 deletions
+74 -28
View File
@@ -10,10 +10,12 @@
padding-top: 4rem;
margin-left: 10%;
margin-right: 10%;
width: 80vw;
.top_top{
display: flex;
flex-direction: row;
margin-bottom: 2rem;
// width: 800px;
.block-entity-fieldnodefield-photo{
width: 60%;
padding-right: 2rem;
@@ -23,10 +25,11 @@
img{
// padding-top: 2rem;
// width: 600px;
width: 65%;
// width: 65%;
// height: auto;
// max-height: 360px;
object-fit: cover;
object-fit: contain;
width: inherit;
@media (max-width: 810px) {
padding-top: 1rem;
object-fit: cover;
@@ -73,7 +76,7 @@
// grid-column: 8 ;
width: fit-content;
.field--name-field-incube{
background-color: red;
background-color: $red;
color: white;
font-weight: 800;
padding-right: 0.3rem;
@@ -94,33 +97,62 @@
border: 0.1rem solid;
justify-content: space-evenly;
width: 90%;
.block-entity-fieldnodefield-adresse{
padding-left: 1.5rem;
// margin-block-start: .83em;
.top_bottom_left{
padding-right: 1rem;
order: 1;
// display: grid;
// grid-template-columns: 1fr, repeat(2, 2fr);
width: 30%;
.field--name-field-adresse{
display: flex;
flex-direction: row;
margin-top: .83em;
.address{
margin: auto;
position: relative;
&::before{
// grid-column: 1;
// grid-row: 1 /span 2;
content: url("../images/pictos/picto_lieu.svg");
display: inline-block;
width: 50px;
padding-right: 1rem;
position: absolute;
left: 0;
margin-top: .83em;
margin-left: 1rem;
}
.block-entity-fieldnodefield-region{
order: 1;
margin-left: 70px;
margin-bottom: 1rem;
// grid-column: 2;
// grid-row: 1;
}
.block-entity-fieldnodefield-adresse{
order: 2;
margin-left: 70px;
// grid-column: 2;
// grid-row: 2;
// margin-block-start: .83em;
.field--name-field-adresse{
display: flex;
flex-direction: column;
justify-content: start;
margin: 0;
// .locality::after{
// content:",";
// margin-right: 0.3rem;
// }
}
&::before{
content: url("../images/pictos/picto_lieu.svg");
padding-right: 1rem;
flex-direction: row;
margin-top: .83em;
.address{
margin: auto;
display: flex;
flex-direction: column;
justify-content: start;
margin: 0;
// .locality::after{
// content:",";
// margin-right: 0.3rem;
// }
.country{
display: none;
}
}
}
}
}
.block-entity-fieldnodefield-etape-du-projet{
order: 4;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 1rem;
@@ -141,6 +173,7 @@
}
}
.block-entity-fieldnodefield-type-de-moa{
order: 2;
padding-left: 1rem;
border-left: 0.1rem solid ;
padding-bottom: 1rem;
@@ -160,6 +193,7 @@
}
}
.block-entity-fieldnodefield-type-de-projet{
order: 3;
padding-left: 1rem;
padding-bottom: 1rem;
border-left: 0.1rem solid ;
@@ -499,19 +533,31 @@
height: auto;
}
}
.field--name-field-mots-clefs{
.field--name-field-date-de-parution{
order: 6;
.field__label{
display: none;
}
}
.field--name-field-mots-clefs{
order: 7;
display: flex;
margin-top: 2rem;
margin-top: 0.8rem;
flex-direction: row;
flex-wrap: wrap;
.field__label{
display: none;
}
.field__items{
display: flex;
flex-direction: row;
}
.field__item{
margin-right: 0.5rem;
padding-left: 0.3rem;
padding-right: 0.3rem;
font-size: 0.8rem;
a{
background: $blue-dark;