home mobile

This commit is contained in:
2024-06-19 22:05:53 +02:00
parent 9f8ee055b8
commit 8625e8310b
5 changed files with 106 additions and 10 deletions
@@ -20,12 +20,21 @@
}
.page-programme .field--type-link {
@extend %buttonwithborder;
width: fit-content;
padding: 0.4rem;
}
.field--type-link {
@extend %buttonwithborder;
width: fit-content;
padding: 0.4rem;
.page-programme{
padding: 0.4rem;
}
}
.bouton{
background-color: $white-button !important;
border: none !important;
@@ -4,5 +4,10 @@
width: 60%;
margin: auto;
padding-top: 5rem;
@media(max-width: 891px){
width: 80%;
padding-top: 3rem;
}
}
}
@@ -13,6 +13,8 @@
padding-bottom: 5rem;
@media(max-width: 891px){
margin-bottom: 1rem;
margin-top: 2rem;
width: 50%;
// margin: auto;
}
p{margin: 0;}
@@ -25,20 +27,29 @@
position: relative;
.views-row{
@media(max-width: 891px){
margin-left: 1.8rem;
margin-right: 1.8rem;
}
.node-type-site{
width: 70%;
margin: auto;
display: grid;
grid-template-rows: repeat(12, 1fr);
grid-template-columns: repeat(12, 1fr);
@media(max-width: 891px){
width: 100%;
display: flex;
flex-direction: column;
}
.image-site{
order: 1;
grid-row: 1/span 10;
grid-column: 1/span 9;
img {
width: 100%;
object-fit: cover;
// object-fit: cover;
height: auto;
}
}
.filtered-content{
@@ -51,18 +62,33 @@
grid-row: 7/span 5;
grid-column: 7/span 12;
padding: 1rem;
@media(max-width: 891px){
width: auto;
}
h2{
order: 2;
margin: 0;
@media(max-width: 891px){
font-size: 1.2rem;
line-height: 1.3rem;
}
}
.field--name-field-numero-site {
order: 1;
text-transform: uppercase;
font-size: 2rem;
@media(max-width: 891px){
font-size: 1.5rem;
}
}
.field--name-field-adresse-site{
order: 3;
font-size: 1.5rem;
@media(max-width: 891px){
font-size: 1rem;
line-height: 0.6rem;
padding-bottom: 0.3rem;
}
.address{
margin: 0;
display: inline-flex;
@@ -49,9 +49,14 @@
.field--name-field-texte{
grid-column: 2 / 8;
grid-row: 2;
span{
background-color: none;
.field__item{
p{
strong{
background-color: none;
}
}
}
}
.field--name-field-lien{
grid-column: 2 / 8;