3 Ce squelette definit les styles de l'espace prive
5 Note: l'entete
"Vary:" sert a repousser l'entete par
6 defaut
"Vary: Cookie,Accept-Encoding", qui est (un peu)
7 genant en cas de
"rotation du cookie de session" apres
8 un changement d'IP (effet de clignotement).
10 ATTENTION: il faut absolument le charset sinon Firefox croit que
14 /* --------------------------------------------------------------
18 Cf.: http://contrib.spip.net/
3820
20 -------------------------------------------------------------- */
22 #CACHE{
3600*
100,cache-client}
23 #HTTP_HEADER{Content-Type: text/css; charset=iso-
8859-
15}
24 #HTTP_HEADER{Vary: Accept-Encoding}
26 #SET{claire,##ENV{couleur_claire,edf3fe}}
27 #SET{foncee,##ENV{couleur_foncee,
3874b0}}
28 #SET{left,#ENV{ltr}|choixsiegal{left,left,right}}
29 #SET{right,#ENV{ltr}|choixsiegal{left,right,left}}
30 #SET{rtl,#ENV{ltr}|choixsiegal{left,'',_rtl}}
32 /* Valeurs par defaut :
33 #SET{font-size,#ENV{font-size,
1em}} [ font-size: (#GET{font-size});]
34 #SET{line-height,#ENV{line-height,
1.2em}} [ line-height: (#GET{line-height});]
35 #SET{margin-bottom,#ENV{margin-bottom,
1.2em}} [ margin-bottom: (#GET{margin-bottom});]
36 #SET{text-indent,#ENV{text-indent,
50px}} [ text-indent: (#GET{text-indent});]
37 #SET{font-family,#ENV*{font-family,'Verdana, Geneva, sans-serif'}} [ font-family: (#GET{font-family});]
38 #SET{background-color,#ENV{background-color,#F8F7F3}} [ background-color : (#GET{background-color});]
39 #SET{color,#ENV{color,#
000000}} [ color: (#GET{color});]
42 html { font-size:
100.01%; } /* Cf.: http://www.pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
43 body { background: #GET{background-color}; font: #GET{font-size}/#GET{line-height}[ (#GET{font-family})]; color: #GET{color}; }
45 /* Titraille / Intertitres */
47 .h1,.h2,.h3,.h4,.h5,.h6 { margin:
0; padding:
0; font-size:
100%; font-weight: normal; }
48 hr { height:
1px; margin:[ (#GET{margin-bottom})]
0; border:
0; background: #GET{color}; color: #GET{color}; }
50 /* Titraille Blueprint
51 Cf. : http://www.blueprintcss.org/tests/parts/elements.html
52 h1 { font-size:
3em; line-height:
1; margin-bottom:
0.5em; }
53 h2 { font-size:
2em; margin-bottom:
0.75em; }
54 h3 { font-size:
1.5em; line-height:
1; margin-bottom:
1em; }
55 h4 { font-size:
1.2em; line-height:
1.25; margin-bottom:
1.25em; }
56 h5 { font-size:
1em; font-weight: bold; margin-bottom:
1.5em; }
57 h6 { font-size:
1em; font-weight: bold; }*/
59 #SET{coeff,#GET{line-height}|strplus{
2}|strdiv{
2}|strdiv{#GET{line-height}}}
60 #SET{coeffinv,#VAL{
1}|strdiv{#GET{coeff}}}
61 h1,.h1 {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv}|strmult{
2})em];[ margin-bottom: (#GET{coeffinv})em;]}
62 h2,.h2 {[ font-size: (#GET{line-height}|strmult{
1})em]; line-height:
1; margin-bottom:
1em; font-weight: bold;}
63 #SET{coeff,#GET{line-height}|strplus{
1}|strdiv{
2}|strdiv{#GET{line-height}}}
64 #SET{coeffinv,#VAL{
1}|strdiv{#GET{coeff}}}
65 h3,.h3 {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
66 #SET{coeff,#GET{line-height}|strplus{
3}|strdiv{
4}|strdiv{#GET{line-height}}}
67 #SET{coeffinv,#VAL{
1}|strdiv{#GET{coeff}}}
68 h4,.h4,caption,.caption-wrap {[ font-size: (#GET{line-height}|strmult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; }
69 h5,.h5 { font-size:
1em; font-weight: bold; margin-bottom: #GET{margin-bottom}; }
70 h6,.h6 { font-size:
1em; font-weight: bold; }
72 #haut h1,h1.grostitre {margin-top:[(#ENV{margin-bottom}|strmult{
1.5}|strdiv{
2}|strdiv{#GET{line-height}})em]}
74 /* Enrichissements typographiques */
75 strong, b { font-weight: bold; }
76 em, i { font-style: italic; }
77 small, .small { font-size:
80%; }
78 big, .big { font-size:
150%; }
79 abbr[title], acronym[title] { border-bottom:
.1em dotted; text-decoration: none; cursor: help; }
80 dfn { font-weight: bold; font-style: italic; }
81 del { text-decoration: line-through; }
82 ins { text-decoration: none; background-color: #FFC; }
83 sup, sub { font-size:
.8em; font-variant: normal; line-height:
0; }
84 sup { vertical-align: super; }
85 .ie sup { vertical-align: text-top; }
86 sub { vertical-align: sub; }
87 .ie sub { vertical-align: text-bottom; }
88 .caps { font-variant: small-caps; }
91 ul, ol, li, dl, dt, dd {}
92 ul ul, ol ol, ul ol, ol ul { margin-top:
0; margin-bottom:
0; }
94 dl dt { font-weight: bold; }
98 table { margin-bottom: #GET{margin-bottom}; width:
100%; }
99 th { font-weight: bold; }
100 thead th {color:inherit; background: [#(#ENV{claire}|couleur_eclaircir{
0.4})]; }
101 table.spip td, table.spip th, /* annuler spip-styles */
102 th,td,caption {[ padding: (#GET{line-height}|strdiv{
2})em;] }
104 tbody tr:nth-child(even) td,tbody tr:nth-child(even) th,
105 tbody tr.even td,tbody tr.even th { background: [#(#ENV{claire}|couleur_eclaircir{
0.80})]; }
106 tfoot { font-style: italic; }
107 caption { background: #eee; }
109 /* Citations, code et poesie */
110 q { font-style: italic; }
111 blockquote { padding:
0 #GET{text-indent}; font-style: italic; }
112 cite { font-style: italic; }
114 address { font-style: italic; }
116 pre,code,kbd,samp,var,tt { font-family: 'lucida console',monospace; font-size:
1em; }
117 pre { margin:[ (#GET{margin-bottom}) ]
0; white-space: pre; }
118 kbd { background-color: #GET{color}; color: #GET{background-color}; }
119 samp { font-weight: bold; }
120 var { font-style: italic; }
123 p, .p, dl, dd, blockquote, address, pre, table, fieldset { margin-bottom: #GET{margin-bottom}; }
128 a[hreflang]:after { content:
"\0000a0[" attr(hreflang)
"]"; display: inline-block;}
129 .on { font-weight: bold; }
134 * Specificites de code SPIP (ex spip-styles.css)
138 ul.spip,.formulaire_spip ul.spip, #conteneur ul.spip { list-style: square; margin-bottom:#ENV{margin-bottom};}
139 ul.spip ul, #conteneur ul.spip ul { list-style: circle; }
140 ol.spip, #conteneur ol.spip { list-style: decimal; margin-bottom:#ENV{margin-bottom};}
142 ul.spip li, ol.spip li, #conteneur ul.spip li {margin-#ENV{left}:#ENV{text-indent};}
143 ul.spip li li, ol.spip li li, #conteneur ul.spip li li {margin-#ENV{left}:[(#ENV{text-indent}|strdiv{
2})px];}
145 /* Citations, code et poesie */
146 /*blockquote.spip { margin:
2em
0; padding-left:
1em; border-left:
0.30em solid; }
147 blockquote.spip_poesie { margin:
2em
0; padding-left:
1em; border-left:
1px solid; font-family: Garamond, Georgia, Times, serif; }
148 blockquote.spip_poesie div { text-indent: -
3em; margin-left:
3em; }
150 .spip_code, .spip_cadre { color: #
336; }
151 .spip_cadre { width:
99%; background-color: #F3F3F3; border:
1px dotted #ddd; padding:
5px;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;}
152 div.spip_code, .spip_cadre { margin-bottom: #ENV{margin-bottom}; }
154 .spip_surligne { background: #FF6; }
157 table.spip { max-width:
99%; margin-right: auto; margin-left: auto; margin-bottom: #ENV{margin-bottom}; border-collapse: collapse; border-spacing:
0;}
158 table.spip caption { caption-side: top; /* bottom pas pris en compte par IE */ text-align: center; margin-right: auto; margin-left: auto; font-weight: bold; }
159 table.spip th, table.spip td { /*padding:
0.20em
0.40em; text-align: left; */border:
1px solid #ccc; }
160 table.spip td.numeric {text-align:right;}
162 /* Logos, documents et images */
163 img, .spip_logo { margin:
0; padding:
0; border:
0; }
164 .spip_documents { text-align: center; }
165 .spip_documents p { margin:
0.10em; padding:
0; }
166 .spip_documents_center { display: block; clear: both; width:
100%; margin: [(#ENV{margin-bottom})] auto; }
167 .spip_documents_left { float: #ENV{left}; margin-#ENV{right}:
15px; margin-bottom: [(#ENV{margin-bottom})]; }
168 .spip_documents_right { float: #ENV{right}; margin-#ENV{left}:
15px; margin-bottom: [(#ENV{margin-bottom})]; }
169 .spip_doc_titre { margin-right: auto; margin-left: auto; font-weight: bold; font-size:
0.90em; }
170 .spip_doc_descriptif { clear: both; margin-right: auto; margin-left: auto; font-size:
0.90em; }
172 /* modeles par defaut */
173 .spip_modele { float: right; display: block; padding:
1em; border:
1px solid; width:
180px; }
175 /* Couleurs des liens de SPIP */
176 a.spip_note {} /* liens vers notes de bas de page */
177 a.spip_ancre {} /* liens internes a la page */
178 a.spip_in {} /* liens internes */
179 a.spip_mail { color: #
900; }
180 a.spip_mail:before { content:
"\002709"; } /* liens vers un email */
181 a.spip_out,a[rel=external] { color: #
009; } /* liens sortants */
182 a.spip_url { color: #
009; } /* liens url sortants */
183 a.spip_glossaire { color: #
060; } /* liens vers encyclopedie */
184 a.spip_glossaire:hover { text-decoration: underline overline; }
185 a[hreflang]:after { content:
"\0000a0[" attr(hreflang)
"]";color:#
888; display: inline-block;}
186 .on { font-weight: bold; } /* liens exposes */