page recherche + fix css

This commit is contained in:
chankalan 2021-09-14 10:09:08 +02:00
parent 5844b5d9ab
commit 741d2e887a
4 changed files with 27 additions and 16 deletions

View File

@ -2,4 +2,4 @@
[<p class="soustitre">« (#RECHERCHE) »</p>]
<INCLURE{fond=inclure/recherche/articles, env, ajax} />
<INCLURE{fond=inclure/liste/articles-recherche, env, ajax} />

View File

@ -4,7 +4,7 @@
#ANCRE_PAGINATION
<h2 class="h2"><:articles:> (#GRAND_TOTAL)</h2>
<ul class="liste-items">
<BOUCLE_articles(ARTICLES) {recherche} {par points}{inverse} {pagination 20}>
<BOUCLE_articles(ARTICLES) {recherche} {par points}{inverse} {pagination 10}>
<li class="item"><INCLURE{fond=inclure/resume/article,id_article,recherche=#ENV{recherche},composition,env} /></li>
</BOUCLE_articles>
</ul>

View File

@ -47,3 +47,12 @@ a {
font-weight:700;
}
}
//
// audiosources
.audio-wrapper {
margin:0 auto;
}

View File

@ -151,21 +151,23 @@ a.back-to-top {
}
}
.flex {
@include flex;
flex-wrap:wrap;
justify-content:space-between;
}
.flex2 > * {
width:100%;
@include media($bp-small-up) {
max-width:calc(50% - 1rem);
@include media($bp-medium-up) {
.flex {
@include flex;
flex-wrap:wrap;
justify-content:space-between;
}
}
.flex3 > * {
width:100%;
@include media($bp-small-up) {
max-width:calc(33.33% - 1rem);
.flex2 > * {
width:100%;
@include media($bp-small-up) {
max-width:calc(50% - 1rem);
}
}
.flex3 > * {
width:100%;
@include media($bp-small-up) {
max-width:calc(33.33% - 1rem);
}
}
}