Browse Source

cohérence dans le traitement des images avec des plus grandes quand l'écran est plus petit, responsive asi plugin actif

master v2.3.7
touti 1 year ago
parent
commit
db7ef08629
  1. 6
      inclure/liste/articles.html
  2. 6
      inclure/liste/rubriques.html

6
inclure/liste/articles.html

@ -6,9 +6,9 @@
{!par date}
{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image"><a href="#URL_ARTICLE">(#LOGO_ARTICLE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
[<div class="image #EDIT{logo}"><a href="#URL_ARTICLE">(#LOGO_ARTICLE|extraire_attribut{src}
|image_recadre{870:620,-, focus}|image_reduire{870,620}
|adaptive_images{870,'(max-width: 980px) 100vw, (max-width: 1024px) 40vw, 40vw'})</a>
</div>]
<div class="content">
[<h2><a href="#URL_ARTICLE">(#TITRE)</a></h2>]

6
inclure/liste/rubriques.html

@ -1,9 +1,9 @@
<B_rubriques>#ANCRE_PAGINATION
<BOUCLE_rubriques(RUBRIQUES){par num titre, titre}{id_parent=#ID_RUBRIQUE}{!par date}{id_mot?}{pagination #ENV{parpage,10}}>
<section class="spotlight">
[<div class="image"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{760:540, -, focus}
|adaptive_images{360/550/760/980})</a>
[<div class="image #EDIT{logo}"><a href="#URL_RUBRIQUE">(#LOGO_RUBRIQUE|extraire_attribut{src}
|image_recadre{870:620,-, focus}|image_reduire{870,620}
|adaptive_images{870,'(max-width: 980px) 100vw, (max-width: 1024px) 40vw, 40vw'})</a>
</div>]
<div class="content">
[<h2><a href="#URL_RUBRIQUE">(#TITRE)</a></h2>]

Loading…
Cancel
Save