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

Last change on this file since 103864 was 103864, checked in by spip.franck@…, 3 years ago

En finir une fois pour toutes avec spip-contrib, pour mettre à la place contrib.spip

  • Property svn:executable set to *
File size: 5.0 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 2
9   Cf.: https://contrib.spip.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,'"Helvetica Neue", Helvetica, Arial, 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:nth-child(even) th,
38table.spip tr:nth-child(even) td { background: #EEE; } /* patch */
39table.spip tr.row_first th {}
40table.spip tr.row_odd td {} /* bug cf.: http://core.spip.org/issues/2026 */
41table.spip tr.row_even td {}
42
43/* Citations, code et poesie */
44blockquote.spip {}
45.spip_poesie {}
46.spip_poesie div { margin-left: #GET{text-indent}; text-indent: -#GET{text-indent}; }
47.spip_code,
48.spip_cadre { font-family: 'andale mono','lucida console',monospace; font-size: 1em; }
49
50/* Enluminures typo V3 / Cf.: https://contrib.spip.net/3118 */
51sc, .sc { font-variant: small-caps; }
52.caractencadre-spip { color: purple; }
53.caractencadre2-spip { color: orange; }
54.texteencadre-spip { display: block; margin:[ (#GET{margin-bottom})][ (#GET{text-indent})]; padding: #GET{line-height}; background: #EEE; }
55
56/* Logos, documents et images */
57.spip_logos { float: left; margin: 0 10px 10px 0; padding: 0; border: none; }
58
59.spip_documents { margin-bottom: #GET{margin-bottom}; padding: 0; background: none; }
60.spip_documents,
61.spip_documents_center,
62.spip_doc_titre,
63.spip_doc_descriptif { margin-right: auto; margin-left: auto; text-align: center; }
64.spip_documents_center { clear: both; display: block; width: 100%; }
65.spip_documents_left { float: left; margin-right: #GET{margin-bottom}; }
66.spip_documents_right { float: right; margin-left: #GET{margin-bottom}; }
67.spip_doc_titre {}
68.spip_doc_descriptif { clear: both; }
69
70/* Modeles par defaut */
71.spip_modele { float: right; display: block; width: 25%; margin: 0 0[ (#GET{margin-bottom})][ (#GET{margin-bottom})]; padding: #GET{line-height}; background: #EEE; }
72
73/* Formulaires */
74.formulaire_spip {}
75.formulaire_spip li { clear: both;[ margin-bottom: (#GET{margin-bottom}|div{2})em;] }
76.formulaire_spip .boutons { clear: both; margin: 0; padding: 0; }
77.formulaire_spip .boutons input,
78.formulaire_spip .boutons button {}
79@media print {
80        .formulaire_spip { display: none; }
81}
82
83/* Barre typo */
84.markItUp .markItUpHeader ul .markItUpSeparator { display: none; }
85
86/* Previsu */
87.previsu { margin-bottom: #GET{margin-bottom};[ padding: (#GET{margin-bottom}|div{2})em;] border: 2px dashed #F57900; }
88fieldset.previsu legend { color: #F57900; }
89
90/* Reponses */
91.reponse_formulaire { margin-bottom: #GET{margin-bottom};[ padding: (#GET{margin-bottom}|div{2})em;] border: 2px solid #ddd; }
92.reponse_formulaire_ok { background: #e6efc2; color: #264409; border-color: #c6d880; }
93.reponse_formulaire_erreur { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
94.reponse_formulaire_ok a { color: #264409; }
95.reponse_formulaire_erreur a { color: #8a1f11; }
96
97.erreur_message { color: red; }
98
99li.erreur input[type="text"], li.erreur input.text,
100li.erreur input[type="password"], li.erreur input.password,
101li.erreur textarea { background-color: #fbe3e4; border-color: #fbc2c4; }
102
103.spip_surligne { background-color: yellow; }
104
105/* Paragraphes */
106div.spip, ul.spip, ol.spip, .spip_poesie, .spip_cadre, div.spip_code, .spip_documents.spip_documents_center { margin-bottom: #GET{margin-bottom}; }
107
108/* Pagination */
109.pagination { clear: both; text-align: center; }
110@media print {
111        .pagination { display: none; }
112}
113
114/* Liens de SPIP */
115a.spip_note { font-weight: bold; } /* liens vers notes de bas de page */
116a.spip_in {} /* liens internes */
117a.spip_mail {}
118a.spip_out {} /* liens sortants */
119a.spip_url {} /* liens url sortants */
120a.spip_glossaire {} /* liens vers encyclopedie */
121@media print {
122        a.spip_out:after,
123        a.spip_url:after { content: " (" attr(href) ")"; }
124}
125
126/* Boutons d'admin */
127.ie6 .spip-admin,
128.ie6 #spip-admin { display: none; }
129@media print {
130        .spip-admin,
131        #spip-admin { display: none; }
132}
133
134/* end */
Note: See TracBrowser for help on using the repository browser.