Commit a07bffb5 authored by JM Oupah's avatar JM Oupah

Portfolio "normal" (= celui de zpip)

parent 46a21fff
......@@ -38,6 +38,10 @@ ul.menu-items li.item {padding:0.2em;}
.diaporama figure {margin:0;}
/* *** Les GALERIE *** */
/* portofolio (spip) */
ul.portfolio li {text-align:center;}
ul.portfolio li {display:inline-block;margin:0.5em;width:100px;}
/* portofolio simple */
ul.portfolio-simple {display:flex;}
ul.portfolio-simple li {position:relative;width:50%;}
......
......@@ -21,26 +21,25 @@
<B_documents_portfolio>
<div class="liste images documents_portfolio">
[<h2 class="h2">(#ENV{titre,Galerie})</h2>]
<div class="liste-items">
<ul class="liste-items galerie portfolio">
<BOUCLE_documents_portfolio(DOCUMENTS)
{id_article?}
{id_rubrique?}
{objet?}
{id_objet?}
{extension IN png,jpg,gif}
{par num titre, date}
{par rang_lien, num titre}
{vu=non}
{doublons documents}
>[
<a href="(#URL_DOCUMENT)"
<li class="item"><a href="(#URL_DOCUMENT)"
type="#MIME_TYPE"
rel="documents_portfolio[-a(#ID_ARTICLE)][-r(#ID_RUBRIQUE)]"
[title="(#TITRE|attribut_html|couper{80})"]
>[(#FICHIER
|image_reduire{#ENV{largeur,0}, #ENV{hauteur,100}}
|inserer_attribut{class,spip_logos}
|inserer_attribut{alt,[(#TITRE|sinon{#FICHIER|basename}|attribut_html|couper{80})]})]</a>
>[(#FICHIER|image_recadre{1:1, -, focus}
|image_responsive{100}
|inserer_attribut{alt,[(#TITRE|sinon{#FICHIER|basename}|attribut_html|couper{80})]})]</a></li>
]</BOUCLE_documents_portfolio>
</div>
</ul>
</div>
</B_documents_portfolio>
<paquet
prefix="zcm"
categorie="squelette"
version="0.1.5"
version="0.2.0"
etat="dev"
compatibilite="[3.2.0;3.2.*]"
logo="prive/themes/spip/images/zcm-32.png"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment