responsive infos actu

This commit is contained in:
Ouidade Soussi Chiadmi 2025-04-04 12:04:10 +02:00
parent e038d94c40
commit 8b37b4a4a4
2 changed files with 29 additions and 1 deletions

View File

@ -3436,6 +3436,11 @@ body {
padding: 1rem 0rem;
margin-bottom: 1rem;
}
@media (max-width: 810px) {
#page-node .content_container .node-type-actualite .infos-actu {
flex-direction: column;
}
}
#page-node .content_container .node-type-actualite .infos-actu .field_field_type_d_actualite {
display: flex;
align-items: center;
@ -3453,6 +3458,12 @@ body {
content: url("../img/type-actu.svg");
padding-right: 0.4rem;
}
@media (max-width: 810px) {
#page-node .content_container .node-type-actualite .infos-actu .field_field_type_d_actualite {
margin-left: 1rem;
margin-top: 0.5rem;
}
}
#page-node .content_container .node-type-actualite .infos-actu .field_field_date {
color: red;
display: flex;
@ -3488,6 +3499,12 @@ body {
background-repeat: no-repeat;
padding-right: 0.5rem;
}
@media (max-width: 810px) {
#page-node .content_container .node-type-actualite .infos-actu .field_field_site {
margin-left: 1rem;
margin-top: 0.5rem;
}
}
#page-node .content_container .node-type-actualite .content-wrapper-actu {
order: 2;
display: flex;

View File

@ -44,7 +44,10 @@
border-bottom: solid red 1px;
padding: 1rem 0rem;
margin-bottom: 1rem;
@media(max-width: 810px){
flex-direction: column;
}
.field_field_type_d_actualite{
display: flex;
align-items: center;
@ -62,6 +65,10 @@
padding-right: 0.4rem;
}
}
@media(max-width: 810px){
margin-left: 1rem;
margin-top: 0.5rem;
}
}
.field_field_date{
color: red;
@ -105,6 +112,10 @@
padding-right: 0.5rem;
}
}
@media(max-width: 810px){
margin-left: 1rem;
margin-top: 0.5rem;
}
}