[SPIP] +installation version 3.0.10
[lhc/web/www.git] / www / squelettes-dist / css / spip.css
1 /* --------------------------------------------------------------
2
3 Styles associes au code genere par SPIP
4
5 -------------------------------------------------------------- */
6
7 /* Listes SPIP */
8 ul.spip,
9 ol.spip { margin-left: 50px; }
10 ul.spip { list-style-type: square; }
11 li ul.spip { list-style-type: disc; }
12 li li ul.spip { list-style-type: circle; }
13 ol.spip { list-style-type: decimal; }
14
15 dl.spip dt,
16 dl.spip dd { padding-left: 50px; }
17 dl.spip dt { clear: both; }
18 dl.spip dd {}
19
20 /* Tableaux SPIP */
21 table.spip { width: 100%; }
22 table.spip caption {}
23 table.spip tr.row_first th {}
24 table.spip tr.odd td {}
25 table.spip tr.even td {}
26
27 /* Citations, code et poesie */
28 blockquote.spip { min-height: 40px; background: url(img/quote.png) no-repeat; }
29 .spip_poesie { border-left: 1px solid; }
30 .spip_poesie div { margin-left: 50px; text-indent: -50px; }
31 .spip_code,
32 .spip_cadre { font-family: 'Courier New', Courier, monospace; font-size: 1em; }
33
34 /* Enluminures typo V3 / Cf.: http://www.spip-contrib.net/3118 */
35 sc, .sc { font-variant: small-caps; }
36 .caractencadre-spip { background-color: #FFFFCC; color: purple; }
37 .caractencadre2-spip { background-color: #FFFFCC; color: orange; }
38 .texteencadre-spip { display: block; margin: 1.5em 50px; padding: 1.5em; background: #EEE; }
39
40 /* Logos, documents et images */
41 .spip_logos { float: left; margin: 0 10px 10px 0; padding: 0; border: none; }
42
43 .spip_documents { margin-bottom: 1.5em; padding: 0; background: none; }
44 .spip_documents,
45 .spip_documents_center,
46 .spip_doc_titre,
47 .spip_doc_descriptif { margin-right: auto; margin-left: auto; text-align: center; }
48 .spip_documents_center { clear: both; display: block; width: 100%; }
49 .spip_documents_left { float: left; margin-right: 1.5em; }
50 .spip_documents_right { float: right; margin-left: 1.5em; }
51 .spip_doc_titre {}
52 .spip_doc_descriptif { clear: both; }
53
54 /* Modeles par defaut */
55 .spip_modele { float: right; display: block; width: 25%; margin: 0 0 1.5em 1.5em; padding: 1.5em; background-color: #EEE; }
56
57 /* Formulaires */
58 .formulaire_spip {}
59 .formulaire_spip li { clear: both; margin-bottom: 0.75em; }
60 .formulaire_spip .boutons { clear: both; margin: 0; padding: 0; text-align: right; }
61 .formulaire_spip .boutons input,
62 .formulaire_spip .boutons button {}
63 @media print {
64 .formulaire_spip { display: none; }
65 }
66
67 /* Barre typo */
68 .markItUp .markItUpHeader ul .markItUpSeparator { display: none; }
69
70 /* Previsu */
71 .previsu { margin-bottom: 1.5em; padding: 0.75em; border: 2px dashed #F57900; }
72 fieldset.previsu legend { color: #F57900; }
73
74 /* Reponses */
75 .reponse_formulaire { margin-bottom: 1.5em; padding: 0.75em; border: 2px solid #ddd; }
76 .reponse_formulaire_ok { background: #e6efc2; color: #264409; border-color: #c6d880; }
77 .reponse_formulaire_erreur { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
78 .reponse_formulaire_ok a { color: #264409; }
79 .reponse_formulaire_erreur a { color: #8a1f11; }
80
81 .erreur_message { color: red; }
82
83 li.erreur input[type="text"], li.erreur input.text,
84 li.erreur input[type="password"], li.erreur input.password,
85 li.erreur textarea { background-color: #fbe3e4; border-color: #fbc2c4; }
86
87 .spip_surligne { background-color: yellow; }
88
89 /* Formulaire de recherche */
90 .formulaire_recherche * { display: inline; }
91
92 /* Paragraphes */
93 div.spip, ul.spip, ol.spip, .spip_poesie, .spip_cadre, div.spip_code, .spip_documents.spip_documents_center { margin-bottom: 1.5em; }
94
95 /* Pagination */
96 .pagination { clear: both; text-align: center; }
97 @media print {
98 .pagination { display: none; }
99 }
100
101 /* Liens de SPIP */
102 a.spip_note { font-weight: bold; } /* liens vers notes de bas de page */
103 a.spip_in {} /* liens internes */
104 a.spip_mail {}
105 a.spip_out {} /* liens sortants */
106 a.spip_url {} /* liens url sortants */
107 a.spip_glossaire {} /* liens vers encyclopedie */
108 @media print {
109 a.spip_out:after,
110 a.spip_url:after { content: " (" attr(href) ")"; }
111 }
112
113 /* Boutons d'admin */
114 .ie6 .spip-admin,
115 .ie6 #spip-admin { display: none; }
116 @media print {
117 .spip-admin,
118 #spip-admin { display: none; }
119 }
120
121 /* end */