responsive page site
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
}
|
||||
.layout--threecol-25-50-25{
|
||||
flex-wrap: nowrap;
|
||||
@media(max-width: 500px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
.layout__region--first{
|
||||
flex: 1 0 20%;
|
||||
display: flex;
|
||||
@@ -20,6 +25,9 @@
|
||||
// width: fit-content;
|
||||
}
|
||||
div:has(.field_field_documents){
|
||||
@media(max-width: 500px){
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
h2, .field--label-above, span:not(.file){
|
||||
display: none;
|
||||
@@ -29,6 +37,9 @@
|
||||
color: white;
|
||||
font-size: 0.4rem;
|
||||
text-transform: uppercase;
|
||||
@media(max-width: 500px){
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
a{
|
||||
color: white;
|
||||
padding: 0.5rem 0.3rem;
|
||||
@@ -42,6 +53,10 @@
|
||||
font-size: 0.4rem;
|
||||
text-transform: uppercase;
|
||||
width: fit-content;
|
||||
@media(max-width: 500px){
|
||||
margin-top: 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
a{
|
||||
color: white;
|
||||
padding: 0.5rem 0.3rem;
|
||||
@@ -55,6 +70,10 @@
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin-left: 2.5rem;
|
||||
@media(max-width: 500px){
|
||||
margin-left: 0.5rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.field_title,
|
||||
.field_field_numero,
|
||||
.field_field_sous_titre{
|
||||
@@ -143,6 +162,9 @@
|
||||
|
||||
div:has(.field_field_parties){
|
||||
margin-top: 2rem;
|
||||
@media(max-width: 500px){
|
||||
width: 100%;
|
||||
}
|
||||
.paragraph--type--site-parts{
|
||||
|
||||
.field_field_titre_site{
|
||||
@@ -164,6 +186,9 @@
|
||||
display: flex !important;
|
||||
flex-direction: row !important;
|
||||
justify-content: space-between;
|
||||
@media(max-width: 500px){
|
||||
flex-direction: column !important;
|
||||
}
|
||||
.cadre-img-zoom{
|
||||
margin: auto;
|
||||
img{
|
||||
@@ -190,10 +215,19 @@
|
||||
|
||||
|
||||
.layout__region--third{
|
||||
@media(max-width: 500px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
.block-region-third{
|
||||
div{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@media(max-width: 500px){
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.prev-site{
|
||||
padding-right: 0.5rem;
|
||||
&::before{
|
||||
|
@@ -41,7 +41,7 @@ footer{
|
||||
// max-width: 50vw;
|
||||
}
|
||||
@media (max-width: 500px){
|
||||
padding-left: 15%;
|
||||
// padding-left: 15%;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -94,6 +94,7 @@ footer{
|
||||
padding-bottom: 0.2rem;
|
||||
}
|
||||
@media(max-width: 700px){
|
||||
padding-left: 40px;
|
||||
ul{
|
||||
padding-left: 0rem;
|
||||
}
|
||||
@@ -120,6 +121,9 @@ footer{
|
||||
#block-quartiers-de-demain-socialmedialinks{
|
||||
// display: none;
|
||||
flex-direction: column;
|
||||
@media (max-width: 700px){
|
||||
padding-left: 1rem;
|
||||
}
|
||||
h2{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -128,6 +132,9 @@ footer{
|
||||
|
||||
// padding-bottom: 0.6rem;
|
||||
font-size: 0.6rem;
|
||||
@media (max-width: 700px){
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
}
|
||||
// .fa-3x{
|
||||
|
@@ -149,20 +149,20 @@ header{
|
||||
}
|
||||
li{
|
||||
@media(max-width: 1090px){
|
||||
padding-top: 0.3rem;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
a{
|
||||
text-transform: uppercase;
|
||||
color: white;
|
||||
font-size: 0.5rem;
|
||||
@media(max-width:1090px){
|
||||
font-size: 0.6rem;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
@media(max-width: 500px){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
font-size: 0.9rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -170,7 +170,7 @@ header{
|
||||
::after{
|
||||
content: "";
|
||||
display: block;
|
||||
width: 80px;
|
||||
// width: 80px;
|
||||
border-bottom: solid white 1px;
|
||||
padding-bottom: 0.3rem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user