change order infos site

This commit is contained in:
2024-06-27 11:42:49 +02:00
parent c94a960aef
commit 0e600e768b
8 changed files with 314 additions and 179 deletions
@@ -3,10 +3,10 @@
.block-block-content3bb825b3-ab84-4861-a4f2-2a5e5eed74de{
border: solid $yellow-puca 1px;
background-color: $white-button;
font-weight: 800;
font-weight: 1000;
padding: 2rem;
margin-right: 1rem;
width: 20vw;
width: 16vw;
margin-left: 15%;
padding-top: 0.5rem;
padding-left: 0.8rem;
@@ -52,9 +52,9 @@
grid-column: 2/span 10;
width: 100%;
img {
max-height: 500px;
max-height: 600px;
width: 100%;
object-fit: cover;
object-fit: contain;
}
}
.infos-content-site{
@@ -72,7 +72,7 @@
}
h1{display: none;}
h2{
order: 2;
order: 3;
margin: 0;
font-size: 1.8rem;
font-weight: 1000;
@@ -81,41 +81,52 @@
line-height: 1.3rem;
}
}
.field--name-field-numero-site {
.first-row{
order: 1;
text-transform: uppercase;
font-size: 1.5rem;
@media(max-width: 891px){
font-size: 1.5rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.4rem;
@media(max-width: 891px){
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;
line-height: 0.6rem;
padding-bottom: 0.3rem;
}
.field__item{
display: flex;
}
.address{
margin: 0;
display: inline-flex;
.postal-code{
order: 2;
&::after{
content: '|';
padding-left: 1rem;
padding-right: 1rem;
}
.locality{
order: 1;
text-transform: capitalize;
margin-right: 0.5rem;
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.2rem;
.field__item{
display: flex;
}
.country{
display: none;
.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;
@@ -148,7 +159,8 @@
width: fit-content;
margin: auto;
z-index: 99;
position: relative;
top: -20px;
// position: relative;
// top: -10px;
margin-top: 2rem;
}
}