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> <aside>
[(#REM) Articles lies au mot-cle ] [(#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 ] [(#REM) Rubriques liees au mot-cle ]
<B_rubriques> <B_rubriques>

View File

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