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