|
@@ -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;
|