corrections pour la page mot et liste articles

This commit is contained in:
chankalan 2024-03-28 17:57:43 +01:00
parent 7bb921474a
commit d3ed887275
2 changed files with 32 additions and 21 deletions

View File

@ -11,7 +11,18 @@
<aside>
[(#REM) Articles lies au mot-cle ]
<INCLURE{fond=inclure/liste/articles-resume,env,ajax,id_mot,titre=<:baz_april:articles_lies:>} />
<B_articles>
<div class="liste articles">#ANCRE_PAGINATION
<h2 class="h2"><:baz_april:articles_lies:></h2>
<ul class="liste-items">
<BOUCLE_articles(ARTICLES){id_mot}{lang}{!par date}{pagination 10}>
<li class="item"><INCLURE{fond=inclure/resume/article, id_article, env, h=h3, expose=#EXPOSE} /></li>
</BOUCLE_articles>
</ul>
[<nav class="pagination" role="pagination">(#PAGINATION{page})</nav>]
</div>
</B_articles>
[(#REM) Rubriques liees au mot-cle ]
<B_rubriques>

View File

@ -56,8 +56,8 @@
.pagination_ancre {
@include visuallyhidden;
padding:0 !important;
margin:0 !important;
padding: 0 !important;
margin: 0 !important;
}
.col .prev,
@ -69,31 +69,31 @@
.pagination, .aside .nav .pagination {
margin: 2em 0;
.pagination-items {
display:flex;
justify-content:center;
flex-wrap:wrap;
list-style:none;
display: flex;
justify-content: center;
flex-wrap: wrap;
list-style: none;
}
.pagination-item {
padding:0;
background:none;
margin:0 0.15em 0.5em;
padding: 0;
background: none;
margin: 0 0.15em 0.5em;
}
.pagination-items a, .pagination-items span.on {
display:inline-block;
text-decoration:none;
border:none;
padding:0.5em;
display: inline-block;
text-decoration: none;
border: none;
padding: 0.5em;
@include vendor-prefix(border-radius,0.25em);
font-size:1em;
font-weight:700;
line-height:1.5;
color:$couleur-lien;
font-size: 1em;
font-weight: 700;
line-height: 1.5;
color: $couleur-lien;
}
.pagination-items a:hover, .pagination-items span.on {
background:$grayLighter !important;
color:$couleur-lien-hover;
text-decoration:none;
background: $grayLighter !important;
color: $couleur-lien-hover;
text-decoration: none;
}
.tbc {
line-height: 2.4;