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 | Cf.: http://www.spip-contrib.net/3820 |
---|
10 | |
---|
11 | -------------------------------------------------------------- */ |
---|
12 | |
---|
13 | /* Valeurs par defaut : |
---|
14 | #SET{font-size,#CONFIG{basecss/typo/font-size,1em}} [ font-size: (#GET{font-size});] |
---|
15 | #SET{line-height,#CONFIG{basecss/typo/line-height,1.5em}} [ line-height: (#GET{line-height});] |
---|
16 | #SET{margin-bottom,#CONFIG{basecss/typo/margin-bottom,1.5em}} [ margin-bottom: (#GET{margin-bottom});] |
---|
17 | #SET{text-indent,#CONFIG{basecss/typo/text-indent,50px}} [ text-indent: (#GET{text-indent});] |
---|
18 | #SET{font-family,#CONFIG{basecss/typo/font-family,'Helvetica, Arial, sans-serif'}} [ font-family: (#GET{font-family});] |
---|
19 | #SET{background-color,#CONFIG{basecss/typo/background-color,#FFFFFF}} [ background-color : (#GET{background-color});] |
---|
20 | #SET{color,#CONFIG{basecss/typo/color,#222222}} [ color: (#GET{color});] |
---|
21 | */ |
---|
22 | |
---|
23 | html { font-size: 100.01%; } /* Cf.: http://www.pompage.net/pompe/definir-des-tailles-de-polices-en-CSS/ */ |
---|
24 | body { background: #GET{background-color}; font: #GET{font-size}/#GET{line-height}[ (#GET{font-family})]; color: #GET{color}; } |
---|
25 | |
---|
26 | /* Titraille / Intertitres */ |
---|
27 | h1,h2,h3,h4,h5,h6, |
---|
28 | .h1,.h2,.h3,.h4,.h5,.h6 { margin: 0; padding: 0; font-size: 100%; font-weight: normal; } |
---|
29 | hr { height: 1px; margin:[ (#GET{margin-bottom})] 0; border: 0; background: #GET{color}; color: #GET{color}; } |
---|
30 | |
---|
31 | /* Titraille Blueprint |
---|
32 | Cf. : http://www.blueprintcss.org/tests/parts/elements.html |
---|
33 | h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; } |
---|
34 | h2 { font-size: 2em; margin-bottom: 0.75em; } |
---|
35 | h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; } |
---|
36 | h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; } |
---|
37 | h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; } |
---|
38 | h6 { font-size: 1em; font-weight: bold; }*/ |
---|
39 | |
---|
40 | h1,.h1 {[ font-size: (#GET{line-height}|mult{2})em;] line-height: 1; margin-bottom: 0.5em; } |
---|
41 | h2,.h2 {[ font-size: (#GET{line-height}|mult{1.5})em;][ line-height: (#GET{line-height}|mult{.75})em;][ margin-bottom: (#GET{line-height}|mult{.5})em;] } |
---|
42 | h3,.h3 {[ font-size: (#GET{line-height})em;] line-height: 1; margin-bottom: 1em; } |
---|
43 | h4,.h4 {[ font-size: (#GET{line-height}|mult{.75})em;][ line-height: (#GET{line-height}|mult{.75})em;][ margin-bottom: (#GET{line-height})em;] } |
---|
44 | h5,.h5 { font-size: 1em; font-weight: bold; margin-bottom: #GET{margin-bottom}; } |
---|
45 | h6,.h6 { font-size: 1em; font-weight: bold; } |
---|
46 | |
---|
47 | /* Enrichissements typographiques */ |
---|
48 | strong, b { font-weight: bold; } |
---|
49 | em, i { font-style: italic; } |
---|
50 | small, .small { font-size: 80%; } |
---|
51 | big, .big { font-size: 150%; } |
---|
52 | abbr[title], acronym[title] { border-bottom: .1em dotted; cursor: help; } |
---|
53 | dfn { font-weight: bold; font-style: italic; } |
---|
54 | del { text-decoration: line-through; } |
---|
55 | ins { text-decoration: none; background-color: #FFC; } |
---|
56 | sup, sub { font-size: .8em; font-variant: normal; line-height: 0; } |
---|
57 | sup { vertical-align: super; } |
---|
58 | .ie sup { vertical-align: text-top; } |
---|
59 | sub { vertical-align: sub; } |
---|
60 | .ie sub { vertical-align: text-bottom; } |
---|
61 | .caps { font-variant: small-caps; } |
---|
62 | |
---|
63 | /* Listes */ |
---|
64 | ul, ol, li, dl, dt, dd {} |
---|
65 | ul ul, ol ol, ul ol, ol ul { margin-top: 0; margin-bottom: 0; } |
---|
66 | |
---|
67 | dl dt { font-weight: bold; } |
---|
68 | dl dd {} |
---|
69 | |
---|
70 | /* Tableaux */ |
---|
71 | table { margin-bottom: #GET{margin-bottom}; width: 100%; } |
---|
72 | th { font-weight: bold; } |
---|
73 | thead th { background: #c3d9ff; } |
---|
74 | th,td,caption {[ padding: (#GET{line-height}|div{2})em;] } |
---|
75 | tbody tr:nth-child(even) td, |
---|
76 | tbody tr.even td { background: #e5ecf9; } |
---|
77 | tfoot { font-style: italic; } |
---|
78 | caption { background: #eee; } |
---|
79 | |
---|
80 | /* Citations, code et poesie */ |
---|
81 | q { font-style: italic; } |
---|
82 | blockquote { padding: 0 #GET{text-indent}; font-style: italic; } |
---|
83 | cite { font-style: italic; } |
---|
84 | |
---|
85 | address { font-style: italic; } |
---|
86 | |
---|
87 | pre,code,kbd,samp,var,tt { font-family: 'andale mono','lucida console',monospace; font-size: 1em; } |
---|
88 | pre { margin:[ (#GET{margin-bottom}) ]0; |
---|
89 | /* Cf.: http://perishablepress.com/press/2010/06/01/wrapping-content/ / |
---|
90 | white-space: pre; /* CSS 2.0 */ |
---|
91 | white-space: pre-wrap; /* CSS 2.1 */ |
---|
92 | white-space: pre-line; /* CSS 3.0 */ |
---|
93 | white-space: -pre-wrap; /* Opera 4-6 */ |
---|
94 | white-space: -o-pre-wrap; /* Opera 7 */ |
---|
95 | white-space: -moz-pre-wrap; /* Mozilla */ |
---|
96 | white-space: -hp-pre-wrap; /* HP Printers */ |
---|
97 | word-wrap: break-word; /* IE 5+ */ |
---|
98 | } |
---|
99 | kbd { background-color: #GET{color}; color: #GET{background-color}; } |
---|
100 | samp { font-weight: bold; } |
---|
101 | var { font-style: italic; } |
---|
102 | |
---|
103 | /* Paragraphes */ |
---|
104 | p, .p, dl, dd, blockquote, address, pre, table, fieldset { margin-bottom: #GET{margin-bottom}; } |
---|
105 | |
---|
106 | /* Liens */ |
---|
107 | a {} |
---|
108 | a:hover {} |
---|
109 | a[hreflang]:after { content: "\0000a0(" attr(hreflang) ")"; } |
---|
110 | .on { font-weight: bold; } |
---|
111 | |
---|
112 | /* end */ |
---|