Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | /* |
| 2 | Generic XHTML / DocBook XHTML CSS Stylesheet. |
| 3 | |
| 4 | Browser wrangling and typographic design by |
| 5 | Oyvind Kolas / pippin@gimp.org |
| 6 | |
| 7 | Customised for Poky by |
| 8 | Matthew Allum / mallum@o-hand.com |
| 9 | |
| 10 | Thanks to: |
| 11 | Liam R. E. Quin |
| 12 | William Skaggs |
| 13 | Jakub Steiner |
| 14 | |
| 15 | Structure |
| 16 | --------- |
| 17 | |
| 18 | The stylesheet is divided into the following sections: |
| 19 | |
| 20 | Positioning |
| 21 | Margins, paddings, width, font-size, clearing. |
| 22 | Decorations |
| 23 | Borders, style |
| 24 | Colors |
| 25 | Colors |
| 26 | Graphics |
| 27 | Graphical backgrounds |
| 28 | Nasty IE tweaks |
| 29 | Workarounds needed to make it work in internet explorer, |
| 30 | currently makes the stylesheet non validating, but up until |
| 31 | this point it is validating. |
| 32 | Mozilla extensions |
| 33 | Transparency for footer |
| 34 | Rounded corners on boxes |
| 35 | |
| 36 | */ |
| 37 | |
| 38 | |
| 39 | /*************** / |
| 40 | / Positioning / |
| 41 | / ***************/ |
| 42 | |
| 43 | body { |
| 44 | font-family: Verdana, Sans, sans-serif; |
| 45 | |
| 46 | min-width: 640px; |
| 47 | width: 80%; |
| 48 | margin: 0em auto; |
| 49 | padding: 2em 5em 5em 5em; |
| 50 | color: #333; |
| 51 | } |
| 52 | |
| 53 | h1,h2,h3,h4,h5,h6,h7 { |
| 54 | font-family: Arial, Sans; |
| 55 | color: #00557D; |
| 56 | clear: both; |
| 57 | } |
| 58 | |
| 59 | h1 { |
| 60 | font-size: 2em; |
| 61 | text-align: left; |
| 62 | padding: 0em 0em 0em 0em; |
| 63 | margin: 2em 0em 0em 0em; |
| 64 | } |
| 65 | |
| 66 | h2.subtitle { |
| 67 | margin: 0.10em 0em 3.0em 0em; |
| 68 | padding: 0em 0em 0em 0em; |
| 69 | font-size: 1.8em; |
| 70 | padding-left: 20%; |
| 71 | font-weight: normal; |
| 72 | font-style: italic; |
| 73 | } |
| 74 | |
| 75 | h2 { |
| 76 | margin: 2em 0em 0.66em 0em; |
| 77 | padding: 0.5em 0em 0em 0em; |
| 78 | font-size: 1.5em; |
| 79 | font-weight: bold; |
| 80 | } |
| 81 | |
| 82 | h3.subtitle { |
| 83 | margin: 0em 0em 1em 0em; |
| 84 | padding: 0em 0em 0em 0em; |
| 85 | font-size: 142.14%; |
| 86 | text-align: right; |
| 87 | } |
| 88 | |
| 89 | h3 { |
| 90 | margin: 1em 0em 0.5em 0em; |
| 91 | padding: 1em 0em 0em 0em; |
| 92 | font-size: 140%; |
| 93 | font-weight: bold; |
| 94 | } |
| 95 | |
| 96 | h4 { |
| 97 | margin: 1em 0em 0.5em 0em; |
| 98 | padding: 1em 0em 0em 0em; |
| 99 | font-size: 120%; |
| 100 | font-weight: bold; |
| 101 | } |
| 102 | |
| 103 | h5 { |
| 104 | margin: 1em 0em 0.5em 0em; |
| 105 | padding: 1em 0em 0em 0em; |
| 106 | font-size: 110%; |
| 107 | font-weight: bold; |
| 108 | } |
| 109 | |
| 110 | h6 { |
| 111 | margin: 1em 0em 0em 0em; |
| 112 | padding: 1em 0em 0em 0em; |
| 113 | font-size: 110%; |
| 114 | font-weight: bold; |
| 115 | } |
| 116 | |
| 117 | .authorgroup { |
| 118 | background-color: transparent; |
| 119 | background-repeat: no-repeat; |
| 120 | padding-top: 256px; |
| 121 | background-image: url("figures/kernel-dev-title.png"); |
| 122 | background-position: left top; |
| 123 | margin-top: -256px; |
| 124 | padding-right: 50px; |
| 125 | margin-left: 0px; |
| 126 | text-align: right; |
| 127 | width: 740px; |
| 128 | } |
| 129 | |
| 130 | h3.author { |
| 131 | margin: 0em 0me 0em 0em; |
| 132 | padding: 0em 0em 0em 0em; |
| 133 | font-weight: normal; |
| 134 | font-size: 100%; |
| 135 | color: #333; |
| 136 | clear: both; |
| 137 | } |
| 138 | |
| 139 | .author tt.email { |
| 140 | font-size: 66%; |
| 141 | } |
| 142 | |
| 143 | .titlepage hr { |
| 144 | width: 0em; |
| 145 | clear: both; |
| 146 | } |
| 147 | |
| 148 | .revhistory { |
| 149 | padding-top: 2em; |
| 150 | clear: both; |
| 151 | } |
| 152 | |
| 153 | .toc, |
| 154 | .list-of-tables, |
| 155 | .list-of-examples, |
| 156 | .list-of-figures { |
| 157 | padding: 1.33em 0em 2.5em 0em; |
| 158 | color: #00557D; |
| 159 | } |
| 160 | |
| 161 | .toc p, |
| 162 | .list-of-tables p, |
| 163 | .list-of-figures p, |
| 164 | .list-of-examples p { |
| 165 | padding: 0em 0em 0em 0em; |
| 166 | padding: 0em 0em 0.3em; |
| 167 | margin: 1.5em 0em 0em 0em; |
| 168 | } |
| 169 | |
| 170 | .toc p b, |
| 171 | .list-of-tables p b, |
| 172 | .list-of-figures p b, |
| 173 | .list-of-examples p b{ |
| 174 | font-size: 100.0%; |
| 175 | font-weight: bold; |
| 176 | } |
| 177 | |
| 178 | .toc dl, |
| 179 | .list-of-tables dl, |
| 180 | .list-of-figures dl, |
| 181 | .list-of-examples dl { |
| 182 | margin: 0em 0em 0.5em 0em; |
| 183 | padding: 0em 0em 0em 0em; |
| 184 | } |
| 185 | |
| 186 | .toc dt { |
| 187 | margin: 0em 0em 0em 0em; |
| 188 | padding: 0em 0em 0em 0em; |
| 189 | } |
| 190 | |
| 191 | .toc dd { |
| 192 | margin: 0em 0em 0em 2.6em; |
| 193 | padding: 0em 0em 0em 0em; |
| 194 | } |
| 195 | |
| 196 | div.glossary dl, |
| 197 | div.variablelist dl { |
| 198 | } |
| 199 | |
| 200 | .glossary dl dt, |
| 201 | .variablelist dl dt, |
| 202 | .variablelist dl dt span.term { |
| 203 | font-weight: normal; |
| 204 | width: 20em; |
| 205 | text-align: right; |
| 206 | } |
| 207 | |
| 208 | .variablelist dl dt { |
| 209 | margin-top: 0.5em; |
| 210 | } |
| 211 | |
| 212 | .glossary dl dd, |
| 213 | .variablelist dl dd { |
| 214 | margin-top: -1em; |
| 215 | margin-left: 25.5em; |
| 216 | } |
| 217 | |
| 218 | .glossary dd p, |
| 219 | .variablelist dd p { |
| 220 | margin-top: 0em; |
| 221 | margin-bottom: 1em; |
| 222 | } |
| 223 | |
| 224 | |
| 225 | div.calloutlist table td { |
| 226 | padding: 0em 0em 0em 0em; |
| 227 | margin: 0em 0em 0em 0em; |
| 228 | } |
| 229 | |
| 230 | div.calloutlist table td p { |
| 231 | margin-top: 0em; |
| 232 | margin-bottom: 1em; |
| 233 | } |
| 234 | |
| 235 | div p.copyright { |
| 236 | text-align: left; |
| 237 | } |
| 238 | |
| 239 | div.legalnotice p.legalnotice-title { |
| 240 | margin-bottom: 0em; |
| 241 | } |
| 242 | |
| 243 | p { |
| 244 | line-height: 1.5em; |
| 245 | margin-top: 0em; |
| 246 | |
| 247 | } |
| 248 | |
| 249 | dl { |
| 250 | padding-top: 0em; |
| 251 | } |
| 252 | |
| 253 | hr { |
| 254 | border: solid 1px; |
| 255 | } |
| 256 | |
| 257 | |
| 258 | .mediaobject, |
| 259 | .mediaobjectco { |
| 260 | text-align: center; |
| 261 | } |
| 262 | |
| 263 | img { |
| 264 | border: none; |
| 265 | } |
| 266 | |
| 267 | ul { |
| 268 | padding: 0em 0em 0em 1.5em; |
| 269 | } |
| 270 | |
| 271 | ul li { |
| 272 | padding: 0em 0em 0em 0em; |
| 273 | } |
| 274 | |
| 275 | ul li p { |
| 276 | text-align: left; |
| 277 | } |
| 278 | |
| 279 | table { |
| 280 | width :100%; |
| 281 | } |
| 282 | |
| 283 | th { |
| 284 | padding: 0.25em; |
| 285 | text-align: left; |
| 286 | font-weight: normal; |
| 287 | vertical-align: top; |
| 288 | } |
| 289 | |
| 290 | td { |
| 291 | padding: 0.25em; |
| 292 | vertical-align: top; |
| 293 | } |
| 294 | |
| 295 | p a[id] { |
| 296 | margin: 0px; |
| 297 | padding: 0px; |
| 298 | display: inline; |
| 299 | background-image: none; |
| 300 | } |
| 301 | |
| 302 | a { |
| 303 | text-decoration: underline; |
| 304 | color: #444; |
| 305 | } |
| 306 | |
| 307 | pre { |
| 308 | overflow: auto; |
| 309 | } |
| 310 | |
| 311 | a:hover { |
| 312 | text-decoration: underline; |
| 313 | /*font-weight: bold;*/ |
| 314 | } |
| 315 | |
| 316 | /* This style defines how the permalink character |
| 317 | appears by itself and when hovered over with |
| 318 | the mouse. */ |
| 319 | |
| 320 | [alt='Permalink'] { color: #eee; } |
| 321 | [alt='Permalink']:hover { color: black; } |
| 322 | |
| 323 | |
| 324 | div.informalfigure, |
| 325 | div.informalexample, |
| 326 | div.informaltable, |
| 327 | div.figure, |
| 328 | div.table, |
| 329 | div.example { |
| 330 | margin: 1em 0em; |
| 331 | padding: 1em; |
| 332 | page-break-inside: avoid; |
| 333 | } |
| 334 | |
| 335 | |
| 336 | div.informalfigure p.title b, |
| 337 | div.informalexample p.title b, |
| 338 | div.informaltable p.title b, |
| 339 | div.figure p.title b, |
| 340 | div.example p.title b, |
| 341 | div.table p.title b{ |
| 342 | padding-top: 0em; |
| 343 | margin-top: 0em; |
| 344 | font-size: 100%; |
| 345 | font-weight: normal; |
| 346 | } |
| 347 | |
| 348 | .mediaobject .caption, |
| 349 | .mediaobject .caption p { |
| 350 | text-align: center; |
| 351 | font-size: 80%; |
| 352 | padding-top: 0.5em; |
| 353 | padding-bottom: 0.5em; |
| 354 | } |
| 355 | |
| 356 | .epigraph { |
| 357 | padding-left: 55%; |
| 358 | margin-bottom: 1em; |
| 359 | } |
| 360 | |
| 361 | .epigraph p { |
| 362 | text-align: left; |
| 363 | } |
| 364 | |
| 365 | .epigraph .quote { |
| 366 | font-style: italic; |
| 367 | } |
| 368 | .epigraph .attribution { |
| 369 | font-style: normal; |
| 370 | text-align: right; |
| 371 | } |
| 372 | |
| 373 | span.application { |
| 374 | font-style: italic; |
| 375 | } |
| 376 | |
| 377 | .programlisting { |
| 378 | font-family: monospace; |
| 379 | font-size: 80%; |
| 380 | white-space: pre; |
| 381 | margin: 1.33em 0em; |
| 382 | padding: 1.33em; |
| 383 | } |
| 384 | |
| 385 | .tip, |
| 386 | .warning, |
| 387 | .caution, |
| 388 | .note { |
| 389 | margin-top: 1em; |
| 390 | margin-bottom: 1em; |
| 391 | |
| 392 | } |
| 393 | |
| 394 | /* force full width of table within div */ |
| 395 | .tip table, |
| 396 | .warning table, |
| 397 | .caution table, |
| 398 | .note table { |
| 399 | border: none; |
| 400 | width: 100%; |
| 401 | } |
| 402 | |
| 403 | |
| 404 | .tip table th, |
| 405 | .warning table th, |
| 406 | .caution table th, |
| 407 | .note table th { |
| 408 | padding: 0.8em 0.0em 0.0em 0.0em; |
| 409 | margin : 0em 0em 0em 0em; |
| 410 | } |
| 411 | |
| 412 | .tip p, |
| 413 | .warning p, |
| 414 | .caution p, |
| 415 | .note p { |
| 416 | margin-top: 0.5em; |
| 417 | margin-bottom: 0.5em; |
| 418 | padding-right: 1em; |
| 419 | text-align: left; |
| 420 | } |
| 421 | |
| 422 | .acronym { |
| 423 | text-transform: uppercase; |
| 424 | } |
| 425 | |
| 426 | b.keycap, |
| 427 | .keycap { |
| 428 | padding: 0.09em 0.3em; |
| 429 | margin: 0em; |
| 430 | } |
| 431 | |
| 432 | .itemizedlist li { |
| 433 | clear: none; |
| 434 | } |
| 435 | |
| 436 | .filename { |
| 437 | font-size: medium; |
| 438 | font-family: Courier, monospace; |
| 439 | } |
| 440 | |
| 441 | |
| 442 | div.navheader, div.heading{ |
| 443 | position: absolute; |
| 444 | left: 0em; |
| 445 | top: 0em; |
| 446 | width: 100%; |
| 447 | background-color: #cdf; |
| 448 | width: 100%; |
| 449 | } |
| 450 | |
| 451 | div.navfooter, div.footing{ |
| 452 | position: fixed; |
| 453 | left: 0em; |
| 454 | bottom: 0em; |
| 455 | background-color: #eee; |
| 456 | width: 100%; |
| 457 | } |
| 458 | |
| 459 | |
| 460 | div.navheader td, |
| 461 | div.navfooter td { |
| 462 | font-size: 66%; |
| 463 | } |
| 464 | |
| 465 | div.navheader table th { |
| 466 | /*font-family: Georgia, Times, serif;*/ |
| 467 | /*font-size: x-large;*/ |
| 468 | font-size: 80%; |
| 469 | } |
| 470 | |
| 471 | div.navheader table { |
| 472 | border-left: 0em; |
| 473 | border-right: 0em; |
| 474 | border-top: 0em; |
| 475 | width: 100%; |
| 476 | } |
| 477 | |
| 478 | div.navfooter table { |
| 479 | border-left: 0em; |
| 480 | border-right: 0em; |
| 481 | border-bottom: 0em; |
| 482 | width: 100%; |
| 483 | } |
| 484 | |
| 485 | div.navheader table td a, |
| 486 | div.navfooter table td a { |
| 487 | color: #777; |
| 488 | text-decoration: none; |
| 489 | } |
| 490 | |
| 491 | /* normal text in the footer */ |
| 492 | div.navfooter table td { |
| 493 | color: black; |
| 494 | } |
| 495 | |
| 496 | div.navheader table td a:visited, |
| 497 | div.navfooter table td a:visited { |
| 498 | color: #444; |
| 499 | } |
| 500 | |
| 501 | |
| 502 | /* links in header and footer */ |
| 503 | div.navheader table td a:hover, |
| 504 | div.navfooter table td a:hover { |
| 505 | text-decoration: underline; |
| 506 | background-color: transparent; |
| 507 | color: #33a; |
| 508 | } |
| 509 | |
| 510 | div.navheader hr, |
| 511 | div.navfooter hr { |
| 512 | display: none; |
| 513 | } |
| 514 | |
| 515 | |
| 516 | .qandaset tr.question td p { |
| 517 | margin: 0em 0em 1em 0em; |
| 518 | padding: 0em 0em 0em 0em; |
| 519 | } |
| 520 | |
| 521 | .qandaset tr.answer td p { |
| 522 | margin: 0em 0em 1em 0em; |
| 523 | padding: 0em 0em 0em 0em; |
| 524 | } |
| 525 | .answer td { |
| 526 | padding-bottom: 1.5em; |
| 527 | } |
| 528 | |
| 529 | .emphasis { |
| 530 | font-weight: bold; |
| 531 | } |
| 532 | |
| 533 | |
| 534 | /************* / |
| 535 | / decorations / |
| 536 | / *************/ |
| 537 | |
| 538 | .titlepage { |
| 539 | } |
| 540 | |
| 541 | .part .title { |
| 542 | } |
| 543 | |
| 544 | .subtitle { |
| 545 | border: none; |
| 546 | } |
| 547 | |
| 548 | /* |
| 549 | h1 { |
| 550 | border: none; |
| 551 | } |
| 552 | |
| 553 | h2 { |
| 554 | border-top: solid 0.2em; |
| 555 | border-bottom: solid 0.06em; |
| 556 | } |
| 557 | |
| 558 | h3 { |
| 559 | border-top: 0em; |
| 560 | border-bottom: solid 0.06em; |
| 561 | } |
| 562 | |
| 563 | h4 { |
| 564 | border: 0em; |
| 565 | border-bottom: solid 0.06em; |
| 566 | } |
| 567 | |
| 568 | h5 { |
| 569 | border: 0em; |
| 570 | } |
| 571 | */ |
| 572 | |
| 573 | .programlisting { |
| 574 | border: solid 1px; |
| 575 | } |
| 576 | |
| 577 | div.figure, |
| 578 | div.table, |
| 579 | div.informalfigure, |
| 580 | div.informaltable, |
| 581 | div.informalexample, |
| 582 | div.example { |
| 583 | border: 1px solid; |
| 584 | } |
| 585 | |
| 586 | |
| 587 | |
| 588 | .tip, |
| 589 | .warning, |
| 590 | .caution, |
| 591 | .note { |
| 592 | border: 1px solid; |
| 593 | } |
| 594 | |
| 595 | .tip table th, |
| 596 | .warning table th, |
| 597 | .caution table th, |
| 598 | .note table th { |
| 599 | border-bottom: 1px solid; |
| 600 | } |
| 601 | |
| 602 | .question td { |
| 603 | border-top: 1px solid black; |
| 604 | } |
| 605 | |
| 606 | .answer { |
| 607 | } |
| 608 | |
| 609 | |
| 610 | b.keycap, |
| 611 | .keycap { |
| 612 | border: 1px solid; |
| 613 | } |
| 614 | |
| 615 | |
| 616 | div.navheader, div.heading{ |
| 617 | border-bottom: 1px solid; |
| 618 | } |
| 619 | |
| 620 | |
| 621 | div.navfooter, div.footing{ |
| 622 | border-top: 1px solid; |
| 623 | } |
| 624 | |
| 625 | /********* / |
| 626 | / colors / |
| 627 | / *********/ |
| 628 | |
| 629 | body { |
| 630 | color: #333; |
| 631 | background: white; |
| 632 | } |
| 633 | |
| 634 | a { |
| 635 | background: transparent; |
| 636 | } |
| 637 | |
| 638 | a:hover { |
| 639 | background-color: #dedede; |
| 640 | } |
| 641 | |
| 642 | |
| 643 | h1, |
| 644 | h2, |
| 645 | h3, |
| 646 | h4, |
| 647 | h5, |
| 648 | h6, |
| 649 | h7, |
| 650 | h8 { |
| 651 | background-color: transparent; |
| 652 | } |
| 653 | |
| 654 | hr { |
| 655 | border-color: #aaa; |
| 656 | } |
| 657 | |
| 658 | |
| 659 | .tip, .warning, .caution, .note { |
| 660 | border-color: #fff; |
| 661 | } |
| 662 | |
| 663 | |
| 664 | .tip table th, |
| 665 | .warning table th, |
| 666 | .caution table th, |
| 667 | .note table th { |
| 668 | border-bottom-color: #fff; |
| 669 | } |
| 670 | |
| 671 | |
| 672 | .warning { |
| 673 | background-color: #f0f0f2; |
| 674 | } |
| 675 | |
| 676 | .caution { |
| 677 | background-color: #f0f0f2; |
| 678 | } |
| 679 | |
| 680 | .tip { |
| 681 | background-color: #f0f0f2; |
| 682 | } |
| 683 | |
| 684 | .note { |
| 685 | background-color: #f0f0f2; |
| 686 | } |
| 687 | |
| 688 | .glossary dl dt, |
| 689 | .variablelist dl dt, |
| 690 | .variablelist dl dt span.term { |
| 691 | color: #044; |
| 692 | } |
| 693 | |
| 694 | div.figure, |
| 695 | div.table, |
| 696 | div.example, |
| 697 | div.informalfigure, |
| 698 | div.informaltable, |
| 699 | div.informalexample { |
| 700 | border-color: #aaa; |
| 701 | } |
| 702 | |
| 703 | pre.programlisting { |
| 704 | color: black; |
| 705 | background-color: #fff; |
| 706 | border-color: #aaa; |
| 707 | border-width: 2px; |
| 708 | } |
| 709 | |
| 710 | .guimenu, |
| 711 | .guilabel, |
| 712 | .guimenuitem { |
| 713 | background-color: #eee; |
| 714 | } |
| 715 | |
| 716 | |
| 717 | b.keycap, |
| 718 | .keycap { |
| 719 | background-color: #eee; |
| 720 | border-color: #999; |
| 721 | } |
| 722 | |
| 723 | |
| 724 | div.navheader { |
| 725 | border-color: black; |
| 726 | } |
| 727 | |
| 728 | |
| 729 | div.navfooter { |
| 730 | border-color: black; |
| 731 | } |
| 732 | |
| 733 | |
| 734 | /*********** / |
| 735 | / graphics / |
| 736 | / ***********/ |
| 737 | |
| 738 | /* |
| 739 | body { |
| 740 | background-image: url("images/body_bg.jpg"); |
| 741 | background-attachment: fixed; |
| 742 | } |
| 743 | |
| 744 | .navheader, |
| 745 | .note, |
| 746 | .tip { |
| 747 | background-image: url("images/note_bg.jpg"); |
| 748 | background-attachment: fixed; |
| 749 | } |
| 750 | |
| 751 | .warning, |
| 752 | .caution { |
| 753 | background-image: url("images/warning_bg.jpg"); |
| 754 | background-attachment: fixed; |
| 755 | } |
| 756 | |
| 757 | .figure, |
| 758 | .informalfigure, |
| 759 | .example, |
| 760 | .informalexample, |
| 761 | .table, |
| 762 | .informaltable { |
| 763 | background-image: url("images/figure_bg.jpg"); |
| 764 | background-attachment: fixed; |
| 765 | } |
| 766 | |
| 767 | */ |
| 768 | h1, |
| 769 | h2, |
| 770 | h3, |
| 771 | h4, |
| 772 | h5, |
| 773 | h6, |
| 774 | h7{ |
| 775 | } |
| 776 | |
| 777 | /* |
| 778 | Example of how to stick an image as part of the title. |
| 779 | |
| 780 | div.article .titlepage .title |
| 781 | { |
| 782 | background-image: url("figures/white-on-black.png"); |
| 783 | background-position: center; |
| 784 | background-repeat: repeat-x; |
| 785 | } |
| 786 | */ |
| 787 | |
| 788 | div.preface .titlepage .title, |
| 789 | div.colophon .title, |
| 790 | div.chapter .titlepage .title, |
| 791 | div.article .titlepage .title |
| 792 | { |
| 793 | } |
| 794 | |
| 795 | div.section div.section .titlepage .title, |
| 796 | div.sect2 .titlepage .title { |
| 797 | background: none; |
| 798 | } |
| 799 | |
| 800 | |
| 801 | h1.title { |
| 802 | background-color: transparent; |
| 803 | background-repeat: no-repeat; |
| 804 | height: 256px; |
| 805 | text-indent: -9000px; |
| 806 | overflow:hidden; |
| 807 | } |
| 808 | |
| 809 | h2.subtitle { |
| 810 | background-color: transparent; |
| 811 | text-indent: -9000px; |
| 812 | overflow:hidden; |
| 813 | width: 0px; |
| 814 | display: none; |
| 815 | } |
| 816 | |
| 817 | /*************************************** / |
| 818 | / pippin.gimp.org specific alterations / |
| 819 | / ***************************************/ |
| 820 | |
| 821 | /* |
| 822 | div.heading, div.navheader { |
| 823 | color: #777; |
| 824 | font-size: 80%; |
| 825 | padding: 0; |
| 826 | margin: 0; |
| 827 | text-align: left; |
| 828 | position: absolute; |
| 829 | top: 0px; |
| 830 | left: 0px; |
| 831 | width: 100%; |
| 832 | height: 50px; |
| 833 | background: url('/gfx/heading_bg.png') transparent; |
| 834 | background-repeat: repeat-x; |
| 835 | background-attachment: fixed; |
| 836 | border: none; |
| 837 | } |
| 838 | |
| 839 | div.heading a { |
| 840 | color: #444; |
| 841 | } |
| 842 | |
| 843 | div.footing, div.navfooter { |
| 844 | border: none; |
| 845 | color: #ddd; |
| 846 | font-size: 80%; |
| 847 | text-align:right; |
| 848 | |
| 849 | width: 100%; |
| 850 | padding-top: 10px; |
| 851 | position: absolute; |
| 852 | bottom: 0px; |
| 853 | left: 0px; |
| 854 | |
| 855 | background: url('/gfx/footing_bg.png') transparent; |
| 856 | } |
| 857 | */ |
| 858 | |
| 859 | |
| 860 | |
| 861 | /****************** / |
| 862 | / nasty ie tweaks / |
| 863 | / ******************/ |
| 864 | |
| 865 | /* |
| 866 | div.heading, div.navheader { |
| 867 | width:expression(document.body.clientWidth + "px"); |
| 868 | } |
| 869 | |
| 870 | div.footing, div.navfooter { |
| 871 | width:expression(document.body.clientWidth + "px"); |
| 872 | margin-left:expression("-5em"); |
| 873 | } |
| 874 | body { |
| 875 | padding:expression("4em 5em 0em 5em"); |
| 876 | } |
| 877 | */ |
| 878 | |
| 879 | /**************************************** / |
| 880 | / mozilla vendor specific css extensions / |
| 881 | / ****************************************/ |
| 882 | /* |
| 883 | div.navfooter, div.footing{ |
| 884 | -moz-opacity: 0.8em; |
| 885 | } |
| 886 | |
| 887 | div.figure, |
| 888 | div.table, |
| 889 | div.informalfigure, |
| 890 | div.informaltable, |
| 891 | div.informalexample, |
| 892 | div.example, |
| 893 | .tip, |
| 894 | .warning, |
| 895 | .caution, |
| 896 | .note { |
| 897 | -moz-border-radius: 0.5em; |
| 898 | } |
| 899 | |
| 900 | b.keycap, |
| 901 | .keycap { |
| 902 | -moz-border-radius: 0.3em; |
| 903 | } |
| 904 | */ |
| 905 | |
| 906 | table tr td table tr td { |
| 907 | display: none; |
| 908 | } |
| 909 | |
| 910 | |
| 911 | hr { |
| 912 | display: none; |
| 913 | } |
| 914 | |
| 915 | table { |
| 916 | border: 0em; |
| 917 | } |
| 918 | |
| 919 | .photo { |
| 920 | float: right; |
| 921 | margin-left: 1.5em; |
| 922 | margin-bottom: 1.5em; |
| 923 | margin-top: 0em; |
| 924 | max-width: 17em; |
| 925 | border: 1px solid gray; |
| 926 | padding: 3px; |
| 927 | background: white; |
| 928 | } |
| 929 | .seperator { |
| 930 | padding-top: 2em; |
| 931 | clear: both; |
| 932 | } |
| 933 | |
| 934 | #validators { |
| 935 | margin-top: 5em; |
| 936 | text-align: right; |
| 937 | color: #777; |
| 938 | } |
| 939 | @media print { |
| 940 | body { |
| 941 | font-size: 8pt; |
| 942 | } |
| 943 | .noprint { |
| 944 | display: none; |
| 945 | } |
| 946 | } |
| 947 | |
| 948 | |
| 949 | .tip, |
| 950 | .note { |
| 951 | background: #f0f0f2; |
| 952 | color: #333; |
| 953 | padding: 20px; |
| 954 | margin: 20px; |
| 955 | } |
| 956 | |
| 957 | .tip h3, |
| 958 | .note h3 { |
| 959 | padding: 0em; |
| 960 | margin: 0em; |
| 961 | font-size: 2em; |
| 962 | font-weight: bold; |
| 963 | color: #333; |
| 964 | } |
| 965 | |
| 966 | .tip a, |
| 967 | .note a { |
| 968 | color: #333; |
| 969 | text-decoration: underline; |
| 970 | } |
| 971 | |
| 972 | .footnote { |
| 973 | font-size: small; |
| 974 | color: #333; |
| 975 | } |
| 976 | |
| 977 | /* Changes the announcement text */ |
| 978 | .tip h3, |
| 979 | .warning h3, |
| 980 | .caution h3, |
| 981 | .note h3 { |
| 982 | font-size:large; |
| 983 | color: #00557D; |
| 984 | } |