source: spip-zone/_plugins_/basecss/branches/v2/css/spip.css.html @ 52288

Last change on this file since 52288 was 52288, checked in by romy@…, 8 years ago

Retour sur [51086] en restant looké BluePrint? et compatible SPIP2.

  • Property svn:executable set to *
File size: 4.9 KB
Line 
1#CACHE{3600*100,cache-client}
2#HTTP_HEADER{Content-Type: text/css; charset=iso-8859-15}
3#HTTP_HEADER{Vary: Accept-Encoding}
4[(#REM)<style>
5]/* --------------------------------------------------------------
6
7   spip.css.html
8   Styles associes au code genere par SPIP
9   Cf.: http://www.spip-contrib.net/3821
10
11-------------------------------------------------------------- */
12
13/* Valeurs :
14#SET{font-size,#CONFIG{basecss/typo/font-size,1em}} [ font-size: (#GET{font-size});]
15#SET{line-height,#CONFIG{basecss/typo/line-height,1.5em}} [ line-height: (#GET{line-height});]
16#SET{margin-bottom,#CONFIG{basecss/typo/margin-bottom,1.5em}} [ margin-bottom: (#GET{margin-bottom});]
17#SET{text-indent,#CONFIG{basecss/typo/text-indent,50px}} [ text-indent: (#GET{text-indent});]
18#SET{font-family,#CONFIG{basecss/typo/font-family,'Verdana, Geneva, sans-serif'}} [ font-family: (#GET{font-family});]
19#SET{background-color,#CONFIG{basecss/typo/background-color,#FFFFFF}} [ background-color : (#GET{background-color});]
20#SET{color,#CONFIG{basecss/typo/color,#222222}} [ color: (#GET{color});]
21*/
22
23/* Listes SPIP */
24ul.spip,
25ol.spip { padding-left: #GET{text-indent}; }
26ul.spip { list-style-type: disc; }
27ol.spip { list-style-type: decimal; }
28
29dl.spip dt,
30dl.spip dd { padding-left: #GET{text-indent}; }
31dl.spip dt { clear: both; }
32dl.spip dd {}
33
34/* Tableaux SPIP */
35table.spip { margin-bottom: #GET{margin-bottom}; width: 100%; }
36table.spip caption {}
37table.spip tr.row_first th {}
38table.spip tr.row_odd td { background: #e5ecf9; } /*patch*/
39table.spip tr.row_even td {}
40
41/* Citations, code et poesie */
42blockquote.spip {}
43.spip_poesie {}
44.spip_poesie div { margin-left: #GET{text-indent}; text-indent: -#GET{text-indent}; }
45.spip_code,
46.spip_cadre { font-family: 'andale mono','lucida console',monospace; font-size: 1em; }
47
48/* Enluminures typo V3 / Cf.: http://www.spip-contrib.net/3118 */
49sc, .sc { font-variant: small-caps; }
50.caractencadre-spip { color: purple; }
51.caractencadre2-spip { color: orange; }
52.texteencadre-spip { display: block; margin:[ (#GET{margin-bottom})][ (#GET{text-indent})]; padding: #GET{line-height}; background: #EEE; }
53
54/* Logos, documents et images */
55.spip_logos { float: left; margin: 0 10px 10px 0; padding: 0; border: none; }
56
57.spip_documents { margin-bottom: #GET{margin-bottom}; padding: 0; background: none; }
58.spip_documents,
59.spip_documents_center,
60.spip_doc_titre,
61.spip_doc_descriptif { margin-right: auto; margin-left: auto; text-align: center; }
62.spip_documents_center { clear: both; display: block; width: 100%; }
63.spip_documents_left { float: left; margin-right: #GET{margin-bottom}; }
64.spip_documents_right { float: right; margin-left: #GET{margin-bottom}; }
65.spip_doc_titre {}
66.spip_doc_descriptif { clear: both; }
67
68/* Modeles par defaut */
69.spip_modele { float: right; display: block; width: 25%; margin: 0 0[ (#GET{margin-bottom})][ (#GET{margin-bottom})]; padding: #GET{line-height}; background: #EEE; }
70
71/* Formulaires */
72.formulaire_spip {}
73.formulaire_spip li { clear: both;[ margin-bottom: (#GET{margin-bottom}|div{2})em;] }
74.formulaire_spip .boutons { clear: both; margin: 0; padding: 0; }
75.formulaire_spip .boutons input,
76.formulaire_spip .boutons button {}
77@media print {
78        .formulaire_spip { display: none; }
79}
80
81/* Barre typo */
82.markItUp .markItUpHeader ul .markItUpSeparator { display: none; }
83
84/* Previsu */
85.previsu { margin-bottom: #GET{margin-bottom};[ padding: (#GET{margin-bottom}|div{2})em;] border: 2px dashed #F57900; }
86fieldset.previsu legend { color: #F57900; }
87
88/* Reponses */
89.reponse_formulaire { margin-bottom: #GET{margin-bottom};[ padding: (#GET{margin-bottom}|div{2})em;] border: 2px solid #ddd; }
90.reponse_formulaire_ok { background: #e6efc2; color: #264409; border-color: #c6d880; }
91.reponse_formulaire_erreur { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
92.reponse_formulaire_ok a { color: #264409; }
93.reponse_formulaire_erreur a { color: #8a1f11; }
94
95.erreur_message { color: red; }
96
97li.erreur input[type="text"], li.erreur input.text,
98li.erreur input[type="password"], li.erreur input.password,
99li.erreur textarea { background-color: #fbe3e4; border-color: #fbc2c4; }
100
101.spip_surligne { background-color: yellow; }
102
103/* Formulaire de recherche */
104.formulaire_recherche * { display: inline; }
105
106/* Paragraphes */
107div.spip, ul.spip, ol.spip, .spip_poesie, .spip_cadre, div.spip_code, .spip_documents.spip_documents_center { margin-bottom: #GET{margin-bottom}; }
108
109/* Pagination */
110.pagination { clear: both; text-align: center; }
111@media print {
112        .pagination { display: none; }
113}
114
115/* Liens de SPIP */
116a.spip_note { font-weight: bold; } /* liens vers notes de bas de page */
117a.spip_in {} /* liens internes */
118a.spip_mail {}
119a.spip_out {} /* liens sortants */
120a.spip_url {} /* liens url sortants */
121a.spip_glossaire {} /* liens vers encyclopedie */
122@media print {
123        a.spip_out:after,
124        a.spip_url:after { content: " (" attr(href) ")"; }
125}
126
127/* Boutons d'admin */
128.ie6 .spip-admin,
129.ie6 #spip-admin { display: none; }
130@media print {
131        .spip-admin,
132        #spip-admin { display: none; }
133}
134
135/* end */
Note: See TracBrowser for help on using the repository browser.