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 : |
---|
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: 2em; line-height:#GET{line-height};margin-bottom: [(#GET{margin-bottom}|div{2})em]; } |
---|
41 | #SET{coeff,#GET{line-height}|plus{2}|div{2}|div{#GET{line-height}}} |
---|
42 | #SET{coeffinv,#VAL{1}|div{#GET{coeff}}} |
---|
43 | h2,.h2 {[ font-size: (#GET{line-height}|mult{#GET{coeff}})em];[ line-height: (#GET{coeffinv}|mult{2})em];[ margin-bottom: (#GET{coeffinv})em;]} |
---|
44 | h3,.h3 {[ font-size: (#GET{line-height}|mult{1})em]; line-height: 1; margin-bottom: 1em; font-weight: bold;} |
---|
45 | #SET{coeff,#GET{line-height}|plus{1}|div{2}|div{#GET{line-height}}} |
---|
46 | #SET{coeffinv,#VAL{1}|div{#GET{coeff}}} |
---|
47 | h4,.h4 {[ font-size: (#GET{line-height}|mult{#GET{coeff}})em];[ line-height: (#GET{coeffinv})em];[ margin-bottom: (#GET{coeffinv})em;]font-weight: bold; } |
---|
48 | h5,.h5 { font-size: 1em; font-weight: bold; margin-bottom: #GET{margin-bottom}; } |
---|
49 | h6,.h6 { font-size: 1em; font-weight: bold; } |
---|
50 | |
---|
51 | /* Enrichissements typographiques */ |
---|
52 | strong, b { font-weight: bold; } |
---|
53 | em, i { font-style: italic; } |
---|
54 | small, .small { font-size: 80%; } |
---|
55 | big, .big { font-size: 150%; } |
---|
56 | abbr[title], acronym[title] { border-bottom: .1em dotted; cursor: help; } |
---|
57 | @media print { abbr[title]:after { content: " (" attr(title) ")"; } } |
---|
58 | dfn { font-weight: bold; font-style: italic; } |
---|
59 | del { text-decoration: line-through; } |
---|
60 | ins { text-decoration: none; background-color: #FFC; } |
---|
61 | sup, sub { font-size: .8em; font-variant: normal; line-height: 0; } |
---|
62 | sup { vertical-align: super; } |
---|
63 | .ie sup { vertical-align: text-top; } |
---|
64 | sub { vertical-align: sub; } |
---|
65 | .ie sub { vertical-align: text-bottom; } |
---|
66 | .caps { font-variant: small-caps; } |
---|
67 | |
---|
68 | /* Listes */ |
---|
69 | ul, ol, li, dl, dt, dd {} |
---|
70 | ul ul, ol ol, ul ol, ol ul { margin-top: 0; margin-bottom: 0; } |
---|
71 | |
---|
72 | dl dt { font-weight: bold; } |
---|
73 | dl dd {} |
---|
74 | |
---|
75 | /* Tableaux */ |
---|
76 | table { margin-bottom: #GET{margin-bottom}; width: 100%; } |
---|
77 | th { font-weight: bold; } |
---|
78 | thead th { background: #c3d9ff; } |
---|
79 | th,td,caption {[ padding: (#GET{line-height}|div{2})em;] } |
---|
80 | tbody tr:nth-child(even) td, |
---|
81 | tbody tr.even td { background: #e5ecf9; } |
---|
82 | tfoot { font-style: italic; } |
---|
83 | caption { background: #eee; } |
---|
84 | |
---|
85 | /* Citations, code et poesie */ |
---|
86 | q { font-style: italic; } |
---|
87 | blockquote { padding: 0 #GET{text-indent}; font-style: italic; } |
---|
88 | cite { font-style: italic; } |
---|
89 | |
---|
90 | address { font-style: italic; } |
---|
91 | |
---|
92 | pre,code,kbd,samp,var,tt { font-family: 'andale mono','lucida console',monospace; font-size: 1em; } |
---|
93 | pre { margin:[ (#GET{margin-bottom}) ]0; |
---|
94 | /* Cf.: http://perishablepress.com/press/2010/06/01/wrapping-content/ / |
---|
95 | white-space: pre; /* CSS 2.0 */ |
---|
96 | white-space: pre-wrap; /* CSS 2.1 */ |
---|
97 | white-space: pre-line; /* CSS 3.0 */ |
---|
98 | white-space: -pre-wrap; /* Opera 4-6 */ |
---|
99 | white-space: -o-pre-wrap; /* Opera 7 */ |
---|
100 | white-space: -moz-pre-wrap; /* Mozilla */ |
---|
101 | white-space: -hp-pre-wrap; /* HP Printers */ |
---|
102 | word-wrap: break-word; /* IE 5+ */ |
---|
103 | } |
---|
104 | kbd { background-color: #GET{color}; color: #GET{background-color}; } |
---|
105 | samp { font-weight: bold; } |
---|
106 | var { font-style: italic; } |
---|
107 | |
---|
108 | /* Paragraphes */ |
---|
109 | p, .p, dl, dd, blockquote, address, pre, table, fieldset { margin-bottom: #GET{margin-bottom}; } |
---|
110 | |
---|
111 | /* Liens */ |
---|
112 | a {} |
---|
113 | a:hover {} |
---|
114 | a[hreflang]:after { content: "\0000a0(" attr(hreflang) ")"; } |
---|
115 | @media print { |
---|
116 | a, a:visited { color: #GET{color} !important; text-decoration: underline; } |
---|
117 | .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */ |
---|
118 | } |
---|
119 | |
---|
120 | .on { font-weight: bold; } |
---|
121 | |
---|
122 | /** |
---|
123 | * Print styles from HTML5 Boilerplate |
---|
124 | * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/ |
---|
125 | */ |
---|
126 | @media print { |
---|
127 | pre, blockquote { page-break-inside: avoid; } |
---|
128 | thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ |
---|
129 | tr, img { page-break-inside: avoid; } |
---|
130 | @page { margin: 0.5cm; } |
---|
131 | p, h2, h3 { orphans: 3; widows: 3; } |
---|
132 | h2, h3 { page-break-after: avoid; } |
---|
133 | } |
---|
134 | |
---|
135 | /* end */ |
---|