macaron dans home

This commit is contained in:
2022-01-28 14:09:20 +01:00
parent a747887595
commit 88f5392027
4 changed files with 124 additions and 14 deletions
+23 -3
View File
@@ -39,7 +39,22 @@
grid-template-columns: 1fr repeat(4, 2fr) 1fr;
grid-template-rows: repeat(4, auto);
.field--name-field-images{
display: none;
// display: none;
grid-column: 4 / span 6;
grid-row: 2;
.field__item{
display: block;
width: 400px;
height: 400px;
@media (max-width: 1517px){
width: 300px;
height: 300px;
}
img{
max-width:100%;
max-height: 100%;
}
}
}
.field--name-field-accroche{
@@ -76,8 +91,10 @@
}
.field--name-title{
grid-column: 4;
grid-row: 2;
// grid-column: 4;
// grid-row: 2;
grid-column: 2;
grid-row: 1 / span 2;
margin-top: 3rem;
h2{
@@ -93,6 +110,9 @@
// background-color: $white;
}
}
@media (max-width: 1517px){
}
@media (max-width: 810px){
margin-top: 1rem;
@@ -41,7 +41,6 @@
// }
}
// menu ancres a gauche
.layout__region--first{ // menu ancres a gauche
position: relative;
@@ -50,7 +49,7 @@
justify-content: flex-end;
position: -webkit-sticky;
position: sticky;
top: 9rem;
top: 10rem;
@media (max-width: 810px){
display: none;
}
@@ -123,9 +122,9 @@
display: flex;
flex-direction: column;
width: 70%;
// position: -webkit-sticky;
// position: sticky;
// top: 11rem;
position: -webkit-sticky;
position: sticky;
top: 9rem;
@media (max-width: 810px){
margin: auto;
}