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