Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | /* Feuille de style DocBook du projet Traduc.org */ |
| 2 | /* DocBook CSS stylesheet of the Traduc.org project */ |
| 3 | |
| 4 | /* (c) Jean-Philippe Guérard - 14 août 2004 */ |
| 5 | /* (c) Jean-Philippe Guérard - 14 August 2004 */ |
| 6 | |
| 7 | /* Cette feuille de style est libre, vous pouvez la */ |
| 8 | /* redistribuer et la modifier selon les termes de la Licence */ |
| 9 | /* Art Libre. Vous trouverez un exemplaire de cette Licence sur */ |
| 10 | /* http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */ |
| 11 | |
| 12 | /* This work of art is free, you can redistribute it and/or */ |
| 13 | /* modify it according to terms of the Free Art license. You */ |
| 14 | /* will find a specimen of this license on the Copyleft */ |
| 15 | /* Attitude web site: http://artlibre.org as well as on other */ |
| 16 | /* sites. */ |
| 17 | /* Please note that the French version of this licence as shown */ |
| 18 | /* on http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */ |
| 19 | /* is only official licence of this document. The English */ |
| 20 | /* is only provided to help you understand this licence. */ |
| 21 | |
| 22 | /* La dernière version de cette feuille de style est toujours */ |
| 23 | /* disponible sur : http://tigreraye.org/style.css */ |
| 24 | /* Elle est également disponible sur : */ |
| 25 | /* http://www.traduc.org/docs/HOWTO/lecture/style.css */ |
| 26 | |
| 27 | /* The latest version of this stylesheet is available from: */ |
| 28 | /* http://tigreraye.org/style.css */ |
| 29 | /* It is also available on: */ |
| 30 | /* http://www.traduc.org/docs/HOWTO/lecture/style.css */ |
| 31 | |
| 32 | /* N'hésitez pas à envoyer vos commentaires et corrections à */ |
| 33 | /* Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> */ |
| 34 | |
| 35 | /* Please send feedback and bug reports to */ |
| 36 | /* Jean-Philippe Guérard <jean-philippe.guerard@tigreraye.org> */ |
| 37 | |
| 38 | /* $Id: style.css,v 1.14 2004/09/10 20:12:09 fevrier Exp fevrier $ */ |
| 39 | |
| 40 | /* Présentation générale du document */ |
| 41 | /* Overall document presentation */ |
| 42 | |
| 43 | body { |
| 44 | /* |
| 45 | font-family: Apolline, "URW Palladio L", Garamond, jGaramond, |
| 46 | "Bitstream Cyberbit", "Palatino Linotype", serif; |
| 47 | */ |
| 48 | margin: 7%; |
| 49 | background-color: white; |
| 50 | } |
| 51 | |
| 52 | /* Taille du texte */ |
| 53 | /* Text size */ |
| 54 | |
| 55 | * { font-size: 100%; } |
| 56 | |
| 57 | /* Gestion des textes mis en relief imbriqués */ |
| 58 | /* Embedded emphasis */ |
| 59 | |
| 60 | em { font-style: italic; } |
| 61 | em em { font-style: normal; } |
| 62 | em em em { font-style: italic; } |
| 63 | |
| 64 | /* Titres */ |
| 65 | /* Titles */ |
| 66 | |
| 67 | h1 { font-size: 200%; font-weight: 900; } |
| 68 | h2 { font-size: 160%; font-weight: 900; } |
| 69 | h3 { font-size: 130%; font-weight: bold; } |
| 70 | h4 { font-size: 115%; font-weight: bold; } |
| 71 | h5 { font-size: 108%; font-weight: bold; } |
| 72 | h6 { font-weight: bold; } |
| 73 | |
| 74 | /* Nom de famille en petites majuscules (uniquement en français) */ |
| 75 | /* Last names in small caps (for French only) */ |
| 76 | |
| 77 | *[class~="surname"]:lang(fr) { font-variant: small-caps; } |
| 78 | |
| 79 | /* Blocs de citation */ |
| 80 | /* Quotation blocs */ |
| 81 | |
| 82 | div[class~="blockquote"] { |
| 83 | border: solid 2px #AAA; |
| 84 | padding: 5px; |
| 85 | margin: 5px; |
| 86 | } |
| 87 | |
| 88 | div[class~="blockquote"] > table { |
| 89 | border: none; |
| 90 | } |
| 91 | |
| 92 | /* Blocs litéraux : fond gris clair */ |
| 93 | /* Literal blocs: light gray background */ |
| 94 | |
| 95 | *[class~="literallayout"] { |
| 96 | background: #f0f0f0; |
| 97 | padding: 5px; |
| 98 | margin: 5px; |
| 99 | } |
| 100 | |
| 101 | /* Programmes et captures texte : fond bleu clair */ |
| 102 | /* Listing and text screen snapshots: light blue background */ |
| 103 | |
| 104 | *[class~="programlisting"], *[class~="screen"] { |
| 105 | background: #f0f0ff; |
| 106 | padding: 5px; |
| 107 | margin: 5px; |
| 108 | } |
| 109 | |
| 110 | /* Les textes à remplacer sont surlignés en vert pâle */ |
| 111 | /* Replaceable text in highlighted in pale green */ |
| 112 | |
| 113 | *[class~="replaceable"] { |
| 114 | background-color: #98fb98; |
| 115 | font-style: normal; } |
| 116 | |
| 117 | /* Tables : fonds gris clair & bords simples */ |
| 118 | /* Tables: light gray background and solid borders */ |
| 119 | |
| 120 | *[class~="table"] *[class~="title"] { width:100%; border: 0px; } |
| 121 | |
| 122 | table { |
| 123 | border: 1px solid #aaa; |
| 124 | border-collapse: collapse; |
| 125 | padding: 2px; |
| 126 | margin: 5px; |
| 127 | } |
| 128 | |
| 129 | /* Listes simples en style table */ |
| 130 | /* Simples lists in table presentation */ |
| 131 | |
| 132 | table[class~="simplelist"] { |
| 133 | background-color: #F0F0F0; |
| 134 | margin: 5px; |
| 135 | border: solid 1px #AAA; |
| 136 | } |
| 137 | |
| 138 | table[class~="simplelist"] td { |
| 139 | border: solid 1px #AAA; |
| 140 | } |
| 141 | |
| 142 | /* Les tables */ |
| 143 | /* Tables */ |
| 144 | |
| 145 | *[class~="table"] table { |
| 146 | background-color: #F0F0F0; |
| 147 | border: solid 1px #AAA; |
| 148 | } |
| 149 | *[class~="informaltable"] table { background-color: #F0F0F0; } |
| 150 | |
| 151 | th,td { |
| 152 | vertical-align: baseline; |
| 153 | text-align: left; |
| 154 | padding: 0.1em 0.3em; |
| 155 | empty-cells: show; |
| 156 | } |
| 157 | |
| 158 | /* Alignement des colonnes */ |
| 159 | /* Colunms alignment */ |
| 160 | |
| 161 | td[align=center] , th[align=center] { text-align: center; } |
| 162 | td[align=right] , th[align=right] { text-align: right; } |
| 163 | td[align=left] , th[align=left] { text-align: left; } |
| 164 | td[align=justify] , th[align=justify] { text-align: justify; } |
| 165 | |
| 166 | /* Pas de marge autour des images */ |
| 167 | /* No inside margins for images */ |
| 168 | |
| 169 | img { border: 0; } |
| 170 | |
| 171 | /* Les liens ne sont pas soulignés */ |
| 172 | /* No underlines for links */ |
| 173 | |
| 174 | :link , :visited , :active { text-decoration: none; } |
| 175 | |
| 176 | /* Prudence : cadre jaune et fond jaune clair */ |
| 177 | /* Caution: yellow border and light yellow background */ |
| 178 | |
| 179 | *[class~="caution"] { |
| 180 | border: solid 2px yellow; |
| 181 | background-color: #ffffe0; |
| 182 | padding: 1em 6px 1em ; |
| 183 | margin: 5px; |
| 184 | } |
| 185 | |
| 186 | *[class~="caution"] th { |
| 187 | vertical-align: middle |
| 188 | } |
| 189 | |
| 190 | *[class~="caution"] table { |
| 191 | background-color: #ffffe0; |
| 192 | border: none; |
| 193 | } |
| 194 | |
| 195 | /* Note importante : cadre jaune et fond jaune clair */ |
| 196 | /* Important: yellow border and light yellow background */ |
| 197 | |
| 198 | *[class~="important"] { |
| 199 | border: solid 2px yellow; |
| 200 | background-color: #ffffe0; |
| 201 | padding: 1em 6px 1em; |
| 202 | margin: 5px; |
| 203 | } |
| 204 | |
| 205 | *[class~="important"] th { |
| 206 | vertical-align: middle |
| 207 | } |
| 208 | |
| 209 | *[class~="important"] table { |
| 210 | background-color: #ffffe0; |
| 211 | border: none; |
| 212 | } |
| 213 | |
| 214 | /* Mise en évidence : texte légèrement plus grand */ |
| 215 | /* Highlights: slightly larger texts */ |
| 216 | |
| 217 | *[class~="highlights"] { |
| 218 | font-size: 110%; |
| 219 | } |
| 220 | |
| 221 | /* Note : cadre bleu et fond bleu clair */ |
| 222 | /* Notes: blue border and light blue background */ |
| 223 | |
| 224 | *[class~="note"] { |
| 225 | border: solid 2px #7099C5; |
| 226 | background-color: #f0f0ff; |
| 227 | padding: 1em 6px 1em ; |
| 228 | margin: 5px; |
| 229 | } |
| 230 | |
| 231 | *[class~="note"] th { |
| 232 | vertical-align: middle |
| 233 | } |
| 234 | |
| 235 | *[class~="note"] table { |
| 236 | background-color: #f0f0ff; |
| 237 | border: none; |
| 238 | } |
| 239 | |
| 240 | /* Astuce : cadre vert et fond vert clair */ |
| 241 | /* Tip: green border and light green background */ |
| 242 | |
| 243 | *[class~="tip"] { |
| 244 | border: solid 2px #00ff00; |
| 245 | background-color: #f0ffff; |
| 246 | padding: 1em 6px 1em ; |
| 247 | margin: 5px; |
| 248 | } |
| 249 | |
| 250 | *[class~="tip"] th { |
| 251 | vertical-align: middle; |
| 252 | } |
| 253 | |
| 254 | *[class~="tip"] table { |
| 255 | background-color: #f0ffff; |
| 256 | border: none; |
| 257 | } |
| 258 | |
| 259 | /* Avertissement : cadre rouge et fond rouge clair */ |
| 260 | /* Warning: red border and light red background */ |
| 261 | |
| 262 | *[class~="warning"] { |
| 263 | border: solid 2px #ff0000; |
| 264 | background-color: #fff0f0; |
| 265 | padding: 1em 6px 1em ; |
| 266 | margin: 5px; |
| 267 | } |
| 268 | |
| 269 | *[class~="warning"] th { |
| 270 | vertical-align: middle; |
| 271 | } |
| 272 | |
| 273 | |
| 274 | *[class~="warning"] table { |
| 275 | background-color: #fff0f0; |
| 276 | border: none; |
| 277 | } |
| 278 | |
| 279 | /* Fin */ |
| 280 | /* The End */ |
| 281 | |