Est-ce qu'avec zpip et le principe de thèmes on peut mettre des "compositions" dans les themes ? Idem pour les fichiers mes_options.php, mes_fonctions.php, etc. ?
Est-ce que si c'est bon, on peut du coup se dire que c'est intéressant de développer un site sous forme de theme, si on veut s'appuyer sur zpip ?
Le 11 nov. 2009 à 23:16, cedric@yterium.com a écrit :
Author: cedric@yterium.com
Date: Wed Nov 11 23:16:51 2009
New Revision: 32837Log:
Theme Blue Pigment de styleshoutAdded:
_themes_/BluePigment1-0/
_themes_/BluePigment1-0/body-layout.html
_themes_/BluePigment1-0/habillage.css
_themes_/BluePigment1-0/images/
_themes_/BluePigment1-0/images/BluePigment.css
_themes_/BluePigment1-0/images/boxbg.jpg (with props)
_themes_/BluePigment1-0/images/clock.gif (with props)
_themes_/BluePigment1-0/images/comment.gif (with props)
_themes_/BluePigment1-0/images/firefox-gray.jpg (with props)
_themes_/BluePigment1-0/images/footer-dots.jpg (with props)
_themes_/BluePigment1-0/images/headerbg.jpg (with props)
_themes_/BluePigment1-0/images/menubg.jpg (with props)
_themes_/BluePigment1-0/images/nav-current.jpg (with props)
_themes_/BluePigment1-0/images/page.gif (with props)
_themes_/BluePigment1-0/images/rssfeed.gif (with props)
_themes_/BluePigment1-0/images/sidebarsep.jpg (with props)
_themes_/BluePigment1-0/images/sidebullet.gif (with props)
_themes_/BluePigment1-0/inc-theme-copyleft.html
_themes_/BluePigment1-0/index.html
_themes_/BluePigment1-0/plugin.xml
_themes_/BluePigment1-0/vignette.jpg (with props)Added: _themes_/BluePigment1-0/body-layout.html
--- _themes_/BluePigment1-0/body-layout.html (added)
+++ _themes_/BluePigment1-0/body-layout.html Wed Nov 11 23:16:51 2009
@@ -0,0 +1,54 @@
+<!-- wrap starts here -->
+<div id="wrap">
+
+ [(#REM) Entete de la page + titre du site ]
+ <!-- header starts here -->
+ <div id="header"><div id="header-content">
+ <INCLURE{fond=inclure/entete,env}>
+ <!--header ends-->
+ </div></div>
+
+ <!-- navigation starts here -->
+ <div id="nav-wrap">
+ <div id="nav">
+ <INCLURE{fond=inclure/barre-nav,env}>
+ </div>
+ </div>
+
+ <!-- content-wrap starts here -->
+ <div id="content-wrap"><div id="content">
+ <!-- sidebar starts -->
+ <div id="sidebar">
+
+ [(#REM) Menu de navigation laterale ]
+ <INCLURE{fond=navigation/#ENV{type},env}>
+
+ [(#REM) Menu de navigation laterale ]
+ <INCLURE{fond=extra/#ENV{type},env}>
+
+ <!-- sidebar ends -->
+ </div>
+
+ <!-- main starts -->
+ <div id="main">
+ [(#REM) Contenu principal : contenu de l'article ]
+ [(#REM) Appeler le fond contenu/article ou contenu/article-xxx si un modele est passe
+ en declinant pour chaque type ]
+ <INCLURE{fond=contenu/#ENV{type},env}>
+ <!-- main ends -->
+ </div>
+
+ <!-- content-wrap ends here -->
+ </div></div>
+
+ <!-- footer starts here-->
+ <div id="footer-wrap">
+ <div id="footer-bottom">
+ [(#REM) Pied de page ]
+ <INCLURE{fond=inclure/pied,env}>
+ <INCLURE{fond=inc-theme-copyleft}>
+ </div>
+ <!-- footer ends-->
+ </div>
+<!-- wrap ends here -->
+</div>
\ No newline at end of fileAdded: _themes_/BluePigment1-0/habillage.css
--- _themes_/BluePigment1-0/habillage.css (added)
+++ _themes_/BluePigment1-0/habillage.css Wed Nov 11 23:16:51 2009
@@ -0,0 +1,464 @@
+/* --------------------------------------------------------- */
+/* Feuille de style des squelettes par defaut pour SPIP 2.0 */
+/* --------------------------------------------------------- */
+/* ----------------------------------------------
+ Adaptation pour Spip-zen : Cedric Morin http://www.yterium.com
+ ------------------------------------------------ */
+
+/* Specificites SPIP */
+h3.spip {text-align:left;}
+
+#hierarchie { clear: both; margin-bottom: 2em; font-size: 0.90em; }
+#hierarchie, #hierarchie a { color: #333; }
+
+.cartouche { margin-bottom: 2em; }
+.cartouche .spip_logos { float: right; margin-left: 16px; margin-bottom: 4px; }
+.cartouche p { margin: 0; padding: 0; clear: left; }
+.surtitre, .soustitre { font-size: 0.90em; color: #333; text-transform: uppercase; letter-spacing: 0.10em; }
+.cartouche .surtitre { margin-bottom: 0.30em; }
+.cartouche .soustitre { margin-top: 0.50em; margin-bottom: 0.30em; }
+.cartouche .traductions { font-size: 0.90em; }
+
+.chapo { margin-bottom: 1.50em; line-height: 1.40em; font-weight: bold; color: #fff; }
+.texte { line-height: 1.60em; }
+.hyperlien { display: block; background: #1E89DC; padding: 0.50em 1em; font-weight: bold; border:1px solid #0065C6; }
+.ps, .notes { margin-bottom: 2em; line-height: 1.40em; }
+.notes { clear: both; font-size: 0.90em; }
+
+.published { border: 0; }
+
+/* Portfolio */
+.documents_portfolio { clear: both; margin: 2em auto; text-align: center; }
+.documents_portfolio .spip_logos { margin: 6px 3px 0 3px; padding: 4px; border: 1px solid #DDD; }
+.documents_portfolio a:hover .spip_logos { border-color: #F57900; }
+.documents_portfolio a.on .spip_logos { border-color: #8B6F92; }
+#document_actif { margin: 1em auto; }
+#document_actif img { padding: 4px; border: 1px solid #DDD; }
+
+
+/* Pagination */
+.pagination { clear: both; text-align: right; font-size: 0.95em; color: #333; }
+.pagination .on { font-weight: bold; color: #333; }
+
+.formulaire_recherche { margin-bottom: 2em; } /*Cf.: spip_formulaires.css*/
+
+.liste-items, .menu-liste {list-style:none;}
+
+/* Listes d'articles et extraits introductifs */
+.liste-items .item { clear: both; padding: 0.40em 0.20em; overflow:hidden;}
+.liste-items .item .h3 { margin: 0.30em 0; }
+.spip_logos { float: right; clear: right; margin: 0 0 4px 16px; }
+.liste-items .item .enclosures { float: right; text-align: right; max-width: 60%; margin: 0; }
+.liste-items .item .introduction { margin-top: 0.30em; line-height: 1.40em; }
+
+.liste-items { list-style:none; margin: 0; padding: .3em 0 1em 5px; font-family: 'Trebuchet MS', Tahoma, Sans-serif; }
+.liste-items .item { padding: 0; background: url(images/sidebullet.gif) no-repeat .3em .5em; }
+* html body .liste-items .item { height: 1%; }
+.liste-items .item { font-weight: bold; color: #E8F4FF; text-decoration: none; padding: .2em 0 .2em 30px; }
+.liste-items .item a { font-weight: bold; color: #E8F4FF; text-decoration: none; }
+.liste-items .item:hover { background:#0F7ACC url(images/sidebullet.gif) no-repeat .3em .5em; color: #FFF; }
+.liste-items .item:hover a { color: #FFF; }
+.liste-items .item { margin-left: 0px; }
+
+
+/* Habillage des forums
+---------------------------------------------- */
+.repondre { clear: both; margin-top: 0em; margin-right: 1em; text-align: right; font-weight: bold; }
+
+/* * Habillage des forums */
+ul.forum { display: block; clear: both; margin: 0; padding: 0; }
+ul.forum, ul.forum ul { list-style: none; }
+
+
+/* comments list */
+ul.forum,ul.forum ul {
+ margin: 12px 10px;
+ padding: 0;
+ border-style: solid;
+ border-color: #F0F0F0;
+ border-width: 1px 1px 0 1px;
+}
+ul.forum ul.spip {border:0;}
+
+ul.forum ul { margin:0; }
+.forum li {
+ margin: 0;
+ padding: 10px;
+ list-style: none;
+ border-bottom: 1px solid #F0F0F0;
+}
+.forum ul.spip li {border:0;padding:0;}
+.forum li cite {
+ display: block;
+ font-style: normal;
+ font-weight: bold;
+ padding: 7px;
+}
+.forum li cite img {
+ float: left;
+ margin-right: 10px;
+}
+.forum li cite .forum-chapo {
+ font-size: .8em;
+ font-weight: normal;
+}
+.forum li .forum-texte {
+ clear: both;
+ margin: 0; padding: 0;
+}
+.forum li.alt {
+ background: #f8f8f8
+}
+
+/* Habillage des petitions
+---------------------------------------------- */
+#signatures { clear: both; margin: 0 0 2em 0; padding: 0; background: none; }
+#signatures table { width: 100%; margin: 1em 0 0 0; }
+#signatures thead { text-align: center; color: #555; }
+#signatures td { padding: 0.50em; border: 2px solid #FEFEFE; vertical-align: top; }
+#signatures td.signature-date { background: #E4F0F0; text-align: center; white-space: nowrap; }
+#signatures td.signature-nom { background: #ECF4F4; text-align: center; }
+#signatures td.signature-nom small { display: block; }
+#signatures td.signature-message { background: #F4F8F8; }
+#signatures .formulaire_recherche { margin: 1em 0; text-align: right; } /*Cf.: spip_formulaires.css*/
+#signatures .formulaire_recherche input.text { width: 10em; text-align: left; } /*Cf.: spip_formulaires.css*/
+
+
+/* tables */
+tables.spip tr,tables.spip tr.row_odd,tables.spip tr.row_even {background:transparent;}
+/* ----------------- */
+/********************************************
+ AUTHOR: Erwin Aligam
+ WEBSITE: http://www.styleshout.com/
+ TEMPLATE NAME: BluePigment
+ TEMPLATE CODE: S-0016
+ VERSION: 1.0
+ DATE: July-31-2007
+ *******************************************/
+
+/********************************************
+ HTML ELEMENTS
+********************************************/
+
+/* top elements */
+* { padding: 0; margin: 0; border: 0; }
+
+body {
+ margin: 0; padding: 0;
+ font: normal 12px/1.7em verdana, tahoma, sans-serif;
+ text-align: center;
+ background: #001342 url(images/headerbg.jpg) repeat-x 0 0;
+ color: #F2F9FF;
+}
+
+/* links */
+a { color: #003366; background-color: inherit; text-decoration: none; }
+a:hover { color: #FAA34B; background-color: inherit; text-decoration: underline; border: none; }
+a.spip_in {color: #003366;}
+a.spip_out {color: #B1E100;}
+
+/* headers */
+h1, .h1, h2, .h2, h3, .h3 { font: bold 1em 'Trebuchet MS', Tahoma, Arial, Sans-serif; color: #fff; line-height:100%;}
+h1,.h1 { font-size: 2.5em; }
+h2,.h2 { font-size: 2em; text-transform:uppercase;}
+h3, .h3, h3.spip { font-size: 1.8em; line-height:100%;}
+
+p, h1,.h1, h2,.h2, h3,.h3 {
+ margin: 0;
+ padding: 10px 0;
+}
+
+ul.spip, ol.spip, ul.forum ul.spip {
+ margin: 10px 30px;
+ padding: 0 15px;
+}
+
+/* images */[... 1239 lines stripped ...]
_______________________________________________
Spip-zone-commit@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-zone-commit
-Nicolas
--
Nicolas HOIZEY
Blog : http://www.gasteroprod.com/
Photos : http://flic.kr/nicolas-hoizey/