fix bugs responsive
This commit is contained in:
@@ -15,24 +15,17 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 2rem;
|
||||
max-height: 600px;
|
||||
// width: 800px;
|
||||
// max-height: 600px;
|
||||
@media (max-width: 568px){
|
||||
flex-direction: column;
|
||||
}
|
||||
.block-entity-fieldnodefield-photo{
|
||||
width: 60%;
|
||||
padding-right: 2rem;
|
||||
// margin-right: 2rem;
|
||||
// @media (max-width: 810px) {
|
||||
// }
|
||||
@media (max-width: 568px){
|
||||
width: 100%;
|
||||
}
|
||||
img{
|
||||
// padding-top: 2rem;
|
||||
// width: 600px;
|
||||
// width: 65%;
|
||||
height: auto;
|
||||
max-height: 600px;
|
||||
object-fit: contain;
|
||||
@@ -137,21 +130,23 @@
|
||||
.top_bottom{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
// margin: auto;
|
||||
border: 0.1rem solid;
|
||||
justify-content: space-evenly;
|
||||
width: 90%;
|
||||
margin-top: 3rem;
|
||||
@media(max-width:479px){
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
.top_bottom_left{
|
||||
padding-right: 1rem;
|
||||
order: 1;
|
||||
// display: grid;
|
||||
// grid-template-columns: 1fr, repeat(2, 2fr);
|
||||
width: 30%;
|
||||
position: relative;
|
||||
@media(max-width:479px){
|
||||
width: 100%;
|
||||
}
|
||||
&::before{
|
||||
// grid-column: 1;
|
||||
// grid-row: 1 /span 2;
|
||||
content: url("../images/pictos/picto_lieu.svg");
|
||||
display: inline-block;
|
||||
width: 50px;
|
||||
@@ -165,15 +160,10 @@
|
||||
order: 1;
|
||||
margin-left: 70px;
|
||||
margin-bottom: 1rem;
|
||||
// grid-column: 2;
|
||||
// grid-row: 1;
|
||||
}
|
||||
.block-entity-fieldnodefield-adresse{
|
||||
order: 2;
|
||||
margin-left: 70px;
|
||||
// grid-column: 2;
|
||||
// grid-row: 2;
|
||||
// margin-block-start: .83em;
|
||||
.field--name-field-adresse{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -184,10 +174,6 @@
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
margin: 0;
|
||||
// .locality::after{
|
||||
// content:",";
|
||||
// margin-right: 0.3rem;
|
||||
// }
|
||||
.country{
|
||||
display: none;
|
||||
}
|
||||
@@ -203,6 +189,13 @@
|
||||
padding-bottom: 1rem;
|
||||
border-left: 0.1rem solid ;
|
||||
width: 30%;
|
||||
@media(max-width:479px){
|
||||
width: 100%;
|
||||
border-top: 0.1rem solid ;
|
||||
border-left: 0;
|
||||
padding-right: 0rem;
|
||||
padding-left: 0rem;
|
||||
}
|
||||
h2{
|
||||
color: $blue-dark;
|
||||
font-size: 1.2rem;
|
||||
@@ -211,8 +204,18 @@
|
||||
margin-bottom: 0rem !important;
|
||||
&:after{
|
||||
content: ' :';
|
||||
}
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__item{
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__label{
|
||||
display: none;
|
||||
}
|
||||
@@ -223,6 +226,13 @@
|
||||
border-left: 0.1rem solid ;
|
||||
padding-bottom: 1rem;
|
||||
width: 20%;
|
||||
@media(max-width:479px){
|
||||
border-left: 0;
|
||||
border-top: 0.1rem solid ;
|
||||
width: 100%;
|
||||
padding-right: 0rem;
|
||||
padding-left: 0rem;
|
||||
}
|
||||
h2{
|
||||
color: $blue-dark;
|
||||
font-size: 1.2rem;
|
||||
@@ -232,6 +242,16 @@
|
||||
&:after{
|
||||
content: ' :';
|
||||
}
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__item{
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__label{
|
||||
display: none;
|
||||
@@ -243,6 +263,13 @@
|
||||
padding-bottom: 1rem;
|
||||
border-left: 0.1rem solid ;
|
||||
width: 20%;
|
||||
@media(max-width:479px){
|
||||
border-left: 0;
|
||||
border-top: 0.1rem solid ;
|
||||
width: 100%;
|
||||
padding-right: 0rem;
|
||||
padding-left: 0rem;
|
||||
}
|
||||
h2{
|
||||
color: $blue-dark;
|
||||
font-size: 1.2rem;
|
||||
@@ -251,7 +278,17 @@
|
||||
margin-bottom: 0rem !important;
|
||||
&:after{
|
||||
content: ' :';
|
||||
}
|
||||
}
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__item{
|
||||
@media(max-width:479px){
|
||||
padding-right: 1rem;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
.field__label{
|
||||
display: none;
|
||||
@@ -403,11 +440,17 @@
|
||||
.layout__region--third{
|
||||
// grid-row: 4;
|
||||
margin-top: 5rem;
|
||||
|
||||
@media(max-width:479px){
|
||||
margin-top: 2rem;
|
||||
}
|
||||
.block-region-third{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 65%;
|
||||
@media(max-width:479px){
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
.block-entity-fieldnodefield-fichiers{
|
||||
h2{display: none;}
|
||||
.field--name-field-fichiers{
|
||||
@@ -501,7 +544,9 @@
|
||||
|
||||
.block-entity-fieldnodefield-ressource-s-liee-s-{
|
||||
margin-top: 3rem;
|
||||
|
||||
@media(max-width:479px){
|
||||
margin-top: 2rem;
|
||||
}
|
||||
h2{
|
||||
font-size: 0.8rem;
|
||||
color: $black;
|
||||
|
||||
Reference in New Issue
Block a user