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