entete sit

This commit is contained in:
2024-07-01 16:33:16 +02:00
parent 09cd038feb
commit 5c16a8f4af
8 changed files with 488 additions and 401 deletions
@@ -7,7 +7,7 @@
padding: 2rem;
margin-right: 1rem;
width: 16vw;
margin-left: 15%;
margin-left: 12%;
padding-top: 0.5rem;
padding-left: 0.8rem;
padding-bottom: 5rem;
@@ -38,117 +38,141 @@
.node-type-site{
width: 70%;
margin: auto;
display: grid;
grid-template-rows: repeat(12, 1fr);
grid-template-columns: repeat(12, 1fr);
.entete_site{
background-color: white;
height: 520px;
width: 1274px;
display: flex;
flex-direction: row;
@media(max-width: 891px){
width: 100%;
display: flex;
flex-direction: column;
}
.image-site{
order: 1;
grid-row: 1/span 10;
grid-column: 2/span 10;
width: 100%;
img {
max-height: 600px;
width: 100%;
object-fit: contain;
}
}
.infos-content-site{
background-color: $white-button;
width: 20vw;
order: 2;
display: flex;
flex-direction: column;
grid-row: 7/span 5;
grid-column: 10/span 10;
padding: 1rem;
z-index: 99;
@media(max-width: 891px){
width: auto;
}
h1{display: none;}
h2{
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 1000;
@media(max-width: 891px){
font-size: 1.2rem;
line-height: 1.3rem;
}
}
.first-row{
}
.image-site{
order: 1;
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-architecte{
order: 4;
font-size: 1.4rem;
padding-top: 0.5rem;
.field__items{
.field__item{
display: flex;
flex-direction: row;
flex-wrap: wrap;
.field__item{
display: inline;
&::after{
content:',';
padding-right: 0.5rem;
flex-direction:column;
align-items: flex-end;
img {
height: 520px;
width: auto;
object-fit: contain;
}
blockquote{
position: relative;
font-style: italic;
margin: 0;
width: 20vw;
z-index: 900;
left: 20vw;
top: -50px;
p{
margin: 0;
padding-left: 1rem;
}
}
}
.field__item:last-of-type::after {
content: '';
}
.infos-content-site{
background-color: $white-button;
width: 20vw;
height: 400px;
order: 2;
display: flex;
flex-direction: column;
margin: auto;
padding: 1rem;
z-index: 99;
position: relative;
justify-content: center;
@media(max-width: 891px){
width: auto;
}
h1{display: none;}
h2{
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 1000;
@media(max-width: 891px){
font-size: 1.2rem;
line-height: 1.3rem;
}
}
.first-row{
order: 1;
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-architecte{
order: 4;
font-size: 1.4rem;
padding-top: 0.5rem;
.field__items{
display: flex;
flex-direction: row;
flex-wrap: wrap;
.field__item{
display: inline;
&::after{
content:',';
padding-right: 0.5rem;
}
}
}
.field__item:last-of-type::after {
content: '';
}
}
}
}
}
}
+157 -137
View File
@@ -11,20 +11,22 @@
width: 80%;
margin: auto;
display: grid;
grid-template-columns: repeat(8, 1fr);
grid-template-rows: 0.5fr 0.5fr repeat(5, 2fr);
display: flex;
flex-direction: column;
#block-reha-prevnextblock{
display: flex;
flex-direction: row;
grid-column: 2 /span 8;
grid-row: 2;
width: 1274px;
grid-row: 1;
z-index: 97;
height: fit-content;
// align-self: end;
justify-content: space-evenly;
justify-content: space-between;
margin: auto;
.next-site{
border: none;
padding: 0.5rem 1rem;
margin-left: auto;
::after{
content: url('../../dist/images/noun-arrow-1569918-black.svg');
padding-left: 0.5rem;
@@ -32,6 +34,8 @@
}
}
.prev-site{
border: none;
padding: 0.5rem 1rem;
::before{
content: url('../../dist/images/noun-arrow-1569918-black.svg');
display: inline-block;
@@ -45,155 +49,171 @@
display: none;
}
#block-reha-contenudelapageprincipale{
grid-column: 1 /span 8;
grid-row: 2 /span 10;
padding-top: 2rem;
padding-bottom: 3rem;
.node-type-site{
margin: auto;
display: flex;
flex-direction: column;
.image-site{
order: 2;
top: -115px;
position: relative;
.field--name-field-image{
width: 100%;
margin: auto;
.field__item{
display: flex;
flex-direction: row;
img{
width: 100%;
object-fit: cover;
height: auto;
padding-left: 13%;
}
blockquote{
align-self: flex-end;
font-style: italic;
margin: 0;
width: 20%;
p{
margin: 0;
padding-left: 1rem;
}
}
}
}
}
.infos-content-site{
z-index: 99;
background-color: $white-button;
width: 25vw;
order: 1;
.entete_site{
background-color: white;
height: 520px;
width: 1274px;
display: flex;
flex-direction: column;
padding-left: 1rem;
padding-right: 1rem;
padding-bottom: 4rem;
padding-top: 1rem;
h1{
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 900;
}
h2{
order: 3;
margin: 0;
font-size: 1.3rem;
font-weight: 900;
}
.first-row{
flex-direction: row;
margin: auto;
.image-site{
order: 1;
display:flex;
flex-direction: row;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
// top: -115px;
// position: relative;
.field--name-field-image{
width: 100%;
margin: auto;
.field__item{
display: flex;
flex-direction:column;
align-items: flex-end;
img{
height: 520px;
width: auto;
object-fit: contain;
}
blockquote{
position: relative;
font-style: italic;
margin: 0;
width: 20vw;
z-index: 900;
left: 20vw;
top: -50px;
p{
margin: 0;
padding-left: 1rem;
}
}
}
}
}
.infos-content-site{
background-color: $white-button;
width: 20vw;
height: 400px;
order: 2;
display: flex;
flex-direction: column;
margin: auto;
padding: 1rem;
z-index: 99;
position: relative;
justify-content: center;
@media(max-width: 891px){
width: auto;
}
h1{
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 900;
}
h2{
order: 3;
margin: 0;
font-size: 1.3rem;
font-weight: 900;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field--name-field-date-de-construction{
order: 5;
font-size: 1.2rem;
}
.field--name-field-architecte{
order: 4;
padding-top: 0.5rem;
font-size: 1.2rem;
.field__items{
display: flex;
.first-row{
order: 1;
display:flex;
flex-direction: row;
flex-wrap: wrap;
.field__item{
display: inline;
align-items: end;
padding-bottom: 0.5rem;
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 1rem;
display: inline-flex;
&::after{
content:',';
padding-right: 0.5rem;
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.country{
display: none;
}
}
}
}
.field__item:last-of-type::after {
content: '';
.field--name-field-date-de-construction{
order: 5;
font-size: 1.2rem;
}
}
ul.links{
order: 5;
text-transform: uppercase;
padding: 0;
margin: 0;
border: none;
padding-bottom: 2rem;
padding-top: 0.9rem;
display: inline-flex;
&::after{
content:url("../../dist/images/noun-arrow-1569918-black.svg");
padding-left: 0.5rem;
.field--name-field-architecte{
order: 4;
padding-top: 0.5rem;
font-size: 1.2rem;
.field__items{
display: flex;
flex-direction: row;
flex-wrap: wrap;
.field__item{
display: inline;
&::after{
content:',';
padding-right: 0.5rem;
}
}
}
.field__item:last-of-type::after {
content: '';
}
}
}
}
ul.links{
order: 5;
text-transform: uppercase;
padding: 0;
margin: 0;
border: none;
padding-bottom: 2rem;
padding-top: 0.9rem;
display: inline-flex;
&::after{
content:url("../../dist/images/noun-arrow-1569918-black.svg");
padding-left: 0.5rem;
}
}
}
}
.body-content-site{
order: 3;
top: -60px;
// top: -60px;
padding-top: 4rem;
position: relative;
width: 50%;
margin: auto;
@@ -95,7 +95,7 @@ $slick-opacity-not-active: 0.25 !default;
&:before {
font-family: $slick-font-family;
font-size: 200px;
line-height: 1;
line-height: 1.5;
color: $slick-arrow-color;
opacity: $slick-opacity-default;
-webkit-font-smoothing: antialiased;
@@ -104,7 +104,7 @@ $slick-opacity-not-active: 0.25 !default;
}
.slick-prev {
left: 250px;
left: 180px;
padding-left: 4rem;
[dir="rtl"] & {
left: auto;
@@ -125,7 +125,7 @@ $slick-opacity-not-active: 0.25 !default;
}
.slick-next {
right: 350px;
right: 270px;
[dir="rtl"] & {
left: -25px;
right: auto;