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

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

Branchement de la feuille de style sur le formulaire de reglage de la typo, yeeeeh :-)

  • Property svn:executable set to *
File size: 4.2 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
5/* --------------------------------------------------------------
6
7   typo.css
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}} [ font-size: (#GET{font-size});]
15#SET{line-height,#CONFIG{petronille_typo/line-height}} [ line-height: (#GET{line-height});]
16#SET{text-indent,40px} [ text-indent: (#GET{text-indent});]
17#SET{font-family,#CONFIG{petronille_typo/font-family}} [ font-family: (#GET{font-family});]
18#SET{background-color,#CONFIG{petronille_typo/background-color}} [ background-color : (#GET{background-color});]
19#SET{color,#CONFIG{petronille_typo/color}} [ color: (#GET{color});]
20*/
21
22html { font-size: 100%; } /* Cf.: http://www.pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */
23body { [(#REM)background: #fff; font: 1em/1.5em sans-serif; color: #666;
24]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{line-height});] padding: 0; font-size: 100%; font-weight: normal; }
29hr { height: 1px; margin:[ (#GET{line-height})] 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; }
46ins, ins * { color: red; }
47sup, sub { font-size: .8em; font-variant: normal; line-height: 0; }
48sup { vertical-align: super; }
49sub { vertical-align: sub;}
50
51/* Citations, code et poesie */
52q, blockquote { font-style: italic; }
53blockquote { padding: 0 #GET{text-indent};[ (#GET{text-indent})];[ background: url((#CHEMIN{img/quote.gif})) no-repeat;] }
54blockquote.spip {}
55.spip_poesie {}
56.spip_poesie div { margin-left: #GET{text-indent}; text-indent: -#GET{text-indent}; }
57cite { background-color: #FFFCDF; font-style: italic; }
58
59address { font-style: italic; }
60
61pre,code,kbd,samp,var,tt,
62.spip_code,.spip_cadre { font-family: 'andale mono','lucida console',monospace; font-size: 1em; }
63pre { margin: #GET{line-height} 0; white-space: pre; }
64kbd { background-color: #GET{color}; color: #GET{background-color}; }
65samp { font-weight: bold; }
66var { font-style: italic; }
67
68/* Listes */
69ul, ol, li, dl, dt, dd {}
70ul, ol, dt, dd { /*padding-left: #GET{text-indent};*/ }
71ul ul, ol ol, ul ol, ol ul { margin-top: 0; margin-bottom: 0 }
72ol { list-style-type: decimal; }
73dl dt { clear: both;[ background: url((#CHEMIN{img/puce-dt.gif})) no-repeat[ (#GET{line-height})];] font-weight: bold; }
74dl dd {}
75
76/* Listes SPIP */
77ul.spip, ol.spip, dt, dd { padding-left: #GET{text-indent}; }
78ul.spip { list-style-type: square;[ list-style-image:  url((#CHEMIN{img/puce-li.gif}));] }
79li ul.spip { list-style-type: circle;[ list-style-image: url((#CHEMIN{img/puce-li-li.gif}));] }
80ol.spip {}
81
82/* Tableaux */
83table { border-collapse: collapse; border-spacing: 0; }
84table,caption,th,td { vertical-align: middle; }
85caption,th,td { padding: 4px 5px; border: 1px solid; text-align: left; font-weight: normal; }
86caption { background: #CCC; border-bottom: 0; caption-side: top; /* bottom pas pris en compte par IE */ }
87th { font-weight: bold; }
88thead th { background: #FFC; }
89tr.odd td { background: #DDD; }
90tr.even td { background: #EEE; }
91tfoot { font-style: italic; }
92
93/* Paragraphes */
94p, dl, dd, blockquote, address, pre, table, fieldset,
95div.spip_code, .spip_cadre, ul.spip, ol.spip, table.spip { margin-bottom: #GET{line-height}; }
96
97/* Liens */
98a {}
99a:hover {}
100
101/* end */
Note: See TracBrowser for help on using the repository browser.