Skip to content
Extraits de code Groupes Projets
Valider ef398693 rédigé par tetue's avatar tetue
Parcourir les fichiers

Simplifications de squelettes, uniformisation des liens hypertetextes et autres bricoles...

parent 5e82dcc3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -253,6 +253,7 @@ dist/modeles/pagination_page.html -text
dist/modeles/pagination_page_precedent_suivant.html -text
dist/modeles/pagination_precedent_suivant.html -text
dist/modeles/paginationitem.html -text
dist/out.gif -text
dist/polices/dustismo-license.txt -text svneol=unset#application/octet-stream
dist/polices/dustismo.ttf -text
dist/polices/dustismo_bold.ttf -text
......
......@@ -70,7 +70,8 @@
<ul>
<BOUCLE_documents_joints(DOCUMENTS) {id_article} {mode=document} {par num titre, date} {doublons}>
<li>
<div class="spip_doc_titre"><a href="#URL_DOCUMENT" title="<:bouton_telecharger:>" type="#MIME_TYPE">[(#TITRE|sinon{<:info_document:>})]</a> <small>(#TYPE_DOCUMENT[ - (#TAILLE|taille_en_octets)])</small></div>
<strong><a href="#URL_DOCUMENT" title="<:bouton_telecharger:>" type="#MIME_TYPE">[(#TITRE|sinon{<:info_document:>})]</a></strong>
<small>(#TYPE_DOCUMENT[ - (#TAILLE|taille_en_octets)])</small>
[<div class="spip_doc_descriptif">(#DESCRIPTIF)</div>]
</li>
</BOUCLE_documents_joints>
......@@ -88,8 +89,8 @@
[(#REM) Forum de l'article ]
<a href="#forum" name="forum" id="forum"></a>
[<span class="forum-repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)"><:repondre_article:></a></span>]
<INCLURE{fond=inc-forum}{id_article}>
[<p class="forum-repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)"><:repondre_article:></a></p>]
</div><!-- fin contenu -->
......
......@@ -30,8 +30,6 @@
[<div class="#EDIT{bio} texte">(#BIO)</div>]
#FORMULAIRE_ECRIRE_AUTEUR
[(#REM) Articles de l'auteur ]
<B_articles>
<div class="menu articles">
......@@ -49,6 +47,8 @@
</div>
</B_articles>
#FORMULAIRE_ECRIRE_AUTEUR
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
</div><!-- fin contenu -->
......
......@@ -37,8 +37,8 @@
[(#REM) Forum de la breve
NB : pour desactiver les forums de breve, supprimez simplement les lignes ci-dessous ]
<a href="#forum" name="forum" id="forum"></a>
[<span class="forum-repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)"><:repondre_breve:></a></span>]
<INCLURE{fond=inc-forum}{id_breve}>
[<p class="forum-repondre"><a href="(#PARAMETRES_FORUM|url_reponse_forum)"><:repondre_breve:></a></p>]
</div><!-- fin contenu -->
......
......@@ -77,21 +77,21 @@
<BOUCLE_forum_parent(FORUMS) {id_forum}>
<h2 class="titre"><a href="#URL_FORUM">#TITRE</a></h2>
<small>[(#DATE|affdate_jourcourt)][&nbsp;(#DATE|heures)][:(#DATE|minutes)][, <:par_auteur:> (#NOM)]</small>
[<div class="texte introduction">(#INTRODUCTION|lignes_longues)</div>]
[<div class="introduction">(#INTRODUCTION|lignes_longues)</div>]
</BOUCLE_forum_parent>
<BOUCLE_article(ARTICLES) {id_article}>
[(#LOGO_ARTICLE||image_reduire{150,100})]
<h2 class="titre"><a href="#URL_ARTICLE">#TITRE</a></h2>
<small>[(#DATE|affdate_jourcourt)][, <:par_auteur:> (#LESAUTEURS)]</small>
[<div class="texte introduction">(#INTRODUCTION)</div>]
[<div class="introduction">(#INTRODUCTION)</div>]
</BOUCLE_article>
<BOUCLE_breve(BREVES) {id_breve}>
[(#LOGO_BREVE||image_reduire{150,100})]
<h2 class="titre"><a href="#URL_BREVE">#TITRE</a></h2>
<small>[(#DATE|affdate_jourcourt)]</small>
[<div class="texte introduction">(#INTRODUCTION)</div>]
[<div class="introduction">(#INTRODUCTION)</div>]
</BOUCLE_breve>
<BOUCLE_rubrique(RUBRIQUES) {id_rubrique}>
......
......@@ -2,33 +2,10 @@
/* Feuilles de styles des squelettes par defaut pour SPIP 1.9 */
/* ----------------------------------------------------------- */
/* taille typo
* Base 100%
* -------------------------------------
* 20px 1.27em
* 19px 1.21em
* 18px 1.15em
* 17px 1.09em
* 16px 1.03em
* 15px 0.96em
* 14px 0.88em
* 13px 0.82em
* 12px 0.77em
* 11px 0.71em
* 10px 0.65em
* 9px 0.59em
* Attention : en dessous de 0.71em le texte devient illisible en text smallest sur MSIE
*/
/* Correction des styles HTML par defaut
---------------------------------------------- */
body { background: #FFF; margin: 1.5em; text-align: center; font-size: 1em; color: #333; }
img, table { margin: 0; padding: 0; border: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: normal; }
/* Disposition a l'ecran des blocs principaux
---------------------------------------------- */
body { background: #FFF; margin: 1.5em; text-align: center; }
#page { width: 48em; text-align: left; margin-left: auto; margin-right: auto; }
#conteneur { width: 100%; }
......@@ -59,6 +36,7 @@ h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-size: 1em; font-weight: nor
/* Typographie generale du site
---------------------------------------------- */
body { font-size: 1em; color: #333; }
/* Typo pour les menus et la navigation */
body, #navigation, .formulaire_spip { font-family: Verdana, Tahoma, Geneva, sans-serif; }
......@@ -67,18 +45,26 @@ body, #navigation, .formulaire_spip { font-family: Verdana, Tahoma, Geneva, sans
#contenu { font-family: "Trebuchet MS", Helvetica, sans-serif; }
/* Typo pour les citations et extraits introductifs */
q, blockquote, .introduction, h3.spip, .voirskel { font-family: Georgia, Times, serif; }
/*q, blockquote, .introduction, .spip_serif { font-family: Georgia, Times, serif; }*/
/* Correction des styles HTML par defaut
---------------------------------------------- */
img, table { margin: 0; padding: 0; border: none; }
/* Habillage du contenu
---------------------------------------------- */
/* Cartouche et titraille */
.cartouche { margin-bottom: 2em; }
h1 { font-size: 1.27em; font-weight: bold; color: #000; }
h2 { margin: 0; padding: .2em; background: #99CC66; font-size: 1em; text-transform: uppercase; }
h2, h2 a { color: #fff; }
#contenu .surtitre, #contenu .soustitre { font-size: 0.82em; }
h2 { margin: 0; padding: .2em; background: #666699; font-size: 1em; text-transform: uppercase; }
h2, h2 a, h2 a:hover { color: #fff; text-decoration: none; }
h3.spip { font-weight: bold; border-bottom: 2px solid #99CC66; color: #99CC66; font-family: Georgia, Times, serif; }
.surtitre, .soustitre { font-size: 0.82em; text-transform: uppercase; color: #666; }
.cartouche { margin-bottom: 2em; }
.cartouche .spip_logos { float: right; margin-left: 16px; margin-bottom: 16px; }
.cartouche p { margin: 0; padding: 0; clear: left; }
.cartouche small { font-size: 0.71em; }
......@@ -88,21 +74,28 @@ h2, h2 a { color: #fff; }
/* Mise en forme des textes du contenu */
.chapo { margin-bottom: 1.5em; font-weight: bold; line-height: 1.4em; }
.texte { color: #000; font-size: 0.96em; line-height: 1.4em; }
.lien { font-size: 0.82em; font-weight: bold; }
.ps, .notes { margin-bottom: 2em; }
.ps { font-size: 0.82em; }
.notes { clear: both; font-size: 0.77em; }
.lien { background: #EEE; margin: 1em; margin-bottom: 1.5em; padding: 0.82em; border: 1px solid #CCC; font-size: 0.82em; font-weight: bold; }
/* Citations, code et poesie */
blockquote { margin: 1em 3em; padding-left: 1em; padding-right: 1em; border-left: 4px solid #CCC; }
.texte { color: #000; font-size: 0.96em; }
.spip_poesie { margin: 1em 3em; padding-left: 1em; border-left: 1px solid #CCC; font-family: Garamond, Georgia, Times, serif; }
.spip_poesie div { text-indent: -60px; margin-left: 60px; }
.ps, .notes { margin-top: 1.4em; padding-top: 2px; }
.ps { font-size: 0.82em; }
.notes { clear: both; font-size: 0.77em; }
.spip_code, .spip_cadre { font-family: "Courier New", Courier, mono; font-style: normal; font-size: 1.1em; color: #009; }
.spip_surligne { background: #FF6; }
/* Habillage des menus
---------------------------------------------- */
/* Habillage general des menus de navigation */
.menu { margin-bottom: 2em; text-align: left; }
.menu { clear: both; margin-bottom: 2em; text-align: left; }
#contenu .menu { font-size: 0.82em; }
#navigation .menu { min-width: 10em; font-size: 0.77em; }
#navigation .menu a { text-decoration: none; }
......@@ -119,27 +112,18 @@ h2, h2 a { color: #fff; }
/* Listes d'articles et extraits introductifs */
.articles ul {}
.articles li { margin-bottom: 1em; clear: both; }
.articles li .titre { font-weight: bold; }
.articles li .spip_logos { float: right; margin-left: 16px; margin-bottom: 16px; clear: right; }
.articles li p { margin: 0; padding: 0; }
.articles li .enclosures { float: right; text-align: right; max-width: 60%; margin: 0; }
.articles li small { display: block; }
.articles li .introduction { margin-top: 5px; margin-bottom: 2em; line-height: 1.4em; }
.articles ul li { clear: both; }
.articles ul li .titre { font-weight: bold; border: 0; }
.articles ul li .spip_logos { float: right; clear: right; margin: 0 0 4px 16px; }
.articles ul li p { margin: 0; padding: 0; }
.articles ul li .enclosures { float: right; text-align: right; max-width: 60%; margin: 0; }
.articles ul li small { display: block; }
.articles ul li .introduction { margin-top: .5em; line-height: 1.4em; }
/* Portfolio */
#documents_portfolio { clear: both; margin-top: 1.4em; padding-top: 2px; }
#documents_portfolio { clear: both; margin-top: 1.4em; margin-bottom: 2em; }
#document_actif { margin-top: 1em; }
/* Listes de documents joints (a un article ou une rubrique) */
#documents_joints { margin-top: 1.4em; padding-top: 2px; }
#documents_joints ul {}
#documents_joints li { margin-bottom: 0.4em; }
#documents_joints li .spip_doc_titre {}
#documents_joints li .spip_doc_titre small { font-weight: normal; }
#documents_joints li .spip_doc_descriptif {}
/* Habillage des formulaires
---------------------------------------------- */
.formulaire_spip { text-align: left; font-size: 0.77em; }
......@@ -175,7 +159,7 @@ ul.choix_mots label { display: inline; }
/* Habillage des forums
---------------------------------------------- */
.forum-repondre, .forum-decompte { clear: both; margin-top: 2.5em; padding-top: 2px; font-size: 0.88em; font-weight: bold; }
.forum-repondre { clear: both; margin-top: 2.5em; padding-right: 1em; text-align: right; font-size: 0.88em; font-weight: bold; }
/* * Habillage des forums */
ul.forum { display: block; clear: both; margin: 0; padding: 0; }
......@@ -215,8 +199,7 @@ ul ul ul ul ul .forum-chapo { background: #FFF; }
/* Couleurs des liens
---------------------------------------------- */
a { color: #900; }
a { color: #604A7F; }
a.spip_note {} /* liens vers notes de bas de page */
a.spip_in {} /* liens internes */
a.spip_out {} /* liens sortants */
......@@ -225,9 +208,9 @@ a.spip_glossaire {} /* liens vers encyclopedie */
.spip_out, .spip_url, .spip_glossaire { padding-right: 12px; background: url(out.gif) no-repeat right; }
.on { font-weight: bold; color: #000; } /* liens exposes */
.on { font-weight: bold; } /* liens exposes */
a:hover { text-decoration: underline; color: #C30; }
a:hover { text-decoration: underline; color: #F57900; }
/* menu langues */
#menu_langues { vertical-align: top; max-height: 24px; margin-bottom: 5px; width: 120px; }
\ No newline at end of file
......@@ -46,8 +46,8 @@ h1 { font-size: 1.27em; font-weight: bold; }
h3.spip { text-align: center; font-weight: bold; margin: 1.4em; font-size: 1.15em; }
.ps, .notes, .forum-decompte, #documents_portfolio, #documents_joints { margin-top: 1.4em; padding-top: 0.2em; border-top: 2pt solid #CCC; font-size: 0.82em; }
.ps h2, .notes h2, .forum-decompte, #documents_joints h2 { font-weight: bold; clear: both; }
.ps, .notes, #documents_portfolio, #documents_joints { margin-top: 1.4em; padding-top: 0.2em; border-top: 2pt solid #CCC; font-size: 0.82em; }
.ps h2, .notes h2, #documents_joints h2 { font-weight: bold; clear: both; }
/* Citations, tableaux, etc...
---------------------------------------------- */
......
[(#PARAMETRES_FORUM|?) Cette balise (invisible) provoque le recalcul du forum la premiere fois qu'un message est poste (cf. inc/invalideur). ]
[(#REM) Nombre total de messages ]
<BOUCLE_decompte(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat}></BOUCLE_decompte>[<h2 class="forum-decompte">(#TOTAL_BOUCLE|>{0}|?{#TOTAL_BOUCLE,''})
<BOUCLE_decompte(FORUMS) {id_rubrique ?}{id_article ?}{id_breve ?}{id_syndic ?} {plat}></BOUCLE_decompte>[<h2>(#TOTAL_BOUCLE|>{0}|?{#TOTAL_BOUCLE,''})
[(#TOTAL_BOUCLE|=={1}|?{<:message:>,<:messages_forum:>})]</h2>]<//B_decompte>
[(#REM) Messages du forum ]
......@@ -26,7 +26,7 @@
<B_forums_fils>
<ul>
<BOUCLE_forums_fils(FORUMS){id_parent}{par date}>
<BOUCLE_forums_fils(FORUMS) {id_parent} {par date}>
<li>
<div class="forum-message">
......@@ -41,7 +41,7 @@
</div>
</div>
<BOUCLE_Forums_Boucle(boucle_forums_fils)></BOUCLE_Forums_Boucle>
<BOUCLE_forums_boucle(boucle_forums_fils)></BOUCLE_forums_boucle>
</li>
......
......@@ -47,55 +47,53 @@
</div>
</B_articles>
[(#REM) Rubriques liees au mot-cle ]
<B_rubriques>
<div class="menu rubriques">
<h2><:rubriques:></h2>
<ul>
<BOUCLE_rubriques(RUBRIQUES) {id_mot} {par titre}>
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
</BOUCLE_rubriques>
</ul>
</div>
</B_rubriques>
[(#REM) Breves liees au mot-cle ]
<B_breves>
<div class="menu breves">
<h2><:breves:></h2>
<ul>
<BOUCLE_breves(BREVES) {id_mot} {par titre}>
<li><a href="#URL_BREVE">#TITRE</a></li>
</BOUCLE_breves>
</ul>
</div>
</B_breves>
[(#REM) Liens des forums ]
<B_forums_liens>
<div class="menu forums">
<h2><:messages_forum:></h2>
<ul>
<BOUCLE_forums_liens(FORUMS) {id_mot} {plat} {par date}{inverse}>
<li>[(#DATE|affdate_court) &ndash; ]<a href="#URL_FORUM">#TITRE</a></li>
</BOUCLE_forums_liens>
</ul>
</div>
</B_forums_liens>
[(#REM) Sites web lies au mot-cle ]
<B_sites>
<div class="menu syndic">
<h2><:sites_web:></h2>
<ul>
<BOUCLE_sites(SITES) {id_mot} {par nom_site}>
<li><a href="[(#ID_SYNDIC|generer_url_site)]">#NOM_SITE</a></li>
</BOUCLE_sites>
</ul>
</div>
</B_sites>
[(#REM) Rubriques liees au mot-cle ]
<B_rubriques>
<div class="menu rubriques">
<h2><:rubriques:></h2>
<ul>
<BOUCLE_rubriques(RUBRIQUES) {id_mot} {par titre}>
<li><a href="#URL_RUBRIQUE">#TITRE</a></li>
</BOUCLE_rubriques>
</ul>
</div>
</B_rubriques>
[(#REM) Breves liees au mot-cle ]
<B_breves>
<div class="menu breves">
<h2><:breves:></h2>
<ul>
<BOUCLE_breves(BREVES) {id_mot} {par titre}>
<li><a href="#URL_BREVE">#TITRE</a></li>
</BOUCLE_breves>
</ul>
</div>
</B_breves>
[(#REM) Liens des forums ]
<B_forums_liens>
<div class="menu forums">
<h2><:messages_forum:></h2>
<ul>
<BOUCLE_forums_liens(FORUMS) {id_mot} {plat} {par date}{inverse}>
<li>[(#DATE|affdate_court) &ndash; ]<a href="#URL_FORUM">[(#TEXTE|couper{80})]</a></li>
</BOUCLE_forums_liens>
</ul>
</div>
</B_forums_liens>
[(#REM) Sites web lies au mot-cle ]
<B_sites>
<div class="menu syndic">
<h2><:sites_web:></h2>
<ul>
<BOUCLE_sites(SITES) {id_mot} {par nom_site}>
<li><a href="[(#ID_SYNDIC|generer_url_site)]">#NOM_SITE</a></li>
</BOUCLE_sites>
</ul>
</div>
</B_sites>
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
......
dist/out.gif

136 octets

......@@ -93,7 +93,7 @@
<h2><:messages_forum:></h2>
<ul>
<BOUCLE_messages(FORUMS) {recherche} {par points}{inverse} {pagination 5}>
<li>[(#DATE|affdate_court) : ]<a href="#URL_FORUM">#TITRE</a></li>
<li>[(#DATE|affdate_court) &ndash; ]<a href="#URL_FORUM">[(#TEXTE|couper{80})]</a></li>
</BOUCLE_messages>
</ul>
[<p class="pagination">(#PAGINATION)</p>]
......
......@@ -86,7 +86,8 @@
<ul>
<BOUCLE_documents_joints(DOCUMENTS) {id_rubrique} {mode=document} {par num titre, date} {doublons}>
<li>
<div class="spip_doc_titre"><a href="#URL_DOCUMENT" title="<:bouton_telecharger:>" type="#MIME_TYPE">[(#TITRE|sinon{<:info_document:>})]</a> <small>(#TYPE_DOCUMENT[ - (#TAILLE|taille_en_octets)])</small></div>
<strong><a href="#URL_DOCUMENT" title="<:bouton_telecharger:>" type="#MIME_TYPE">[(#TITRE|sinon{<:info_document:>})]</a></strong>
<small>(#TYPE_DOCUMENT[ - (#TAILLE|taille_en_octets)])</small>
[<div class="spip_doc_descriptif">(#DESCRIPTIF)</div>]
</li>
</BOUCLE_documents_joints>
......
......@@ -33,11 +33,9 @@
<BOUCLE_articles_recents(ARTICLES) {par date}{inverse} {pagination 5}>
<li>
[(#LOGO_ARTICLE_RUBRIQUE|#URL_ARTICLE|image_reduire{150,100})]
[<p class="surtitre">(#SURTITRE)</p>]
<h3 class="titre"><a href="#URL_ARTICLE">#TITRE</a></h3>
[<p class="soustitre">(#SOUSTITRE)</p>]
<small>[(#DATE|affdate_jourcourt)][, <:par_auteur:> (#LESAUTEURS)]</small>
[<div class="#EDIT{intro} texte introduction">(#INTRODUCTION)</div>]
[<div class="#EDIT{intro} introduction">(#INTRODUCTION)</div>]
<br class="nettoyeur" />
</li>
</BOUCLE_articles_recents>
......@@ -65,7 +63,7 @@
<p><:messages_recents:></p>
<ul>
<BOUCLE_forums_liens(FORUMS) {plat} {par date}{inverse} {0,8}>
<li>[(#DATE|affdate_court) &ndash; ]<a href="#URL_FORUM">#TITRE</a></li>
<li>[(#DATE|affdate_court) &ndash; ]<a href="#URL_FORUM">[(#TEXTE|couper{80})]</a></li>
</BOUCLE_forums_liens>
</ul>
</div>
......
......@@ -7,10 +7,10 @@
/* Raccourcis typographiques de SPIP */
.spip_puce { list-style-position: outside; }
h3.spip { text-align: center; margin-top: 2em; margin-bottom: 1.4em; font-size: 1.15em; font-weight: bold; }
/*h3.spip { text-align: center; margin-top: 2em; margin-bottom: 1.4em; font-size: 1.15em; font-weight: bold; }*/
/* Paragraphes, citations, code et poesie */
blockquote.spip, .spip_serif { font-family: Georgia, Times, serif; }
/*blockquote.spip, .spip_serif { font-family: Georgia, Times, serif; }
blockquote.spip { margin: 1em; padding-left: 1em; padding-right: 1em; border: 1px dotted; }
......@@ -20,11 +20,11 @@ blockquote.spip { margin: 1em; padding-left: 1em; padding-right: 1em; border: 1p
.spip_code, .spip_cadre { font-family: monospace; font-style: normal; font-size: 1.2em; }
.spip_cadre { width: 99%; border: 1px inset; }
.spip_surligne { background: #FF6; }
.spip_surligne { background: #FF6; }*/
/* Tableaux */
table.spip { margin: auto; margin-bottom: 1em; border: 1px solid; border-collapse: collapse; }
table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin: auto; padding: 3px; font-weight: bold; }
table.spip { margin-bottom: 1em; border-collapse: collapse; }
table.spip caption { caption-side: top; padding: 3px; text-align: center; font-weight: bold; }
table.spip tr.row_first { background: #FFC; }
table.spip tr.row_odd { background: #DDD; }
table.spip tr.row_even { background: #EEE; }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter