Browse Source

page recherche + fix css

master
chankalan 3 months ago
parent
commit
741d2e887a
  1. 2
      squelettes/content/recherche.html
  2. 2
      squelettes/inclure/liste/articles-recherche.html
  3. 9
      squelettes/scss/styles/_modeles.scss
  4. 30
      squelettes/scss/styles/_styles.scss

2
squelettes/content/recherche.html

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

2
squelettes/inclure/liste/articles-recherche.html

@ -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>

9
squelettes/scss/styles/_modeles.scss

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

30
squelettes/scss/styles/_styles.scss

@ -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);
}
}
}

Loading…
Cancel
Save