responsive /ressources

This commit is contained in:
Ouidade Soussi Chiadmi 2025-03-28 16:30:41 +01:00
parent b0862a3058
commit d35a3a3140
3 changed files with 29 additions and 13 deletions

View File

@ -4042,6 +4042,12 @@ main {
#ressources {
background-color: #f6f7f3;
}
@media (max-width: 810px) {
#ressources main {
display: flex;
flex-direction: column-reverse;
}
}
#ressources .layout-content .content_container {
display: flex;
flex-direction: column;
@ -4056,7 +4062,9 @@ main {
}
@media (max-width: 810px) {
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage {
margin-top: 14rem;
display: flex;
margin: auto;
margin-top: 10rem;
}
}
#ressources .layout-content .content_container #block-quartiers-de-demain-titredepage h1 {
@ -4071,6 +4079,12 @@ main {
margin-left: 15%;
width: 60%;
}
@media (max-width: 810px) {
#ressources .layout-content .content_container .views-element-container {
margin-left: 0%;
width: 90%;
}
}
#ressources .layout-content .content_container .views-element-container h3 {
text-align: center;
}
@ -4319,11 +4333,6 @@ main {
flex-direction: column-reverse;
}
}
@media (max-width: 810px) {
#actualites main aside {
position: relative;
}
}
#actualites .layout-container main {
padding-top: 250px;
}

View File

@ -9,11 +9,6 @@
display: flex;
flex-direction: column-reverse;
}
aside{
@media(max-width: 810px){
position: relative;
}
}
}
.layout-container main{
padding-top: $header-height-big;

View File

@ -2,9 +2,15 @@
#ressources{
background-color: #f6f7f3;
main{
@media(max-width: 810px){
display: flex;
flex-direction: column-reverse;
}
}
.layout-content{
// padding-top: 1rem;
.content_container{
display: flex;
flex-direction: column;
@ -17,7 +23,9 @@
margin-bottom: 1rem;
width: 70%;
@media(max-width: 810px){
margin-top: 14rem;
display: flex;
margin:auto;
margin-top: 10rem;
}
h1{
width: fit-content;
@ -33,6 +41,10 @@
.views-element-container{
margin-left: 15%;
width: 60%;
@media(max-width: 810px){
margin-left: 0%;
width: 90%;
}
h3{
&::before{
content:"";