| 1 | /* | 
|---|
| 2 | * A CSS stylesheet for XHTML 1.0 *Strict DTD* | 
|---|
| 3 | * | 
|---|
| 4 | * A basic (default) CSS for XXE and eclipseos2 project | 
|---|
| 5 | * | 
|---|
| 6 | * Changed from xhtml.css a bit (some bugs fixed and made more | 
|---|
| 7 | * comparable with Mozila defaults). | 
|---|
| 8 | * | 
|---|
| 9 | * Since XXE needs all elements to be defined explictly (but | 
|---|
| 10 | * browsers can interpret this definition in the other way) | 
|---|
| 11 | * we make a separate (more narrow) CSS for browser and just paste | 
|---|
| 12 | * it at the end of the file to simplify the synchronization of | 
|---|
| 13 | * updates. | 
|---|
| 14 | * | 
|---|
| 15 | */ | 
|---|
| 16 |  | 
|---|
| 17 | html, | 
|---|
| 18 | head, | 
|---|
| 19 | body, | 
|---|
| 20 | div, | 
|---|
| 21 | p, | 
|---|
| 22 | h1, h2, h3, h4, h5, h6, | 
|---|
| 23 | ul, ol, li, | 
|---|
| 24 | dl, dt, dd, | 
|---|
| 25 | address, | 
|---|
| 26 | hr, | 
|---|
| 27 | pre, | 
|---|
| 28 | blockquote { | 
|---|
| 29 | display: block; | 
|---|
| 30 | } | 
|---|
| 31 |  | 
|---|
| 32 | title { | 
|---|
| 33 | display: none; | 
|---|
| 34 | } | 
|---|
| 35 |  | 
|---|
| 36 | /* | 
|---|
| 37 | base, | 
|---|
| 38 | meta, | 
|---|
| 39 | link, | 
|---|
| 40 | style, | 
|---|
| 41 | script, | 
|---|
| 42 | noscript { | 
|---|
| 43 | display: tree; | 
|---|
| 44 | } | 
|---|
| 45 | */ | 
|---|
| 46 |  | 
|---|
| 47 | object, param, | 
|---|
| 48 | map, area, | 
|---|
| 49 | form, label, | 
|---|
| 50 | input, | 
|---|
| 51 | select, optgroup, option, | 
|---|
| 52 | textarea, | 
|---|
| 53 | fieldset, legend, | 
|---|
| 54 | button { | 
|---|
| 55 | display: tree; | 
|---|
| 56 | } | 
|---|
| 57 |  | 
|---|
| 58 | /* | 
|---|
| 59 | * By default these elements are displayed inline: | 
|---|
| 60 | * | 
|---|
| 61 | * a, | 
|---|
| 62 | * span, | 
|---|
| 63 | * bdo, | 
|---|
| 64 | * br, | 
|---|
| 65 | * em, strong, | 
|---|
| 66 | * dfn, | 
|---|
| 67 | * code, | 
|---|
| 68 | * samp, | 
|---|
| 69 | * kbd, | 
|---|
| 70 | * var, | 
|---|
| 71 | * cite, | 
|---|
| 72 | * abbr, acronym, | 
|---|
| 73 | * q, | 
|---|
| 74 | * sub, sup, | 
|---|
| 75 | * tt, i, b, | 
|---|
| 76 | * big, small, | 
|---|
| 77 | * img | 
|---|
| 78 | */ | 
|---|
| 79 |  | 
|---|
| 80 | /* | 
|---|
| 81 | * Title styles | 
|---|
| 82 | */ | 
|---|
| 83 |  | 
|---|
| 84 | h1, h2, h3, h4, h5, h6 { | 
|---|
| 85 | font-weight: bold; | 
|---|
| 86 | } | 
|---|
| 87 | h1 { | 
|---|
| 88 | font-size: 2em; | 
|---|
| 89 | margin-top: 1.33ex; | 
|---|
| 90 | margin-bottom: 1.33ex; | 
|---|
| 91 | } | 
|---|
| 92 | h2 { | 
|---|
| 93 | font-size: 1.5em; | 
|---|
| 94 | margin-top: 1.33ex; | 
|---|
| 95 | margin-bottom: 1.33ex; | 
|---|
| 96 | } | 
|---|
| 97 | h3 { | 
|---|
| 98 | font-size: 1.17em; | 
|---|
| 99 | margin-top: 1.33ex; | 
|---|
| 100 | margin-bottom: 1.33ex; | 
|---|
| 101 | } | 
|---|
| 102 | h4, h5, h6 { | 
|---|
| 103 | font-size: 1em; | 
|---|
| 104 | margin-top: 1.33ex; | 
|---|
| 105 | margin-bottom: 1.33ex; | 
|---|
| 106 | } | 
|---|
| 107 |  | 
|---|
| 108 | /* | 
|---|
| 109 | * Table style | 
|---|
| 110 | */ | 
|---|
| 111 |  | 
|---|
| 112 | table { | 
|---|
| 113 | display: table; | 
|---|
| 114 | border: 1px outset gray; | 
|---|
| 115 | /*    border-spacing: 0; */ | 
|---|
| 116 | margin-top: 1.33ex; | 
|---|
| 117 | margin-bottom: 1.33ex; | 
|---|
| 118 | } | 
|---|
| 119 | caption { | 
|---|
| 120 | display: table-caption; | 
|---|
| 121 | font-style: italic; | 
|---|
| 122 | text-align: center; | 
|---|
| 123 | margin-left: 2ex; | 
|---|
| 124 | margin-right: 2ex; | 
|---|
| 125 | margin-top: 2px; | 
|---|
| 126 | margin-bottom: 2px; | 
|---|
| 127 | } | 
|---|
| 128 | colgroup { | 
|---|
| 129 | display: table-column-group; | 
|---|
| 130 | } | 
|---|
| 131 | col { | 
|---|
| 132 | display: table-column; | 
|---|
| 133 | } | 
|---|
| 134 | thead, tbody, tfoot { | 
|---|
| 135 | display: table-row-group; | 
|---|
| 136 | text-align: eval(attr(align)); | 
|---|
| 137 | } | 
|---|
| 138 | tr { | 
|---|
| 139 | display: table-row; | 
|---|
| 140 | text-align: eval(attr(align)); | 
|---|
| 141 | } | 
|---|
| 142 | td, th { | 
|---|
| 143 | display: table-cell; | 
|---|
| 144 | text-align: eval(attr(align)); | 
|---|
| 145 | vertical-align: eval(attr(valign)); | 
|---|
| 146 | row-span: eval(attr(rowspan)); | 
|---|
| 147 | column-span: eval(attr(colspan)); | 
|---|
| 148 | border: 1px inset gray; | 
|---|
| 149 | padding: 2px; | 
|---|
| 150 | } | 
|---|
| 151 | th { | 
|---|
| 152 | font-weight: bold; | 
|---|
| 153 | } | 
|---|
| 154 |  | 
|---|
| 155 | /* | 
|---|
| 156 | * Block styles | 
|---|
| 157 | */ | 
|---|
| 158 |  | 
|---|
| 159 | p { | 
|---|
| 160 | margin-top: 1.33ex; | 
|---|
| 161 | margin-bottom: 1.33ex; | 
|---|
| 162 | } | 
|---|
| 163 |  | 
|---|
| 164 | ul { | 
|---|
| 165 | margin-left: 2ex; | 
|---|
| 166 | margin-top: 1.33ex; | 
|---|
| 167 | margin-bottom: 1.33ex; | 
|---|
| 168 | } | 
|---|
| 169 | ul > li { | 
|---|
| 170 | margin-left: 2.5ex; | 
|---|
| 171 | } | 
|---|
| 172 | ul > li:before { | 
|---|
| 173 | display: marker; | 
|---|
| 174 | content: disc; | 
|---|
| 175 | } | 
|---|
| 176 | ul > li ul > li:before { | 
|---|
| 177 | display: marker; | 
|---|
| 178 | content: square; | 
|---|
| 179 | } | 
|---|
| 180 | ul > li ul > li ul > li:before { | 
|---|
| 181 | display: marker; | 
|---|
| 182 | content: icon(diamond); | 
|---|
| 183 | } | 
|---|
| 184 | ul > li ul > li ul > li ul > li:before { | 
|---|
| 185 | display: marker; | 
|---|
| 186 | content: circle; | 
|---|
| 187 | } | 
|---|
| 188 |  | 
|---|
| 189 | ol { | 
|---|
| 190 | margin-left: 2ex; | 
|---|
| 191 | margin-top: 1.33ex; | 
|---|
| 192 | margin-bottom: 1.33ex; | 
|---|
| 193 | } | 
|---|
| 194 | ol > li { | 
|---|
| 195 | margin-left: 6ex; | 
|---|
| 196 | } | 
|---|
| 197 | ol > li:before { | 
|---|
| 198 | display: marker; | 
|---|
| 199 | content: counter(n, decimal); | 
|---|
| 200 | font-weight: bold; | 
|---|
| 201 | } | 
|---|
| 202 | ol[style~=lower-alpha] > li:before { | 
|---|
| 203 | display: marker; | 
|---|
| 204 | content: counter(n, lower-alpha); | 
|---|
| 205 | } | 
|---|
| 206 | ol[style~=upper-alpha] > li:before { | 
|---|
| 207 | display: marker; | 
|---|
| 208 | content: counter(n, upper-alpha); | 
|---|
| 209 | } | 
|---|
| 210 | ol[style~=lower-roman] > li:before { | 
|---|
| 211 | display: marker; | 
|---|
| 212 | content: counter(n, lower-roman); | 
|---|
| 213 | } | 
|---|
| 214 | ol[style~=upper-roman] > li:before { | 
|---|
| 215 | display: marker; | 
|---|
| 216 | content: counter(n, upper-roman); | 
|---|
| 217 | } | 
|---|
| 218 |  | 
|---|
| 219 | ol ul, ul ol, ul ul, ol ol { | 
|---|
| 220 | margin-top: 0; | 
|---|
| 221 | margin-bottom: 0; | 
|---|
| 222 | } | 
|---|
| 223 |  | 
|---|
| 224 | dl { | 
|---|
| 225 | /*    margin-left: 2ex;*/ | 
|---|
| 226 | margin-top: 1.33ex; | 
|---|
| 227 | /*    margin-bottom: 1.33ex;*/ | 
|---|
| 228 | } | 
|---|
| 229 | dt { | 
|---|
| 230 | font-weight: bold; | 
|---|
| 231 | } | 
|---|
| 232 | dd { | 
|---|
| 233 | margin-left: 4ex; | 
|---|
| 234 | margin-bottom: 1.33ex; | 
|---|
| 235 | } | 
|---|
| 236 |  | 
|---|
| 237 | pre { | 
|---|
| 238 | white-space: pre; | 
|---|
| 239 | font-family: monospace; | 
|---|
| 240 | font-size: 1em; | 
|---|
| 241 | margin-top: 1.33ex; | 
|---|
| 242 | margin-bottom: 1.33ex; | 
|---|
| 243 | } | 
|---|
| 244 |  | 
|---|
| 245 | blockquote { | 
|---|
| 246 | margin-left: 40px; | 
|---|
| 247 | margin-right: 40px; | 
|---|
| 248 | margin-top: 1.33ex; | 
|---|
| 249 | margin-bottom: 1.33ex; | 
|---|
| 250 | } | 
|---|
| 251 |  | 
|---|
| 252 | address { | 
|---|
| 253 | font-style: italic; | 
|---|
| 254 | } | 
|---|
| 255 |  | 
|---|
| 256 | hr { | 
|---|
| 257 | content: icon(invisible) icon(invisible); | 
|---|
| 258 | border: 2px inset gray; | 
|---|
| 259 | } | 
|---|
| 260 |  | 
|---|
| 261 | /* Wrap <div class="center"> around some blocks to center them. */ | 
|---|
| 262 | .center { | 
|---|
| 263 | margin-left: auto; | 
|---|
| 264 | margin-right: auto; | 
|---|
| 265 | text-align: center; | 
|---|
| 266 | } | 
|---|
| 267 |  | 
|---|
| 268 | /* | 
|---|
| 269 | * Ins/del special case. When this is really needed, put the ins/del into | 
|---|
| 270 | * a span to force inline display. | 
|---|
| 271 | */ | 
|---|
| 272 |  | 
|---|
| 273 | ins { | 
|---|
| 274 | display: block; | 
|---|
| 275 | border-width: 2px; | 
|---|
| 276 | border-style: solid; | 
|---|
| 277 | border-color: transparent blue transparent transparent; | 
|---|
| 278 | padding-right: 5px; | 
|---|
| 279 | } | 
|---|
| 280 |  | 
|---|
| 281 | p ins, | 
|---|
| 282 | h1 ins, h2 ins, h3 ins, h4 ins, h5 ins, h6 ins, | 
|---|
| 283 | dt ins, | 
|---|
| 284 | address ins, | 
|---|
| 285 | a ins, | 
|---|
| 286 | span ins, | 
|---|
| 287 | bdo ins, | 
|---|
| 288 | em ins, strong ins, | 
|---|
| 289 | dfn ins, | 
|---|
| 290 | code ins, | 
|---|
| 291 | samp ins, | 
|---|
| 292 | kbd ins, | 
|---|
| 293 | var ins, | 
|---|
| 294 | cite ins, | 
|---|
| 295 | abbr ins, acronym ins, | 
|---|
| 296 | q ins, | 
|---|
| 297 | sub ins, sup ins, | 
|---|
| 298 | tt ins, i ins, b ins, | 
|---|
| 299 | big ins, small ins { | 
|---|
| 300 | display: inline; | 
|---|
| 301 | text-decoration: underline; | 
|---|
| 302 | } | 
|---|
| 303 |  | 
|---|
| 304 | del { | 
|---|
| 305 | display: block; | 
|---|
| 306 | color: gray; | 
|---|
| 307 | border-width: 2px; | 
|---|
| 308 | border-style: solid; | 
|---|
| 309 | border-color: transparent gray transparent transparent; | 
|---|
| 310 | padding-right: 5px; | 
|---|
| 311 | } | 
|---|
| 312 |  | 
|---|
| 313 | p del, | 
|---|
| 314 | h1 del, h2 del, h3 del, h4 del, h5 del, h6 del, | 
|---|
| 315 | dt del, | 
|---|
| 316 | address del, | 
|---|
| 317 | a del, | 
|---|
| 318 | span del, | 
|---|
| 319 | bdo del, | 
|---|
| 320 | em del, strong del, | 
|---|
| 321 | dfn del, | 
|---|
| 322 | code del, | 
|---|
| 323 | samp del, | 
|---|
| 324 | kbd del, | 
|---|
| 325 | var del, | 
|---|
| 326 | cite del, | 
|---|
| 327 | abbr del, acronym del, | 
|---|
| 328 | q del, | 
|---|
| 329 | sub del, sup del, | 
|---|
| 330 | tt del, i del, b del, | 
|---|
| 331 | big del, small del { | 
|---|
| 332 | display: inline; | 
|---|
| 333 | text-decoration: line-through; | 
|---|
| 334 | } | 
|---|
| 335 |  | 
|---|
| 336 | /* | 
|---|
| 337 | * Inline styles | 
|---|
| 338 | */ | 
|---|
| 339 |  | 
|---|
| 340 | b, | 
|---|
| 341 | strong { | 
|---|
| 342 | font-weight: bold; | 
|---|
| 343 | } | 
|---|
| 344 |  | 
|---|
| 345 | i, | 
|---|
| 346 | em, | 
|---|
| 347 | cite, | 
|---|
| 348 | q, | 
|---|
| 349 | var { | 
|---|
| 350 | font-style: italic; | 
|---|
| 351 | } | 
|---|
| 352 |  | 
|---|
| 353 | tt, | 
|---|
| 354 | kbd, | 
|---|
| 355 | code, | 
|---|
| 356 | samp, | 
|---|
| 357 | var { | 
|---|
| 358 | font-family: monospace; | 
|---|
| 359 | font-size: 1em; | 
|---|
| 360 | } | 
|---|
| 361 |  | 
|---|
| 362 | abbr, | 
|---|
| 363 | acronym { | 
|---|
| 364 | font-weight: bold; | 
|---|
| 365 | } | 
|---|
| 366 |  | 
|---|
| 367 | dfn { | 
|---|
| 368 | background-color: #FFFFE0; | 
|---|
| 369 | } | 
|---|
| 370 |  | 
|---|
| 371 | a[href] { | 
|---|
| 372 | color: navy; | 
|---|
| 373 | text-decoration: underline; | 
|---|
| 374 | } | 
|---|
| 375 | a[name]:after { | 
|---|
| 376 | content: icon(right-target); | 
|---|
| 377 | color: olive; | 
|---|
| 378 | vertical-align: text-top; | 
|---|
| 379 | } | 
|---|
| 380 |  | 
|---|
| 381 | big { | 
|---|
| 382 | font-size: 1.17em; | 
|---|
| 383 | } | 
|---|
| 384 | small { | 
|---|
| 385 | font-size: .83em; | 
|---|
| 386 | } | 
|---|
| 387 |  | 
|---|
| 388 | sub, | 
|---|
| 389 | sup { | 
|---|
| 390 | font-size: .83em; | 
|---|
| 391 | } | 
|---|
| 392 | sub { | 
|---|
| 393 | vertical-align: sub; | 
|---|
| 394 | } | 
|---|
| 395 | sup { | 
|---|
| 396 | vertical-align: super; | 
|---|
| 397 | } | 
|---|
| 398 |  | 
|---|
| 399 | br:before { | 
|---|
| 400 | content: "\A"; | 
|---|
| 401 | color: olive; | 
|---|
| 402 | } | 
|---|
| 403 |  | 
|---|
| 404 | /* | 
|---|
| 405 | *  Showing a 400x200 thumbnail is sufficient. | 
|---|
| 406 | *  If you don't like that, replace the content property by a more traditional: | 
|---|
| 407 | *  content: image(attr(src), attr(width), attr(height)); | 
|---|
| 408 | */ | 
|---|
| 409 | img { | 
|---|
| 410 | content: image(attr(src), -400, -200); | 
|---|
| 411 | } | 
|---|
| 412 |  | 
|---|
| 413 | @media print { | 
|---|
| 414 | base, | 
|---|
| 415 | meta, | 
|---|
| 416 | link, | 
|---|
| 417 | style, | 
|---|
| 418 | script, | 
|---|
| 419 | noscript { | 
|---|
| 420 | display: none; | 
|---|
| 421 | } | 
|---|
| 422 |  | 
|---|
| 423 | meta[name=author][content], | 
|---|
| 424 | meta[name=date][content] { | 
|---|
| 425 | display: block; | 
|---|
| 426 | text-align: center; | 
|---|
| 427 | /* | 
|---|
| 428 | * Without paragraph(), a static text label is used | 
|---|
| 429 | * and words are not wrapped. | 
|---|
| 430 | */ | 
|---|
| 431 | content: paragraph(attr(content)); | 
|---|
| 432 | } | 
|---|
| 433 |  | 
|---|
| 434 | colgroup, col { | 
|---|
| 435 | display: none; | 
|---|
| 436 | } | 
|---|
| 437 |  | 
|---|
| 438 | * { | 
|---|
| 439 | background-color: transparent; | 
|---|
| 440 | line-height: 1.2; | 
|---|
| 441 | } | 
|---|
| 442 |  | 
|---|
| 443 | pre { | 
|---|
| 444 | background-color: #FFFFE0; | 
|---|
| 445 | border: 1px solid #E0E0A0; | 
|---|
| 446 | } | 
|---|
| 447 |  | 
|---|
| 448 | img { | 
|---|
| 449 | content: image(attr(src), -500, -700, smooth); | 
|---|
| 450 | } | 
|---|
| 451 | } | 
|---|
| 452 |  | 
|---|
| 453 | /* | 
|---|
| 454 | * A CSS stylesheet for eclipseos2 project | 
|---|
| 455 | * | 
|---|
| 456 | */ | 
|---|
| 457 |  | 
|---|
| 458 | html { | 
|---|
| 459 | font-family: Arial, sans-serif; | 
|---|
| 460 | } | 
|---|
| 461 |  | 
|---|
| 462 | head, title { | 
|---|
| 463 | display: block; | 
|---|
| 464 | } | 
|---|
| 465 |  | 
|---|
| 466 | title { | 
|---|
| 467 | text-align: center; | 
|---|
| 468 | font-weight: bold; | 
|---|
| 469 | font-size: 2em; | 
|---|
| 470 | color: black; | 
|---|
| 471 | margin-top: .67ex; | 
|---|
| 472 | margin-bottom: .67ex; | 
|---|
| 473 | padding: 1ex; | 
|---|
| 474 | background-color: #ADD8E6; | 
|---|
| 475 | } | 
|---|
| 476 |  | 
|---|
| 477 | h1, h2, h3, h4, h5, h6 { | 
|---|
| 478 | color: #800000; | 
|---|
| 479 | } | 
|---|
| 480 | h1 { | 
|---|
| 481 | font-size: 1.8em; | 
|---|
| 482 | } | 
|---|
| 483 | h2 { | 
|---|
| 484 | font-size: 1.33em; | 
|---|
| 485 | } | 
|---|
| 486 | h4 { | 
|---|
| 487 | color: black; | 
|---|
| 488 | } | 
|---|
| 489 |  | 
|---|
| 490 | table { | 
|---|
| 491 | border: 1px outset gray; | 
|---|
| 492 | border-spacing: 0px; | 
|---|
| 493 | } | 
|---|
| 494 |  | 
|---|
| 495 | td, th { | 
|---|
| 496 | border: 1px inset gray; | 
|---|
| 497 | padding: 2px; | 
|---|
| 498 | vertical-align: baseline; | 
|---|
| 499 | } | 
|---|
| 500 |  | 
|---|
| 501 | kbd { | 
|---|
| 502 | color: rgb(173,103,62); /* #4C7F7F; */ /* #4682B4; */ | 
|---|
| 503 | } | 
|---|
| 504 |  | 
|---|
| 505 | code { | 
|---|
| 506 | color: rgb(51,102,153); /* #000090; */ /*blue;*/ /* #4169E1; */ | 
|---|
| 507 | } | 
|---|
| 508 |  | 
|---|
| 509 | dt { | 
|---|
| 510 | font-weight: bold; | 
|---|
| 511 | } | 
|---|
| 512 |  | 
|---|
| 513 | pre { | 
|---|
| 514 | background-color: #E0E0E0; | 
|---|
| 515 | border: thin solid gray; | 
|---|
| 516 | } | 
|---|
| 517 |  | 
|---|
| 518 | a[href] { | 
|---|
| 519 | color: #007800; /*#228B22; */ | 
|---|
| 520 | } | 
|---|