responsive font size, carroussel ressources

This commit is contained in:
Ouidade Soussi Chiadmi 2025-04-17 13:21:53 +02:00
parent e100f72f88
commit b5156d7614
3 changed files with 11 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -766,6 +766,9 @@
text-align: center; text-align: center;
} }
#centre_de_ressources-block_2{ #centre_de_ressources-block_2{
.slick-track{
align-items: flex-start !important;
}
.slick-slide{ .slick-slide{
margin: 0 0; margin: 0 0;
} }
@ -808,6 +811,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: contain; object-fit: contain;
border: 1px solid gray;
} }
} }
.views-field:not(.views-field-field-image){ .views-field:not(.views-field-field-image){
@ -815,8 +819,7 @@
width: auto; width: auto;
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
padding-right: 8%; padding-right: 8%;
} }
.views-field-field-sous-titre{ .views-field-field-sous-titre{
grid-column: 2 / span 1; grid-column: 2 / span 1;
@ -828,6 +831,8 @@
} }
.views-field-field-type-de-ressource{ .views-field-field-type-de-ressource{
grid-column: 2 / span 1; grid-column: 2 / span 1;
padding: .5rem;
} }
.views-field-field-edition{ .views-field-field-edition{
grid-column: 2 / span 1; grid-column: 2 / span 1;

View File

@ -234,7 +234,6 @@
justify-content: space-evenly; justify-content: space-evenly;
align-items: center; align-items: center;
padding: 1rem 15% 2rem 15%; padding: 1rem 15% 2rem 15%;
&>div:first-child{ &>div:first-child{
grid-column-start: 2; grid-column-start: 2;
} }
@ -243,10 +242,8 @@
&>div:first-child{ &>div:first-child{
grid-column-start: 1; grid-column-start: 1;
} }
} }
} }
} }
} }
@ -268,7 +265,7 @@
text-decoration: none; text-decoration: none;
} }
@include breakpoint(1222px down) { @include breakpoint(1222px down) {
font-size: $font-small; font-size: $font-medium;
} }
} }
@ -470,8 +467,8 @@ footer[role="contentinfo"]{
p{ p{
display: inline-block; display: inline-block;
a{ a{
min-width: 2rem; min-width: 1.5rem;
min-height: 2rem; min-height: 1.5rem;
margin-right: 0.5rem; margin-right: 0.5rem;
} }