source: spip-zone/_squelettes_/sarkaspip3/css/elements.css.html @ 28681

Last change on this file since 28681 was 28681, checked in by sarkarchimed@…, 11 years ago

Une petite factorisation ...

  • Property svn:eol-style set to native
File size: 19.7 KB
Line 
1/* ELEMENTS.CSS                                                         */
2/* Cette feuille contient:                                              */
3/* - les styles de la partie centrale du site                           */
4/* -------------------------------------------------------------------- */
5
6/* Styles generiques des pages de type plan
7   ----------------------------------------
8        - Plan de site
9        - Agenda annuel
10*/
11.plan { margin-top: 30px;}
12.plan h2 {display: inline; font-weight: bold; margin: 0.5em 0 0; font-size: 1.9em; line-height: 1.4em;}
13.plan h2 a { padding-left:15px;}
14.plan h2 a:hover {[background-image: url((#CHEMIN{images/puce0.jpg})); ]background-position: left center; background-repeat: no-repeat; text-decoration: none;}
15.plan .objet_date {color: #990000;}
16.plan ul { list-style-type: none; padding: 0 0 0 20px; margin: 0;}
17.plan li {line-height: 1.4em; padding-left:10px;}
18.plan a.objet_titre{color: #6262A4; padding: 0 0 0 10px; font-size: 1.1em;}
19.plan a.objet_titre:hover {[background-image: url((#CHEMIN{images/puce-n0.gif})); ]background-position: left center; background-repeat: no-repeat; text-decoration: underline;}
20.plan a img {float:right; margin: 0 0 5px 5px; border: 4px solid  #CONFIG{sarkaspip_styles/ca_planche_logo, #eeeeee};}
21.plan a:hover img {border: 4px solid #CONFIG{sarkaspip_styles/ch_planche_logo, #6262a4};}
22
23/* -------------------------------------------------------------------- */
24/*      Styles des titres de page                                           */
25/* -------------------------------------------------------------------- */
26/* Titre generique */
27.titre h1 {font-weight: bold; margin: 0 0 5px; padding-bottom: 5px;
28        color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};
29        border-bottom: 2px solid #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
30/* Boutons de fonction positionnes a droite du titre */
31a.fonction {display: block; float: right; width: 24px; height: 24px; margin-left: 10px;}
32a.fonction.repondre_commentaire {width: 16px; height: 16px; margin-right: 0;[ background-image: url((#CHEMIN{images/commentaire_repondre.gif})); ]background-repeat: no-repeat;}
33#imprimer {[background-image: url((#CHEMIN{images/article_imprimer.gif})); ]background-repeat: no-repeat;}
34#commenter {[background-image: url((#CHEMIN{images/article_commenter.gif})); ]background-repeat: no-repeat;}
35#signer {[background-image: url((#CHEMIN{images/article_commenter.gif})); ]background-repeat: no-repeat;}
36#creer_pdf {[background-image: url((#CHEMIN{images/article_pdf.gif})); ]background-repeat: no-repeat;}
37#voir_commentaires {[background-image: url((#CHEMIN{images/article_commentaires.gif})); ]background-repeat: no-repeat;}
38#voir_signatures {[background-image: url((#CHEMIN{images/article_signatures.gif})); ]background-repeat: no-repeat;}
39#recommander {[background-image: url((#CHEMIN{images/article_recommander.gif})); ]background-repeat: no-repeat;}
40a.fonction.revenir_haut_page {[background-image: url((#CHEMIN{images/arrow_to_top.gif})); ]background-repeat: no-repeat;}
41
42
43/* -------------------------------------------------------------------- */
44/*      Styles du cartouche (auteurs, date, popularite, notation)           */
45/* -------------------------------------------------------------------- */
46.cartouche { font-weight: normal; font-size: 1.1em; line-height: 1.1em; text-align: right; margin: 0 0 30px 10px; padding: 0; float: right;
47        color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
48.complements {font-weight: normal; margin: 10px 0 5px; font-size: 1.1em;}
49
50/* -------------------------------------------------------------------- */
51/*      Styles de la description (champs editoriaux)                        */
52/* -------------------------------------------------------------------- */
53.description {margin: 10px 0 30px; font-size: 1.2em; line-height: 1em;}
54.description li {margin-left: 10px;     line-height: 1.4em;}
55.description p {font-size: 1em;}
56.description .soustitre {float: left; line-height: 1em; font-size: 1.4em; font-weight: bold; font-style: italic; margin: 0; padding: 0;
57         color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
58.description .chapo {margin: 0 0 30px; font-style: italic; color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
59.description .texte {width:100%;}
60.description .lien_site {margin: 10px 0 20px; padding-top: 10px; font-size: 1em;
61        border-top: 1px dotted #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
62.description .ps {margin: 10px 0 20px; padding-top: 10px; font-size: 1em;
63        border-top: 1px dotted #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
64.description .notes {margin: 10px 0 20px; padding-top: 10px; font-size: 1em;
65        border-top: 1px dotted #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
66.description .filles {margin: 10px 0 20px; padding-top: 10px; font-size: 1em;
67        border-top: 1px dotted #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
68.description .filles a {padding: 0 0 0 15px; [background: transparent url((#CHEMIN{images/puce0.jpg})) left center no-repeat; ]text-decoration: none;}
69.description .filles a:hover {[background: transparent url((#CHEMIN{images/puce1.jpg})) left center no-repeat; ];text-decoration: none;}
70
71#minisommaire.description{margin:0}
72#minisommaire.description .filles{width : auto;font-size :1em;line-height:1.1em;float:right;border-top:none;margin:0;padding:0}
73#minisommaire.description .filles h2{width : auto;}
74
75/* -------------------------------------------------------------------- */
76/*      Styles des blocs type portfolio (images, documents joints, breves)  */
77/* -------------------------------------------------------------------- */
78/* Styles generiques */
79.portfolio {clear: both; margin-bottom: 30px; padding-top: 2px;width:100%;}
80.portfolio h2 {font-size: 1.9em; line-height: 1em; font-weight: bold; margin: 0 0 10px; padding: 0 0 5px 20px;
81        color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};
82        border-bottom: 2px solid #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
83/* Portfolio des images jointes */
84.portfolio a img {margin: 10px 10px; border: 4px solid #CONFIG{sarkaspip_styles/ca_portfolio, #eeeeee};}
85.portfolio a:hover img {border-color: #CONFIG{sarkaspip_styles/ch_portfolio, #6262a4};}
86/* Portfolio des documents jointes */
87.portfolio dl {[width: (#EVAL{_SARKASPIP_CONFIG_LARGEUR_DOCUMENT})px; ]height: 11em; text-align: center; margin: 10px; float: left;}
88.portfolio dt {[width: (#EVAL{_SARKASPIP_CONFIG_LARGEUR_DOCUMENT})px; ]font-weight: bold;}
89.portfolio dt a img {border: 0;}
90.portfolio dt a:hover img {border: 0;}
91.portfolio dd {[width: (#EVAL{_SARKASPIP_CONFIG_LARGEUR_DOCUMENT})px; ]margin: 0; padding: 0;}
92
93/* -------------------------------------------------------------------- */
94/*      Styles des blocs de type commentaires                               */
95/* -------------------------------------------------------------------- */
96.commentaires {padding: 0 0 10px 0; margin: 0 0 30px 0; clear: both;}
97.commentaires h2 {font-size: 1.9em; line-height: 1.2em; font-weight: bold; padding: 0 0 5px 20px; margin: 0;
98        [background: url((#CHEMIN{images/commentaires.gif})) top left no-repeat;]
99        color: #CONFIG{sarkaspip_styles/fg_commentaire, #6262a4};
100        border-bottom: 2px solid #CONFIG{sarkaspip_styles/fg_commentaire, #6262a4};}
101.commentaires .message {margin: 0; padding: 10px 0 10px;
102        background: #CONFIG{sarkaspip_styles/bg_commentaire, transparent}[ url((#CHEMIN{images/bg_commentaire#CONFIG{sarkaspip_styles/bi_extension_commentaire, .gif}}))][ (#CONFIG{sarkaspip_styles/bi_proprietes_commentaire})];
103        border-top: 1px dotted #CONFIG{sarkaspip_styles/ca_commentaire, #6262a4};}
104.commentaires .message:hover {background: #CONFIG{sarkaspip_styles/hb_commentaire, #f0f0fa};}
105.commentaires #co_n1.message {border-top: 0; padding: 20px 0 10px;}
106.commentaires .message .titre {font-size: 1.2em; font-weight:bold; margin:0 0 10px 50px;}
107.commentaires .message .gravatar {float:left}
108.commentaires .message .cartouche_simple {margin-left: 50px; font-size: 1.1em;
109        color: #CONFIG{sarkaspip_styles/fg_commentaire, #6262a4};}
110.commentaires .message .texte{margin-left : 50px; padding-top: 5px;font-size:1.2em;line-height:1.1em;}
111
112/* -------------------------------------------------------------------- */
113/*      Styles des blocs de type extraits                                   */
114/* -------------------------------------------------------------------- */
115.extrait {margin: 0 0 20px;     padding: 0 0 10px 15px;
116        background: #CONFIG{sarkaspip_styles/bg_extrait, transparent}[ url((#CHEMIN{images/bg_extrait#CONFIG{sarkaspip_styles/bi_extension_extrait, .gif}}))][ (#CONFIG{sarkaspip_styles/bi_proprietes_extrait})];
117        border-left: 5px solid #CONFIG{sarkaspip_styles/ca_extrait, #6262a4};
118        border-bottom: 1px solid #CONFIG{sarkaspip_styles/ca_extrait, #6262a4};}
119.extrait h3 a.titre {display: block; padding-top: 5px; margin: 0; font-size: 1.6em; font-weight: bold; line-height:1em; text-decoration: none;
120        color: #CONFIG{sarkaspip_styles/fg_extrait, #6262a4};}
121.extrait h3 a.titre:hover {color: #CONFIG{sarkaspip_styles/ho_extrait, #6262a4}; text-decoration: #CONFIG{sarkaspip_styles/td_extrait, underline};}
122.extrait .cartouche {color: #CONFIG{sarkaspip_styles/fg_extrait, #6262a4};}
123.extrait .lire_suite {text-align: left; margin: 10px 0 0; font-size: 1.1em;}
124.extrait .cartouche a, .extrait .complements a  {color: #CONFIG{sarkaspip_styles/fg_extrait_lien, #990000}; text-decoration: none;}
125.extrait .lire_suite a {padding: 0 0 5px 20px;[ background: url((#CHEMIN{images/lire_suite.gif})) left center no-repeat;]
126        color: #CONFIG{sarkaspip_styles/fg_extrait_lien, #990000}; text-decoration: none;}
127.extrait .cartouche a:hover, .extrait .complements a:hover, .extrait .lire_suite a:hover {
128        color: #CONFIG{sarkaspip_styles/ho_extrait_lien, #990000}; text-decoration: #CONFIG{sarkaspip_styles/td_extrait_lien, underline};}
129.extrait .introduction {margin: 10px 0 0; font-size:1.2em; line-height : 1.4em;}
130
131/* -------------------------------------------------------------------- */
132/*      Styles des blocs de type planches                                   */
133/* -------------------------------------------------------------------- */
134.planche {margin-top: 30px;}
135.planche h2 {font-size: 1.9em; line-height: 1em; font-weight: bold; margin: 0 0 10px; padding: 0 0 5px 20px;
136        color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};
137        border-bottom: 2px solid #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
138.planche ul {margin: 0; padding: 0; list-style-type: none;}
139.planche li {width: 45%; min-height: 14em; float: left; margin: 0 0 20px; padding: 10px 0;
140        background: #CONFIG{sarkaspip_styles/bg_planche, transparent}[ url((#CHEMIN{images/bg_planche#CONFIG{sarkaspip_styles/bi_extension_planche, .gif}}))][ (#CONFIG{sarkaspip_styles/bi_proprietes_planche})];
141        border-top: 1px dotted #CONFIG{sarkaspip_styles/ca_planche, #6262a4};}
142.planche li.n1 {border-top: 0;}
143.planche li.gauche {margin-right: 20px;}
144.planche li.droite {margin-left: 20px; float: right;}
145.planche h3 a.titre {display: block; padding-top: 5px; margin: 0; font-size: 1.6em; font-weight: bold; line-height:1em; text-decoration: none;
146        color: #CONFIG{sarkaspip_styles/fg_planche, #6262a4};}
147.planche h3 a.titre:hover {color: #CONFIG{sarkaspip_styles/ho_planche, #6262a4}; text-decoration: #CONFIG{sarkaspip_styles/td_planche, underline};}
148.planche .complements {font-weight: normal; margin: 10px 0 5px; font-size: 1.1em;}
149.planche .cartouche {text-align: left; margin: 0; float: none;}
150.planche .cartouche a, .planche .complements a  {color: #CONFIG{sarkaspip_styles/fg_planche_lien, #990000}; text-decoration: none;}
151.planche .cartouche a:hover, .planche .complements a:hover {
152        color: #CONFIG{sarkaspip_styles/ho_planche_lien, #990000}; text-decoration: #CONFIG{sarkaspip_styles/td_planche_lien, underline};}
153.planche a img {float:right; margin: 0 0 5px 5px; border: 4px solid  #CONFIG{sarkaspip_styles/ca_planche_logo, #eeeeee};}
154.planche a:hover img {border: 4px solid #CONFIG{sarkaspip_styles/ch_planche_logo, #6262a4};}
155.planche .introduction {margin: 10px 0 0;}
156
157/* -------------------------------------------------------------------- */
158/*      Styles specifiques a chaque page                                    */
159/* -------------------------------------------------------------------- */
160/* Style specifique a la notation (plugin Notation) */
161.description .plugin {margin: 10px 0 0px; padding-top: 10px; font-size: 1em; line-height: 1.6em;
162        border-top: 1px dotted #CONFIG{sarkaspip_styles/fg_description, #6262a4};
163        color: #CONFIG{sarkaspip_styles/fg_description, #6262a4};}
164.description .notation div.star-rating a {border: 0; text-align: left;}
165
166/* Style specifique aux bookmarks sur les reseaux sociaux (plugin Social Tags) */
167.description .socialtags {margin: 0; padding: 0;}
168
169/* Titres de blocs */
170#images_jointes.portfolio h2 {[background: url((#CHEMIN{images/portfolio_images.gif})) top left no-repeat;]}
171#documents_joints.portfolio h2 {[background: url((#CHEMIN{images/portfolio_documents.gif})) top left no-repeat;]}
172#articles_recents.portfolio h2,
173#article_commentaire.portfolio h2,
174#articles_auteur.portfolio h2,
175#articles_rubrique.portfolio h2 {[background: url((#CHEMIN{images/liste_articles.gif})) top left no-repeat;]}
176#breves_site.portfolio h2 {[background: url((#CHEMIN{images/liste_breves.gif})) top left no-repeat;]}
177#sites_site.portfolio h2 {[background: url((#CHEMIN{images/liste_sites.gif})) top left no-repeat;]}
178.portfolio h2.jalon {[background: url((#CHEMIN{images/liste_tickets.gif})) top left no-repeat;]}
179
180/* Page rubrique */
181.rubrique {margin: 0; padding-bottom: 10px;}
182.rubrique .titre {}
183.rubrique .titre h1 {margin: 0 0 35px;}
184
185/* Page article */
186.article {margin: 0; padding-bottom: 10px;}
187.article .cartouche {font-size: 0.92em}
188/* -- Styles des petitions de l'article */
189#signatures.commentaires h2 {[background: url((#CHEMIN{images/liste_signatures.gif})) top left no-repeat;]}
190#signatures.commentaires table{width: 100%; margin-top: 10px; font-size: 1.2em;}
191
192/* Page sommaire */
193/* -- Edito et une */
194#edito.article, #une.article {margin: 0 0 30px; padding: 5px 10px; text-align: justify;}
195#edito.article {
196        border: 2px solid #CONFIG{sarkaspip_styles/ca_edito, #808080};
197        background: #CONFIG{sarkaspip_styles/bg_edito, #eeeeee}[ url((#CHEMIN{images/bg_edito#CONFIG{sarkaspip_styles/bi_extension_edito, .gif}}))][ (#CONFIG{sarkaspip_styles/bi_proprietes_edito})];}
198#une.article {
199        border: 2px solid #CONFIG{sarkaspip_styles/ca_une, #808080};
200        background: #CONFIG{sarkaspip_styles/bg_une, #eeeeee}[ url((#CHEMIN{images/bg_une#CONFIG{sarkaspip_styles/bi_extension_une, .gif}}))][ (#CONFIG{sarkaspip_styles/bi_proprietes_une})];}
201#edito.article .titre, #edito.article .soustitre, #une.article .titre, #une.article .soustitre {}
202#edito.article .titre h1, #une.article .titre h1 {border: 0;}
203#edito.article a.fonction, #une.article a.fonction {display: none;}
204#edito.article .cartouche, #une.article .cartouche {font-size: 1.2em}
205#une.article .complements {font-size: 0.91em; margin-bottom: 10px;}
206
207/* -- Albums recents */
208#albums_recents.planche h2,
209#albums_auteur.planche h2 {[background: url((#CHEMIN{images/liste_albums.gif})) top left no-repeat;]}
210#albums_recents.planche li,
211#albums_auteur.planche li {[(#CONFIG{sarkaspip_sommaire/album_1_colonne, 0}|oui)width: 100%;]}
212
213/* Page evenement */
214#evenement.article .cartouche {text-align: left; float: left; margin: 0 10px 30px 0;}
215
216/* Page auteur */
217.auteur {margin: 0; padding-bottom: 10px;}
218#albums_auteur.planche li {[(#CONFIG{sarkaspip_auteur/album_1_colonne, 0}|oui)width: 100%;]}
219
220/* Page breve */
221.breve {margin: 0; padding-bottom: 10px;}
222
223/* Page site */
224.site {margin: 0; padding-bottom: 10px;}
225/* -- Thumbshot du site */
226.site a img {margin: 0 0 10px 10px; border: 4px solid #CONFIG{sarkaspip_styles/ca_portfolio, #eeeeee};}
227.site a:hover img{border-color: #CONFIG{sarkaspip_styles/ch_portfolio, #6262a4};}
228
229/* -- Liste des articles syndiques */
230#site_article-syndic.commentaires h2 {[background: url((#CHEMIN{images/liste_syndics.gif})) top left no-repeat;]}
231#site_article-syndic.commentaires .titre {margin:0 0 5px 0;}
232#site_article-syndic.commentaires .cartouche_simple {margin-left: 0;}
233#site_article-syndic.commentaires .texte{margin-left : 0;}
234
235.site .description li {margin-left: 0px;        margin-bottom:10px;}
236.site .description li:hover {background:#CONFIG{sarkaspip_styles/hb_commentaire, #f0f0fa};}
237.site .description span {color: #808080;}
238
239/* Page galerie */
240.galerie {margin: 0; padding-bottom: 10px;width:100%;}
241.galerie .planche li {[(#CONFIG{sarkaspip_galerie/album_1_colonne, 0}|oui)width: 100%;]}
242
243/* Page Herbier */
244.herbier {margin: 0; padding-bottom: 10px;width:100%;}
245.herbier .planche li {width: 100%;}
246
247/* Page Recherche */
248#recherche_rubrique.commentaires h2 {margin:0; [background: url((#CHEMIN{images/portfolio_documents.gif})) top left no-repeat;]}
249#recherche_mot_article.commentaires h2 {margin:0; [background: url((#CHEMIN{images/liste_breves.gif})) top left no-repeat;]}
250#recherche_breve.commentaires h2 {margin:0; [background: url((#CHEMIN{images/liste_breves.gif})) top left no-repeat;]}
251#recherche_site.commentaires h2 {margin:0; [background: url((#CHEMIN{images/liste_sites.gif})) top left no-repeat;]}
252#recherche_commentaire.commentaires h2 {margin:0; [background: url((#CHEMIN{images/commentaires.gif})) top left no-repeat;]}
253#recherche_article.commentaires h2 {margin:0; [background: url((#CHEMIN{images/liste_articles.gif})) top left no-repeat;]}
254#recherche_album.commentaires h2 {margin:0; [background: url((#CHEMIN{images/portfolio_images.gif})) top left no-repeat;]}
255#recherche_evenement.commentaires h2 {margin:0; [background: url((#CHEMIN{images/evenement.gif})) top left no-repeat;]}
256.commentaires li {border-bottom : 1px dotted #6262a4; padding:10px 0;height:auto}
257.commentaires li:hover {background-color :  #F0F0FA}
258.commentaires a.titre{padding-top: 5px; margin: 0; font-size: 1.4em; font-weight: bold; line-height:1em; text-decoration: none;
259        color: #CONFIG{sarkaspip_styles/fg_extrait, #6262a4};}
260.commentaires li .cartouche{margin : 0 0 10px 10px}
261
262/* Page erreur */
263.erreur {margin: 0; padding-bottom: 10px;}
264.erreur .description .texte {margin-top: 30px;  font-size: 1.2em; font-weight: bold; color: red; line-height: 1.4em;}
265
266
267/* FIN DES STYLES REVUS */
268
269#planche.galerie-album  {min-height: 500px; _height: 220px;}
270.galerie-album  .vignette {display: block;float: left;width: 220px;}
271.galerie-album  .vignette .spip_logos {padding: 10px;display: block;background: #EEEEEE;border-left: 2px solid #6262A4;border-right: 2px solid #6262A4;border-bottom: 2px solid #6262A4;}
272.galerie-album   a.titre {display: block;color: #6262A4;font-weight: bold;margin: 0 10px 0 10px;text-decoration: none;padding-top: 5px;}
273.galerie-album   a.titre:hover {text-decoration: underline;}
274.galerie-album .introduction {color: #000000;margin: 10px 10px 0 10px;}
275.galerie-album .texte {display: block;float: left;margin: 10px;}
276.galerie-album a.suite {text-align: right;display: block;padding-right : 25px;}
277/* ~~~~~~~~~~~~ album ~~~~~~~~~~~~ */
278.album_menu a:hover {text-decoration: none !important;}
279.album_menu {
280        margin-top:25px;
281        padding-top:10px;
282        padding-bottom:10px;
283        border-top:2px #6262A4 solid;
284        width:100%;
285        color: #6262A4;
286        font-family: Courier, monospace;}
287.album_vignette {width: 100%;text-align: center;}
288.album_vignette a:hover {text-decoration: none !important;}
289/*style valable pour ff, equivalent au style precedent pour ie*/
290.album_vignette table{text-align: center;margin : auto;}
291.album_vignette TD{
292        background-color: #E0E0E0;
293        height : 130px ;
294        width : 130px;
295        padding : 5px;
296        margin :0;}
297/* ~~~~~~~~~~~~ dans mot.html ~~~~~~~~~~~~ */
298.indentation {padding-left: 30px;}
299.elements-trouves {
300        color: #990000;
301        font-weight: bold;
302        margin: 0 0 15px 0;
303        padding: 0;
304        text-margin: 0; padding-bottom: 10px;}decoration: underline;
305}
306#visualisation .detail {
307        border-bottom: 1px solid #FFFFFF;
308        border-left: 1px solid #FFFFFF;
309        padding: 1px;
310        background: #6262A4;
311        color: #FFFFFF;
312        font-size: 1.2em;
313        font-weight:normal;
314        line-height:1em;
315}
316.forum {
317        border: none;
318        padding: 0;
319        margin: 0;
320}
321.forum a.article-forum {
322        font-size: 1.4em;
323        font-weight: bold;
324}
Note: See TracBrowser for help on using the repository browser.