source: spip-zone/_plugins_/petronille/css/typo.css.html @ 45384

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

Point trop en faire : pas besoin de surligner les cite par défaut.

  • Property svn:executable set to *
File size: 4.5 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   typo.css.html
8   Base typographique
9   Petronille - romy.tetue.net - 2010
10
11-------------------------------------------------------------- */
12
13/* Valeurs par defaut :
14#SET{font-size,#CONFIG{petronille/typo/font-size,1em}} [ font-size: (#GET{font-size});]
15#SET{line-height,#CONFIG{petronille/typo/line-height,1.5em}} [ line-height: (#GET{line-height});]
16#SET{margin-bottom,#CONFIG{petronille/typo/margin-bottom,1.5em}} [ margin-bottom: (#GET{margin-bottom});]
17#SET{text-indent,#CONFIG{petronille/typo/text-indent,50px}} [ text-indent: (#GET{text-indent});]
18#SET{font-family,#CONFIG{petronille/typo/font-family,'Verdana, Geneva, sans-serif'}} [ font-family: (#GET{font-family});]
19#SET{background-color,#CONFIG{petronille/typo/background-color,#FFFFFF}} [ background-color : (#GET{background-color});]
20#SET{color,#CONFIG{petronille/typo/color,#666666}} [ color: (#GET{color});]
21*/
22
23html { font-size: 100%; } /* Cf.: http://www.pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
24body { background: #GET{background-color}; font: #GET{font-size}/#GET{line-height}[ (#GET{font-family})]; color: #GET{color}; }
25
26/* Titraille / Intertitres */
27h1,h2,h3,h4,h5,h6,
28.h1,.h2,.h3,.h4,.h5,.h6 { margin: 0;[ margin-bottom: (#GET{margin-bottom});] padding: 0; font-size: 100%; font-weight: bold; }
29hr { height: 1px; margin:[ (#GET{margin-bottom})] 0; border: 0; background: #GET{color}; color: #GET{color}; }
30
31/*h1,.h1 { font-size: 3em; line-height: 1; margin-bottom: .5em; }
32h2,.h2 { font-size: 2em; margin-bottom: .75em; }
33h3,.h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
34h4,.h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
35h5,.h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
36h6,.h6 { font-size: 1em; font-weight: bold; }*/
37
38/* Enrichissements typographiques */
39strong { font-weight: bold; }
40em { font-style: italic; }
41small,.small { font-size: .9em; }
42abbr,acronym { border-bottom: 1px dotted; font-variant: small-caps; cursor: help; }
43dfn { font-weight: bold; font-style: italic; }
44del { text-decoration: line-through; }
45ins { text-decoration: none; background-color: #FFC; }
46sup, sub { font-size: .8em; font-variant: normal; line-height: 0; }
47sup { vertical-align: super; }
48sub { vertical-align: sub; }
49
50/* Listes / Listes SPIP */
51ul, ol, li, dl, dt, dd {}
52ul ul, ol ol, ul ol, ol ul { margin-top: 0; margin-bottom: 0; }
53
54ul.spip, ol.spip { margin-left: #GET{text-indent}; }
55ul.spip { list-style-type: square;[ list-style-image: url((#CHEMIN{css/img/puce-li.gif}));] }
56li ul.spip { list-style-type: circle;[ list-style-image: url((#CHEMIN{css/img/puce-li-li.gif}));] }
57ol { list-style-type: decimal; }
58ol.spip {}
59
60dl dt { font-weight: bold; }
61dl.spip dt,
62dl.spip dd { padding-left: #GET{text-indent}; }
63dl.spip dt { clear: both;[ background: url((#CHEMIN{css/img/puce-dt.gif})) no-repeat 0 center;] }
64dl.spip dd {}
65
66/* Tableaux */
67table { border-collapse: collapse; border-spacing: 0; }
68table,caption,th,td { vertical-align: middle; }
69caption,th,td { padding: 4px 5px; border: 1px solid; text-align: left; font-weight: normal; }
70caption { background: #CCC; border-bottom: 0; caption-side: top; /* bottom pas pris en compte par IE */ }
71th { font-weight: bold; }
72thead th { background: #FFC; }
73tr.odd td { background: #DDD; }
74tr.even td { background: #EEE; }
75tfoot { font-style: italic; }
76
77/* Tableaux SPIP */
78table.spip {}
79table.spip caption {}
80table.spip tr.row_first {}
81table.spip tr.row_odd {}
82table.spip tr.row_even {}
83
84/* Citations, code et poesie */
85q { font-style: italic; }
86blockquote { min-height: 48px; padding: 0 #GET{text-indent};[ background: url((#CHEMIN{css/img/quote.gif})) no-repeat;] }
87blockquote.spip {}
88.spip_poesie {}
89.spip_poesie div { margin-left: #GET{text-indent}; text-indent: -#GET{text-indent}; }
90cite { font-style: italic; }
91
92address { font-style: italic; }
93
94pre,code,kbd,samp,var,tt,
95.spip_code,.spip_cadre { font-family: 'andale mono','lucida console',monospace; font-size: 1em; }
96pre { margin:[ (#GET{margin-bottom}) ]0; white-space: pre; }
97kbd { background-color: #GET{color}; color: #GET{background-color}; }
98samp { font-weight: bold; }
99var { font-style: italic; }
100
101/* Paragraphes */
102p, .p, dl, dd, blockquote, address, pre, table, fieldset,
103div.spip, ul.spip, ol.spip, .spip_poesie, .spip_cadre, div.spip_code, .spip_documents.spip_documents_center { margin-bottom: #GET{margin-bottom}; }
104
105/* Liens */
106a {}
107a:hover {}
108
109/* end */
Note: See TracBrowser for help on using the repository browser.