1 /* 2 * This CSS is taken from wikipedia / mediawiki, it's the combined files of 3 * the vector skin described at: 4 * 5 * http://en.wikipedia.org/wiki/Wikipedia:Catalogue_of_CSS_classes 6 */ 7 8 /* 9 * Any rules which should not be flipped automatically in right-to-left situations should be 10 * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs 11 * should be prepended with @embed in a comment block. 12 * 13 * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web 14 * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using 15 * a rule that makes things work in IE6, and then following it with a rule that begins with 16 * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support 17 * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and 18 * "IGNORED BY IE6" comments. 19 */ 20 21 /* Framework */ 22 html, 23 body { 24 height: 100%; 25 margin: 0; 26 padding: 0; 27 font-family: sans-serif; 28 font-size: 1em; 29 } 30 body { 31 background-color: #f3f3f3; 32 /* @embed */ 33 background-image: url(images/page-base.png); 34 } 35 /* Content */ 36 div#content { 37 margin-left: 10em; 38 padding: 1em; 39 /* @embed */ 40 background-image: url(images/border.png); 41 background-position: top left; 42 background-repeat: repeat-y; 43 background-color: white; 44 color: black; 45 direction: ltr; 46 } 47 /* Head */ 48 #mw-page-base { 49 height: 5em; 50 background-color: white; 51 /* @embed */ 52 background-image: url(images/page-fade.png); 53 background-position: bottom left; 54 background-repeat: repeat-x; 55 } 56 #mw-head-base { 57 margin-top: -5em; 58 margin-left: 10em; 59 height: 5em; 60 /* @embed */ 61 background-image: url(images/border.png); 62 background-position: bottom left; 63 background-repeat: repeat-x; 64 } 65 div#mw-head { 66 position: absolute; 67 top: 0; 68 right: 0; 69 width: 100%; 70 } 71 div#mw-head h5 { 72 margin: 0; 73 padding: 0; 74 } 75 /* Hide empty portlets */ 76 div.emptyPortlet { 77 display: none; 78 } 79 /* Personal */ 80 #p-personal { 81 position: absolute; 82 top: 0; 83 right: 0.75em; 84 } 85 #p-personal h5 { 86 display: none; 87 } 88 #p-personal ul { 89 list-style: none; 90 margin: 0; 91 padding-left: 10em; /* Keep from overlapping logo */ 92 } 93 /* @noflip */ 94 #p-personal li { 95 line-height: 1.125em; 96 float: left; 97 } 98 /* This one flips! */ 99 #p-personal li { 100 margin-left: 0.75em; 101 margin-top: 0.5em; 102 font-size: 0.75em; 103 white-space: nowrap; 104 } 105 /* Navigation Containers */ 106 #left-navigation { 107 position: absolute; 108 left: 10em; 109 top: 2.5em; 110 } 111 #right-navigation { 112 float: right; 113 margin-top: 2.5em; 114 } 115 /* Navigation Labels */ 116 div.vectorTabs h5, 117 div.vectorMenu h5 span { 118 display: none; 119 } 120 /* Namespaces and Views */ 121 /* @noflip */ 122 div.vectorTabs { 123 float: left; 124 height: 2.5em; 125 } 126 div.vectorTabs { 127 /* @embed */ 128 background-image: url(images/tab-break.png); 129 background-position: bottom left; 130 background-repeat: no-repeat; 131 padding-left: 1px; 132 } 133 /* @noflip */ 134 div.vectorTabs ul { 135 float: left; 136 } 137 div.vectorTabs ul { 138 height: 100%; 139 list-style: none; 140 margin: 0; 141 padding: 0; 142 } 143 /* @noflip */ 144 div.vectorTabs ul li { 145 float: left; 146 } 147 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 148 div.vectorTabs ul li { 149 line-height: 1.125em; 150 display: inline-block; 151 height: 100%; 152 margin: 0; 153 padding: 0; 154 background-color: #f3f3f3; 155 /* @embed */ 156 background-image: url(images/tab-normal-fade.png); 157 background-position: bottom left; 158 background-repeat: repeat-x; 159 white-space:nowrap; 160 } 161 /* IGNORED BY IE6 */ 162 div.vectorTabs ul > li { 163 display: block; 164 } 165 div.vectorTabs li.selected { 166 /* @embed */ 167 background-image: url(images/tab-current-fade.png); 168 } 169 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 170 div.vectorTabs li a { 171 display: inline-block; 172 height: 1.9em; 173 padding-left: 0.5em; 174 padding-right: 0.5em; 175 color: #0645ad; 176 cursor: pointer; 177 font-size: 0.8em; 178 } 179 /* IGNORED BY IE6 */ 180 div.vectorTabs li > a { 181 display: block; 182 } 183 div.vectorTabs li.icon a { 184 background-position: bottom right; 185 background-repeat: no-repeat; 186 } 187 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 188 div.vectorTabs span a { 189 display: inline-block; 190 padding-top: 1.25em; 191 } 192 /* IGNORED BY IE6 */ 193 /* @noflip */ 194 div.vectorTabs span > a { 195 float: left; 196 display: block; 197 } 198 div.vectorTabs span { 199 display: inline-block; 200 /* @embed */ 201 background-image: url(images/tab-break.png); 202 background-position: bottom right; 203 background-repeat: no-repeat; 204 } 205 div.vectorTabs li.selected a, 206 div.vectorTabs li.selected a:visited{ 207 color: #333333; 208 text-decoration: none; 209 } 210 div.vectorTabs li.new a, 211 div.vectorTabs li.new a:visited{ 212 color: #a55858; 213 } 214 /* Variants and Actions */ 215 /* @noflip */ 216 div.vectorMenu { 217 direction: ltr; 218 float: left; 219 /* @embed */ 220 background-image: url(images/arrow-down-icon.png); 221 background-position: 100% 60%; 222 background-repeat: no-repeat; 223 cursor: pointer; 224 } 225 div.vectorMenuFocus { 226 /* @embed */ 227 background-image: url(images/arrow-down-focus-icon.png); 228 background-position: 100% 60%; 229 } 230 /* @noflip */ 231 body.rtl div.vectorMenu { 232 direction: rtl; 233 } 234 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 235 /* @noflip */ 236 div#mw-head div.vectorMenu h5 { 237 float: left; 238 /* @embed */ 239 background-image: url(images/tab-break.png); 240 background-repeat: no-repeat; 241 } 242 /* This will be flipped - unlike the one above it */ 243 div#mw-head div.vectorMenu h5 { 244 background-position: bottom left; 245 margin-left: -1px; 246 } 247 /* IGNORED BY IE6 */ 248 div#mw-head div.vectorMenu > h5 { 249 background-image: none; 250 } 251 div#mw-head div.vectorMenu h4 { 252 display: inline-block; 253 float: left; 254 font-size: 0.8em; 255 padding-left: 0.5em; 256 padding-top: 1.375em; 257 font-weight: normal; 258 border: none; 259 } 260 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 261 /* @noflip */ 262 div.vectorMenu h5 a { 263 display: inline-block; 264 width: 24px; 265 height: 2.5em; 266 text-decoration: none; 267 /* @embed */ 268 background-image: url(images/tab-break.png); 269 background-repeat: no-repeat; 270 } 271 /* This will be flipped - unlike the one above it */ 272 div.vectorMenu h5 a { 273 background-position: bottom right; 274 } 275 /* IGNORED BY IE6 */ 276 div.vectorMenu h5 > a { 277 display: block; 278 } 279 div.vectorMenu div.menu { 280 position: relative; 281 display: none; 282 clear: both; 283 text-align: left; 284 } 285 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 286 /* @noflip */ 287 body.rtl div.vectorMenu div.menu { 288 margin-left: 24px; 289 } 290 /* IGNORED BY IE6 */ 291 /* @noflip */ 292 body.rtl div.vectorMenu > div.menu { 293 margin-left: auto; 294 } 295 /* IGNORED BY IE6 */ 296 /* Also fixes old versions of FireFox */ 297 /* @noflip */ 298 body.rtl div.vectorMenu > div.menu, 299 x:-moz-any-link { 300 margin-left: 23px; 301 } 302 /* Enable forcing showing of the menu for accessibility */ 303 div.vectorMenu:hover div.menu, 304 div.vectorMenu div.menuForceShow { 305 display: block; 306 } 307 div.vectorMenu ul { 308 position: absolute; 309 background-color: white; 310 border: solid 1px silver; 311 border-top-width: 0; 312 list-style: none; 313 list-style-image: none; 314 list-style-type: none; 315 padding: 0; 316 margin: 0; 317 margin-left: -1px; 318 text-align: left; 319 } 320 /* Fixes old versions of FireFox */ 321 div.vectorMenu ul, 322 x:-moz-any-link { 323 min-width: 5em; 324 } 325 /* Returns things back to normal in modern versions of FireFox */ 326 div.vectorMenu ul, 327 x:-moz-any-link, 328 x:default { 329 min-width: 0; 330 } 331 div.vectorMenu li { 332 padding: 0; 333 margin: 0; 334 text-align: left; 335 line-height: 1em; 336 } 337 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 338 div.vectorMenu li a { 339 display: inline-block; 340 padding: 0.5em; 341 white-space: nowrap; 342 color: #0645ad; 343 cursor: pointer; 344 font-size: 0.8em; 345 } 346 /* IGNORED BY IE6 */ 347 div.vectorMenu li > a { 348 display: block; 349 } 350 div.vectorMenu li.selected a, 351 div.vectorMenu li.selected a:visited { 352 color: #333333; 353 text-decoration: none; 354 } 355 /* Search */ 356 #p-search h5 { 357 display: none; 358 } 359 /* @noflip */ 360 #p-search { 361 float: left; 362 } 363 #p-search { 364 margin-right: 0.5em; 365 margin-left: 0.5em; 366 } 367 #p-search form, 368 #p-search input { 369 margin: 0; 370 margin-top: 0.4em; 371 } 372 div#simpleSearch { 373 display: block; 374 width: 14em; 375 height: 1.4em; 376 margin-top: 0.65em; 377 position: relative; 378 min-height: 1px; /* Gotta trigger hasLayout for IE7 */ 379 border: solid 1px #AAAAAA; 380 color: black; 381 background-color: white; 382 /* @embed */ 383 background-image: url(images/search-fade.png); 384 background-position: top left; 385 background-repeat: repeat-x; 386 } 387 div#simpleSearch label { 388 /* 389 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent 390 * this from ever being shown anyways. 391 */ 392 font-size: 13px; 393 top: 0.25em; 394 direction: ltr; 395 } 396 div#simpleSearch input { 397 color: black; 398 direction: ltr; 399 } 400 div#simpleSearch input:focus { 401 outline: none; 402 } 403 div#simpleSearch input.placeholder { 404 color: #999999; 405 } 406 div#simpleSearch input::-webkit-input-placeholder { 407 color: #999999; 408 } 409 div#simpleSearch input#searchInput { 410 position: absolute; 411 top: 0; 412 left: 0; 413 width: 90%; 414 margin: 0; 415 padding: 0; 416 padding-left: 0.2em; 417 padding-top: 0.2em; 418 padding-bottom: 0.2em; 419 outline: none; 420 border: none; 421 /* 422 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent 423 * this from ever being shown anyways. 424 */ 425 font-size: 13px; 426 background-color: transparent; 427 direction: ltr; 428 } 429 div#simpleSearch button#searchButton { 430 position: absolute; 431 width: 10%; 432 right: 0; 433 top: 0; 434 padding: 0; 435 padding-top: 0.3em; 436 padding-bottom: 0.2em; 437 padding-right: 0.4em; 438 margin: 0; 439 border: none; 440 cursor: pointer; 441 background-color: transparent; 442 background-image: none; 443 } 444 /* OVERRIDDEN BY COMPLIANT BROWSERS */ 445 div#simpleSearch button#searchButton img { 446 border: none; 447 margin: 0; 448 margin-top: -3px; 449 padding: 0; 450 } 451 /* IGNORED BY IE6 */ 452 div#simpleSearch button#searchButton > img { 453 margin: 0; 454 } 455 /* Panel */ 456 div#mw-panel { 457 position: absolute; 458 top: 160px; 459 padding-top: 1em; 460 width: 10em; 461 left: 0; 462 } 463 div#mw-panel div.portal { 464 padding-bottom: 1.5em; 465 direction: ltr; 466 } 467 div#mw-panel div.portal h5 { 468 font-weight: normal; 469 color: #444444; 470 padding: 0.25em; 471 padding-top: 0; 472 padding-left: 1.75em; 473 cursor: default; 474 border: none; 475 font-size: 0.75em; 476 } 477 div#mw-panel div.portal div.body { 478 margin: 0; 479 padding-top: 0.5em; 480 margin-left: 1.25em; 481 /* @embed */ 482 background-image: url(images/portal-break.png); 483 background-repeat: no-repeat; 484 background-position: top left; 485 } 486 div#mw-panel div.portal div.body ul { 487 list-style: none; 488 list-style-image: none; 489 list-style-type: none; 490 padding: 0; 491 margin: 0; 492 } 493 div#mw-panel div.portal div.body ul li { 494 line-height: 1.125em; 495 padding: 0; 496 padding-bottom: 0.5em; 497 margin: 0; 498 overflow: hidden; 499 font-size: 0.75em; 500 } 501 div#mw-panel div.portal div.body ul li a { 502 color: #0645ad; 503 } 504 div#mw-panel div.portal div.body ul li a:visited { 505 color: #0b0080; 506 } 507 /* Footer */ 508 div#footer { 509 margin-left: 10em; 510 margin-top: 0; 511 padding: 0.75em; 512 /* @embed */ 513 background-image: url(images/border.png); 514 background-position: top left; 515 background-repeat: repeat-x; 516 direction: ltr; 517 } 518 div#footer ul { 519 list-style: none; 520 list-style-image: none; 521 list-style-type: none; 522 margin: 0; 523 padding: 0; 524 } 525 div#footer ul li { 526 margin: 0; 527 padding: 0; 528 padding-top: 0.5em; 529 padding-bottom: 0.5em; 530 color: #333333; 531 font-size: 0.7em; 532 } 533 div#footer #footer-icons { 534 float: right; 535 } 536 /* @noflip */ 537 body.ltr div#footer #footer-places { 538 float: left; 539 } 540 div#footer #footer-info li { 541 line-height: 1.4em; 542 } 543 div#footer #footer-icons li { 544 float: left; 545 margin-left: 0.5em; 546 line-height: 2em; 547 text-align: right; 548 } 549 div#footer #footer-places li { 550 float: left; 551 margin-right: 1em; 552 line-height: 2em; 553 } 554 /* Logo */ 555 #p-logo { 556 position: absolute; 557 top: -160px; 558 left: 0; 559 width: 10em; 560 height: 160px; 561 } 562 #p-logo a { 563 display: block; 564 width: 10em; 565 height: 160px; 566 background-repeat: no-repeat; 567 background-position: center center; 568 text-decoration: none; 569 } 570 571 /* 572 * 573 * The following code is highly modified from monobook. It would be nice if the 574 * preftoc id was more human readable like preferences-toc for instance, 575 * howerver this would require backporting the other skins. 576 */ 577 578 /* Preferences */ 579 #preftoc { 580 /* Tabs */ 581 width: 100%; 582 float: left; 583 clear: both; 584 margin: 0 !important; 585 padding: 0 !important; 586 /* @embed */ 587 background-image: url(images/preferences-break.png); 588 background-position: bottom left; 589 background-repeat: no-repeat; 590 } 591 #preftoc li { 592 /* Tab */ 593 float: left; 594 margin: 0; 595 padding: 0; 596 padding-right: 1px; 597 height: 2.25em; 598 white-space: nowrap; 599 list-style-type: none; 600 list-style-image: none; 601 /* @embed */ 602 background-image: url(images/preferences-break.png); 603 background-position: bottom right; 604 background-repeat: no-repeat; 605 } 606 /* Sadly, IE6 won't understand this */ 607 #preftoc li:first-child { 608 margin-left: 1px; 609 } 610 #preftoc a, 611 #preftoc a:active { 612 display: inline-block; 613 position: relative; 614 color: #0645ad; 615 padding: 0.5em; 616 text-decoration: none; 617 background-image: none; 618 font-size: 0.9em; 619 } 620 #preftoc a:hover, 621 #preftoc a:focus { 622 text-decoration: underline; 623 } 624 #preftoc li.selected a { 625 /* @embed */ 626 background-image: url(images/preferences-fade.png); 627 background-position: bottom; 628 background-repeat: repeat-x; 629 color: #333333; 630 text-decoration: none; 631 } 632 #preferences { 633 float: left; 634 width: 100%; 635 margin: 0; 636 margin-top: -2px; 637 clear: both; 638 border: solid 1px #cccccc; 639 background-color: #f9f9f9; 640 /* @embed */ 641 background-image: url(images/preferences-base.png); 642 } 643 #preferences fieldset { 644 border: none; 645 border-top: solid 1px #cccccc; 646 } 647 #preferences fieldset.prefsection { 648 border: none; 649 padding: 0; 650 margin: 1em; 651 } 652 #preferences legend { 653 color: #666666; 654 } 655 #preferences fieldset.prefsection legend.mainLegend { 656 display: none; 657 } 658 #preferences td { 659 padding-left: 0.5em; 660 padding-right: 0.5em; 661 } 662 #preferences td.htmlform-tip { 663 font-size: x-small; 664 padding: .2em 2em; 665 color: #666666; 666 } 667 #preferences div.mw-prefs-buttons { 668 padding: 1em; 669 } 670 #preferences div.mw-prefs-buttons input { 671 margin-right: 0.25em; 672 } 673 674 /** 675 * The following code is slightly modified from monobook 676 */ 677 div#content { 678 line-height: 1.5em; 679 } 680 #bodyContent { 681 font-size: 0.8em; 682 } 683 684 .editsection { 685 float: right; 686 } 687 688 ul { 689 /* @embed */ 690 list-style-image: url(images/bullet-icon.png); 691 } 692 693 pre { 694 line-height: 1.3em; 695 } 696 697 /* Site Notice (includes notices from CentralNotice extension) */ 698 #siteNotice { 699 font-size: 0.8em; 700 } 701 #firstHeading { 702 padding-top: 0; 703 margin-top: 0; 704 padding-top: 0; 705 font-size: 1.6em; 706 } 707 div#content a.external, 708 div#content a.external[href ^="gopher://"] { 709 /* @embed */ 710 background: url(images/external-link-ltr-icon.png) center right no-repeat; 711 padding-right: 13px; 712 } 713 div#content a.external[href ^="https://"], 714 .link-https { 715 /* @embed */ 716 background: url(images/lock-icon.png) center right no-repeat; 717 padding-right: 13px; 718 } 719 div#content a.external[href ^="mailto:"], 720 .link-mailto { 721 /* @embed */ 722 background: url(images/mail-icon.png) center right no-repeat; 723 padding-right: 13px; 724 } 725 div#content a.external[href ^="news:"] { 726 /* @embed */ 727 background: url(images/news-icon.png) center right no-repeat; 728 padding-right: 13px; 729 } 730 div#content a.external[href ^="ftp://"], 731 .link-ftp { 732 /* @embed */ 733 background: url(images/file-icon.png) center right no-repeat; 734 padding-right: 13px; 735 } 736 div#content a.external[href ^="irc://"], 737 div#content a.external[href ^="ircs://"], 738 .link-irc { 739 /* @embed */ 740 background: url(images/talk-icon.png) center right no-repeat; 741 padding-right: 13px; 742 } 743 div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"], 744 div#content a.external[href $=".mid"], div#content a.external[href $=".MID"], 745 div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"], 746 div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"], 747 div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"], 748 div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"], 749 .link-audio { 750 /* @embed */ 751 background: url(images/audio-icon.png) center right no-repeat; 752 padding-right: 13px; 753 } 754 div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"], 755 div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"], 756 div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"], 757 div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"], 758 .link-video { 759 /* @embed */ 760 background: url(images/video-icon.png) center right no-repeat; 761 padding-right: 13px; 762 } 763 div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"], 764 div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"], 765 div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"], 766 .link-document { 767 /* @embed */ 768 background: url(images/document-icon.png) center right no-repeat; 769 padding-right: 13px; 770 } 771 772 /* Icon for Usernames */ 773 #pt-userpage, 774 #pt-anonuserpage, 775 #pt-login { 776 /* @embed */ 777 background: url(images/user-icon.png) left top no-repeat; 778 padding-left: 15px !important; 779 text-transform: none; 780 } 781 782 .redirectText { 783 font-size: 140%; 784 } 785 786 .redirectMsg img { 787 vertical-align: text-bottom; 788 } 789 790 #bodyContent { 791 position: relative; 792 width: 100%; 793 } 794 #mw-js-message { 795 font-size: 0.8em; 796 } 797 div#bodyContent { 798 line-height: 1.5em; 799 } 800 801 /* Watch/Unwatch Icon Styling */ 802 #ca-unwatch.icon a, 803 #ca-watch.icon a { 804 margin: 0; 805 padding: 0; 806 outline: none; 807 display: block; 808 width: 26px; 809 /* This hides the text but shows the background image */ 810 padding-top: 3.1em; 811 margin-top: 0; 812 /* Only applied in IE6 */ 813 margin-top: -0.8em !ie; 814 height: 0; 815 overflow: hidden; 816 /* @embed */ 817 background-image: url(images/watch-icons.png); 818 } 819 #ca-unwatch.icon a { 820 background-position: -43px 60%; 821 } 822 #ca-watch.icon a { 823 background-position: 5px 60%; 824 } 825 #ca-unwatch.icon a:hover, 826 #ca-unwatch.icon a:focus { 827 background-position: -67px 60%; 828 } 829 #ca-watch.icon a:hover, 830 #ca-watch.icon a:focus { 831 background-position: -19px 60%; 832 } 833 #ca-unwatch.icon a.loading, 834 #ca-watch.icon a.loading { 835 /* @embed */ 836 background-image: url(images/watch-icon-loading.gif); 837 background-position: 5px 60%; 838 } 839 #ca-unwatch.icon a span, 840 #ca-watch.icon a span { 841 display: none; 842 } 843 div.vectorTabs ul { 844 /* @embed */ 845 background-image:url(images/tab-break.png); 846 background-position:right bottom; 847 background-repeat:no-repeat; 848 } 849 850 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */ 851 .tipsy { 852 font-size: 0.8em; 853 } 854 /** 855 * CSS in this file is used by *all* skins (that have any CSS at all). Be 856 * careful what you put in here, since what looks good in one skin may not in 857 * another, but don't ignore the poor pre-Monobook users either. 858 */ 859 860 /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */ 861 862 /** 863 * These classes should be used for text depending on the content direction. 864 * Content stuff like editsection, ul/ol and TOC depend on this. 865 */ 866 .mw-content-ltr { 867 /* @noflip */ 868 direction: ltr; 869 } 870 .mw-content-rtl { 871 /* @noflip */ 872 direction: rtl; 873 } 874 875 /* Most input fields should be in site direction */ 876 .sitedir-ltr textarea, 877 .sitedir-ltr input { 878 /* @noflip */ 879 direction: ltr; 880 } 881 .sitedir-rtl textarea, 882 .sitedir-rtl input { 883 /* @noflip */ 884 direction: rtl; 885 } 886 887 /* Input types that should follow user direction, like buttons */ 888 /* TODO: What about buttons in wikipage content ? */ 889 input[type="submit"], 890 input[type="button"], 891 input[type="reset"], 892 input[type="file"] { 893 direction: ltr; 894 } 895 896 /* Override default values */ 897 textarea[dir="ltr"], 898 input[dir="ltr"] { 899 /* @noflip */ 900 direction: ltr; 901 } 902 textarea[dir="rtl"], 903 input[dir="rtl"] { 904 /* @noflip */ 905 direction: rtl; 906 } 907 908 /* Default style for semantic tags */ 909 abbr, 910 acronym, 911 .explain { 912 border-bottom: 1px dotted; 913 cursor: help; 914 } 915 916 /* Colored watchlist and recent changes numbers */ 917 .mw-plusminus-pos { 918 color: #006400; /* dark green */ 919 } 920 .mw-plusminus-neg { 921 color: #8b0000; /* dark red */ 922 } 923 .mw-plusminus-null { 924 color: #aaa; /* gray */ 925 } 926 927 /** 928 * Links to redirects appear italicized on [[Special:AllPages]], [[Special:PrefixIndex]], 929 * [[Special:Watchlist/edit]] and in category listings. 930 */ 931 .allpagesredirect, 932 .redirect-in-category, 933 .watchlistredir { 934 font-style: italic; 935 } 936 937 /* Comment and username portions of RC entries */ 938 span.comment { 939 font-style: italic; 940 } 941 942 span.changedby { 943 font-size: 95%; 944 } 945 946 /* Math */ 947 .texvc { 948 direction: ltr; 949 unicode-bidi: embed; 950 } 951 img.tex { 952 vertical-align: middle; 953 } 954 span.texhtml { 955 font-family: serif; 956 } 957 958 /** 959 * Add a bit of margin space between the preview and the toolbar. 960 * This replaces the ugly <p><br /></p> we used to insert into the page source 961 */ 962 #wikiPreview.ontop { 963 margin-bottom: 1em; 964 } 965 966 /* Stop floats from intruding into edit area in previews */ 967 #editform, 968 #toolbar, 969 #wpTextbox1 { 970 clear: both; 971 } 972 #toolbar img { 973 cursor: pointer; 974 } 975 div#mw-js-message { 976 margin: 1em 5%; 977 padding: 0.5em 2.5%; 978 border: solid 1px #ddd; 979 background-color: #fcfcfc; 980 } 981 982 /* Edit section links */ 983 .editsection { 984 float: right; 985 margin-left: 5px; 986 } 987 /* Correct directionality when page dir is different from site/user dir */ 988 .mw-content-ltr .editsection, 989 .mw-content-rtl .mw-content-ltr .editsection { 990 /* @noflip */ 991 float: right; 992 } 993 .mw-content-rtl .editsection, 994 .mw-content-ltr .mw-content-rtl .editsection { 995 /* @noflip */ 996 float: left; 997 } 998 999 /** 1000 * File description page 1001 */ 1002 1003 div.mw-filepage-resolutioninfo { 1004 font-size: smaller; 1005 } 1006 1007 /** 1008 * File histories 1009 */ 1010 h2#filehistory { 1011 clear: both; 1012 } 1013 1014 table.filehistory th, 1015 table.filehistory td { 1016 vertical-align: top; 1017 } 1018 table.filehistory th { 1019 text-align: left; 1020 } 1021 table.filehistory td.mw-imagepage-filesize, 1022 table.filehistory th.mw-imagepage-filesize { 1023 white-space: nowrap; 1024 } 1025 1026 table.filehistory td.filehistory-selected { 1027 font-weight: bold; 1028 } 1029 1030 /** 1031 * Add a checkered background image on hover for file 1032 * description pages. (bug 26470) 1033 */ 1034 .filehistory a img, 1035 #file img:hover { 1036 /* @embed */ 1037 background: white url(images/Checker-16x16.png) repeat; 1038 } 1039 1040 /** 1041 * rev_deleted stuff 1042 */ 1043 li span.deleted, 1044 span.history-deleted { 1045 text-decoration: line-through; 1046 color: #888; 1047 font-style: italic; 1048 } 1049 1050 /** 1051 * Patrol stuff 1052 */ 1053 .not-patrolled { 1054 background-color: #ffa; 1055 } 1056 1057 .unpatrolled { 1058 font-weight: bold; 1059 color: red; 1060 } 1061 1062 div.patrollink { 1063 font-size: 75%; 1064 text-align: right; 1065 } 1066 1067 /** 1068 * Forms 1069 */ 1070 td.mw-label { 1071 text-align: right; 1072 } 1073 td.mw-input { 1074 text-align: left; 1075 } 1076 td.mw-submit { 1077 text-align: left; 1078 } 1079 1080 td.mw-label { 1081 vertical-align: top; 1082 } 1083 .prefsection td.mw-label { 1084 width: 20%; 1085 } 1086 .prefsection table { 1087 width: 100%; 1088 } 1089 td.mw-submit { 1090 white-space: nowrap; 1091 } 1092 1093 table.mw-htmlform-nolabel td.mw-label { 1094 width: 1px; 1095 } 1096 1097 tr.mw-htmlform-vertical-label td.mw-label { 1098 text-align: left !important; 1099 } 1100 1101 .mw-htmlform-invalid-input td.mw-input input { 1102 border-color: red; 1103 } 1104 1105 .mw-htmlform-flatlist div.mw-htmlform-flatlist-item { 1106 display: inline; 1107 margin-right: 1em; 1108 white-space: nowrap; 1109 } 1110 1111 input#wpSummary { 1112 width: 80%; 1113 } 1114 1115 /** 1116 * Image captions 1117 */ 1118 .thumbcaption { 1119 text-align: left; 1120 } 1121 .magnify { 1122 float: right; 1123 } 1124 1125 /** 1126 * Categories 1127 */ 1128 #catlinks { 1129 /** 1130 * Overrides text justification (user preference) 1131 * See bug 31990 1132 */ 1133 text-align: left; 1134 } 1135 .catlinks ul { 1136 display: inline; 1137 margin: 0; 1138 padding: 0; 1139 list-style: none; 1140 list-style-type: none; 1141 list-style-image: none; 1142 vertical-align: middle !ie; 1143 } 1144 1145 .catlinks li { 1146 display: inline-block; 1147 line-height: 1.25em; 1148 border-left: 1px solid #AAA; 1149 margin: 0.125em 0; 1150 padding: 0 0.5em; 1151 zoom: 1; 1152 display: inline !ie; 1153 } 1154 1155 .catlinks li:first-child { 1156 padding-left: 0.25em; 1157 border-left: none; 1158 } 1159 /** 1160 * Hidden categories 1161 */ 1162 .mw-hidden-cats-hidden { 1163 display: none; 1164 } 1165 .catlinks-allhidden { 1166 display: none; 1167 } 1168 1169 /* Convenience links to edit block, delete and protect reasons */ 1170 p.mw-ipb-conveniencelinks, 1171 p.mw-protect-editreasons, 1172 p.mw-filedelete-editreasons, 1173 p.mw-delete-editreasons, 1174 p.mw-revdel-editreasons { 1175 font-size: 90%; 1176 text-align: right; 1177 } 1178 1179 /** 1180 * OpenSearch ajax suggestions 1181 */ 1182 .os-suggest { 1183 overflow: auto; 1184 overflow-x: hidden; 1185 position: absolute; 1186 top: 0; 1187 left: 0; 1188 width: 0; 1189 background-color: white; 1190 border-style: solid; 1191 border-color: #AAAAAA; 1192 border-width: 1px; 1193 z-index:99; 1194 font-size:95%; 1195 } 1196 1197 table.os-suggest-results { 1198 font-size: 95%; 1199 cursor: pointer; 1200 border: 0; 1201 border-collapse: collapse; 1202 width: 100%; 1203 } 1204 1205 .os-suggest-result, 1206 .os-suggest-result-hl { 1207 white-space: nowrap; 1208 background-color: white; 1209 color: black; 1210 padding: 2px; 1211 } 1212 .os-suggest-result-hl, 1213 .os-suggest-result-hl-webkit { 1214 background-color: #4C59A6; 1215 color: white; 1216 } 1217 1218 .os-suggest-toggle { 1219 position: relative; 1220 left: 1ex; 1221 font-size: 65%; 1222 } 1223 .os-suggest-toggle-def { 1224 position: absolute; 1225 top: 0; 1226 left: 0; 1227 font-size: 65%; 1228 visibility: hidden; 1229 } 1230 1231 /* Page history styling */ 1232 1233 /* The auto-generated edit comments */ 1234 .autocomment { 1235 color: gray; 1236 } 1237 #pagehistory .history-user { 1238 margin-left: 0.4em; 1239 margin-right: 0.2em; 1240 } 1241 #pagehistory span.minor { 1242 font-weight: bold; 1243 } 1244 #pagehistory li { 1245 border: 1px solid white; 1246 } 1247 #pagehistory li.selected { 1248 background-color: #f9f9f9; 1249 border: 1px dashed #aaa; 1250 } 1251 1252 .mw-history-revisiondelete-button, #mw-fileduplicatesearch-icon { 1253 float: right; 1254 } 1255 1256 /** Generic minor/bot/newpage styling (recent changes) */ 1257 .newpage, 1258 .minoredit, 1259 .botedit { 1260 font-weight: bold; 1261 } 1262 1263 #shared-image-dup, 1264 #shared-image-conflict { 1265 font-style: italic; 1266 } 1267 1268 /** 1269 * Recreating deleted page warning 1270 * Reupload file warning 1271 * Page protection warning 1272 * incl. log entries for these warnings 1273 */ 1274 div.mw-warning-with-logexcerpt { 1275 padding: 3px; 1276 margin-bottom: 3px; 1277 border: 2px solid #2F6FAB; 1278 clear: both; 1279 } 1280 div.mw-warning-with-logexcerpt ul li { 1281 font-size: 90%; 1282 } 1283 1284 /* (show/hide) revision deletion links */ 1285 span.mw-revdelundel-link, 1286 strong.mw-revdelundel-link { 1287 font-size: 90%; 1288 } 1289 span.mw-revdelundel-hidden, 1290 input.mw-revdelundel-hidden { 1291 visibility: hidden; 1292 } 1293 1294 td.mw-revdel-checkbox, 1295 th.mw-revdel-checkbox { 1296 padding-right: 10px; 1297 text-align: center; 1298 } 1299 1300 /* feed links */ 1301 a.feedlink { 1302 /* @embed */ 1303 background: url(images/feed-icon.png) center left no-repeat; 1304 padding-left: 16px; 1305 } 1306 1307 /* Plainlinks - this can be used to switch 1308 * off special external link styling */ 1309 .plainlinks a { 1310 background: none !important; 1311 padding: 0 !important; 1312 } 1313 /* External URLs should always be treated as LTR (bug 4330) */ 1314 /* @noflip */ .rtl a.external.free, 1315 .rtl a.external.autonumber { 1316 direction: ltr; 1317 unicode-bidi: embed; 1318 } 1319 1320 /** 1321 * wikitable class for skinning normal tables 1322 * keep in sync with commonPrint.css 1323 */ 1324 table.wikitable { 1325 margin: 1em 1em 1em 0; 1326 background-color: #f9f9f9; 1327 border: 1px #aaa solid; 1328 border-collapse: collapse; 1329 color: black; 1330 } 1331 table.wikitable > tr > th, 1332 table.wikitable > tr > td, 1333 table.wikitable > * > tr > th, 1334 table.wikitable > * > tr > td { 1335 border: 1px #aaa solid; 1336 padding: 0.2em; 1337 } 1338 table.wikitable > tr > th, 1339 table.wikitable > * > tr > th { 1340 background-color: #f2f2f2; 1341 text-align: center; 1342 } 1343 table.wikitable > caption { 1344 font-weight: bold; 1345 } 1346 1347 /* hide initially collapsed collapsable tables */ 1348 table.collapsed tr.collapsable { 1349 display: none; 1350 } 1351 1352 /* success and error messages */ 1353 .success { 1354 color: green; 1355 font-size: larger; 1356 } 1357 .warning { 1358 color: #FFA500; /* orange */ 1359 font-size: larger; 1360 } 1361 .error { 1362 color: red; 1363 font-size: larger; 1364 } 1365 .errorbox, 1366 .warningbox, 1367 .successbox { 1368 font-size: larger; 1369 border: 2px solid; 1370 padding: .5em 1em; 1371 float: left; 1372 margin-bottom: 2em; 1373 color: #000; 1374 } 1375 .errorbox { 1376 border-color: red; 1377 background-color: #fff2f2; 1378 } 1379 .warningbox { 1380 border-color: #FF8C00; /* darkorange */ 1381 background-color: #FFFFC0; 1382 } 1383 .successbox { 1384 border-color: green; 1385 background-color: #dfd; 1386 } 1387 .errorbox h2, 1388 .warningbox h2, 1389 .successbox h2 { 1390 font-size: 1em; 1391 font-weight: bold; 1392 display: inline; 1393 margin: 0 .5em 0 0; 1394 border: none; 1395 } 1396 1397 /* general info/warning box for SP */ 1398 .mw-infobox { 1399 border: 2px solid #ff7f00; 1400 margin: 0.5em; 1401 clear: left; 1402 overflow: hidden; 1403 } 1404 1405 .mw-infobox-left { 1406 margin: 7px; 1407 float: left; 1408 width: 35px; 1409 } 1410 1411 .mw-infobox-right { 1412 margin: 0.5em 0.5em 0.5em 49px; 1413 } 1414 1415 /* Note on preview page */ 1416 .previewnote { 1417 color: #c00; 1418 margin-bottom: 1em; 1419 } 1420 1421 .previewnote p { 1422 text-indent: 3em; 1423 margin: 0.8em 0; 1424 } 1425 1426 .visualClear { 1427 clear: both; 1428 } 1429 1430 #mw_trackbacks { 1431 border: solid 1px #bbbbff; 1432 background-color: #eeeeff; 1433 padding: 0.2em; 1434 } 1435 1436 /** 1437 * Data table style 1438 * 1439 * Transparent table with suddle borders 1440 * and blue row-highlighting. 1441 */ 1442 .mw-datatable { 1443 border-collapse: collapse; 1444 } 1445 .mw-datatable, 1446 .mw-datatable td, 1447 .mw-datatable th { 1448 border: 1px solid #aaaaaa; 1449 padding: 0 0.15em 0 0.15em; 1450 } 1451 .mw-datatable th { 1452 background-color: #ddddff; 1453 } 1454 .mw-datatable td { 1455 background-color: #ffffff; 1456 } 1457 .mw-datatable tr:hover td { 1458 background-color: #eeeeff; 1459 } 1460 1461 1462 /** 1463 * TablePager tables generated by the TablePager PHP class 1464 * in MediaWiki (e.g. Special:ListFiles). 1465 */ 1466 .TablePager { 1467 min-width: 80%; 1468 } 1469 .TablePager_nav { 1470 margin: 0 auto; 1471 } 1472 .TablePager_nav td { 1473 padding: 3px; 1474 text-align: center; 1475 } 1476 .TablePager_nav a { 1477 text-decoration: none; 1478 } 1479 1480 .imagelist td, 1481 .imagelist th { 1482 white-space: nowrap; 1483 } 1484 .imagelist .TablePager_col_links { 1485 background-color: #eeeeff; 1486 } 1487 .imagelist .TablePager_col_img_description { 1488 white-space: normal; 1489 } 1490 .imagelist th.TablePager_sort { 1491 background-color: #ccccff; 1492 } 1493 1494 /* filetoc */ 1495 ul#filetoc { 1496 text-align: center; 1497 border: 1px solid #aaaaaa; 1498 background-color: #f9f9f9; 1499 padding: 5px; 1500 font-size: 95%; 1501 margin-bottom: 0.5em; 1502 margin-left: 0; 1503 margin-right: 0; 1504 } 1505 1506 #filetoc li { 1507 display: inline; 1508 list-style-type: none; 1509 padding-right: 2em; 1510 } 1511 1512 /* Classes for EXIF data display */ 1513 table.mw_metadata { 1514 font-size: 0.8em; 1515 margin-left: 0.5em; 1516 margin-bottom: 0.5em; 1517 width: 400px; 1518 } 1519 1520 table.mw_metadata caption { 1521 font-weight: bold; 1522 } 1523 1524 table.mw_metadata th { 1525 font-weight: normal; 1526 } 1527 1528 table.mw_metadata td { 1529 padding: 0.1em; 1530 } 1531 1532 table.mw_metadata { 1533 border: none; 1534 border-collapse: collapse; 1535 } 1536 1537 table.mw_metadata td, 1538 table.mw_metadata th { 1539 text-align: center; 1540 border: 1px solid #aaaaaa; 1541 padding-left: 5px; 1542 padding-right: 5px; 1543 } 1544 1545 table.mw_metadata th { 1546 background-color: #f9f9f9; 1547 } 1548 1549 table.mw_metadata td { 1550 background-color: #fcfcfc; 1551 } 1552 1553 table.mw_metadata ul.metadata-langlist { 1554 list-style-type: none; 1555 list-style-image: none; 1556 padding-right: 5px; 1557 padding-left: 5px; 1558 margin: 0; 1559 } 1560 1561 /* Correct directionality when page dir is different from site/user dir */ 1562 .mw-content-ltr ul, 1563 .mw-content-rtl .mw-content-ltr ul { 1564 /* @noflip */ 1565 margin: 0.3em 0 0 1.6em; 1566 padding: 0; 1567 } 1568 .mw-content-rtl ul, 1569 .mw-content-ltr .mw-content-rtl ul { 1570 /* @noflip */ 1571 margin: 0.3em 1.6em 0 0; 1572 padding: 0; 1573 } 1574 .mw-content-ltr ol, 1575 .mw-content-rtl .mw-content-ltr ol { 1576 /* @noflip */ 1577 margin: 0.3em 0 0 3.2em; 1578 padding: 0; 1579 } 1580 .mw-content-rtl ol, 1581 .mw-content-ltr .mw-content-rtl ol { 1582 /* @noflip */ 1583 margin: 0.3em 3.2em 0 0; 1584 padding: 0; 1585 } 1586 /* @noflip */ 1587 .mw-content-ltr dd, 1588 .mw-content-rtl .mw-content-ltr dd { 1589 margin-left: 1.6em; 1590 margin-right: 0; 1591 } 1592 /* @noflip */ 1593 .mw-content-rtl dd, 1594 .mw-content-ltr .mw-content-rtl dd { 1595 margin-right: 1.6em; 1596 margin-left: 0; 1597 } 1598 1599 /* Galleries */ 1600 /* These display attributes look nonsensical, but are needed to support IE and FF2 */ 1601 /* Don't forget to update commonPrint.css */ 1602 li.gallerybox { 1603 vertical-align: top; 1604 border: solid 2px white; 1605 display: -moz-inline-box; 1606 display: inline-block; 1607 } 1608 1609 ul.gallery, 1610 li.gallerybox { 1611 zoom: 1; 1612 *display: inline; 1613 } 1614 1615 ul.gallery { 1616 margin: 2px; 1617 padding: 2px; 1618 display: block; 1619 } 1620 1621 li.gallerycaption { 1622 font-weight: bold; 1623 text-align: center; 1624 display: block; 1625 word-wrap: break-word; 1626 } 1627 1628 li.gallerybox div.thumb { 1629 text-align: center; 1630 border: 1px solid #ccc; 1631 background-color: #f9f9f9; 1632 margin: 2px; 1633 } 1634 1635 li.gallerybox div.thumb img { 1636 display: block; 1637 margin: 0 auto; 1638 } 1639 1640 div.gallerytext { 1641 overflow: hidden; 1642 font-size: 94%; 1643 padding: 2px 4px; 1644 word-wrap: break-word; 1645 } 1646 1647 .mw-ajax-loader { 1648 /* @embed */ 1649 background-image: url(images/ajax-loader.gif); 1650 background-position: center center; 1651 background-repeat: no-repeat; 1652 padding: 16px; 1653 position: relative; 1654 top: -16px; 1655 } 1656 1657 .mw-small-spinner { 1658 padding: 10px !important; 1659 margin-right: 0.6em; 1660 /* @embed */ 1661 background-image: url(images/spinner.gif); 1662 background-position: center center; 1663 background-repeat: no-repeat; 1664 } 1665 1666 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */ 1667 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */ 1668 h1:lang(as), 1669 h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */ 1670 h1:lang(bho), 1671 h1:lang(bn), 1672 h1:lang(gu), 1673 h1:lang(hi), 1674 h1:lang(kn), 1675 h1:lang(ml), 1676 h1:lang(mr), 1677 h1:lang(or), 1678 h1:lang(pa), 1679 h1:lang(sa), 1680 h1:lang(ta), 1681 h1:lang(te) { 1682 line-height: 1.5em !important; 1683 } 1684 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as), 1685 h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho), 1686 h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh), 1687 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn), 1688 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu), 1689 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi), 1690 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn), 1691 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml), 1692 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr), 1693 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or), 1694 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa), 1695 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa), 1696 h2:lang(ta), h3:lang(ta), h4:lang(ta), h5:lang(ta), h6:lang(ta), 1697 h2:lang(te), h3:lang(te), h4:lang(te), h5:lang(te), h6:lang(te) { 1698 line-height: 1.2em; 1699 } 1700 1701 /* Localised ordered list numbering for some languages */ 1702 ol:lang(bcc) li, 1703 ol:lang(bqi) li, 1704 ol:lang(fa) li, 1705 ol:lang(glk) li, 1706 ol:lang(kk-arab) li, 1707 ol:lang(mzn) li { 1708 list-style-type: -moz-persian; 1709 list-style-type: persian; 1710 } 1711 1712 ol:lang(ckb) li { 1713 list-style-type: -moz-arabic-indic; 1714 list-style-type: arabic-indic; 1715 } 1716 1717 ol:lang(hi) li, 1718 ol:lang(mr) li { 1719 list-style-type: -moz-devanagari; 1720 list-style-type: devanagari; 1721 } 1722 1723 ol:lang(as) li, 1724 ol:lang(bn) li { 1725 list-style-type: -moz-bengali; 1726 list-style-type: bengali; 1727 } 1728 1729 ol:lang(or) li { 1730 list-style-type: -moz-oriya; 1731 list-style-type: oriya; 1732 } 1733 1734 #toc ul, .toc ul { 1735 margin: .3em 0; 1736 } 1737 1738 /* Correct directionality when page dir is different from site/user dir */ 1739 /* @noflip */ .mw-content-ltr .toc ul, 1740 .mw-content-ltr #toc ul, 1741 .mw-content-rtl .mw-content-ltr .toc ul, 1742 .mw-content-rtl .mw-content-ltr #toc ul { 1743 text-align: left; 1744 } 1745 /* @noflip */ .mw-content-rtl .toc ul, 1746 .mw-content-rtl #toc ul, 1747 .mw-content-ltr .mw-content-rtl .toc ul, 1748 .mw-content-ltr .mw-content-rtl #toc ul { 1749 text-align: right; 1750 } 1751 /* @noflip */ .mw-content-ltr .toc ul ul, 1752 .mw-content-ltr #toc ul ul, 1753 .mw-content-rtl .mw-content-ltr .toc ul ul, 1754 .mw-content-rtl .mw-content-ltr #toc ul ul { 1755 margin: 0 0 0 2em; 1756 } 1757 /* @noflip */ .mw-content-rtl .toc ul ul, 1758 .mw-content-rtl #toc ul ul, 1759 .mw-content-ltr .mw-content-rtl .toc ul ul, 1760 .mw-content-ltr .mw-content-rtl #toc ul ul { 1761 margin: 0 2em 0 0; 1762 } 1763 1764 #toc #toctitle, 1765 .toc #toctitle, 1766 #toc .toctitle, 1767 .toc .toctitle { 1768 direction: ltr; 1769 } 1770 1771 /* tooltip styles */ 1772 .mw-help-field-hint { 1773 display: none; 1774 margin-left: 2px; 1775 margin-bottom: -8px; 1776 padding: 0 0 0 15px; 1777 /* @embed */ 1778 background-image: url('images/help-question.gif'); 1779 background-position: left center; 1780 background-repeat: no-repeat; 1781 cursor: pointer; 1782 font-size: .8em; 1783 text-decoration: underline; 1784 color: #0645ad; 1785 } 1786 .mw-help-field-hint:hover { 1787 /* @embed */ 1788 background-image: url('images/help-question-hover.gif'); 1789 } 1790 .mw-help-field-data { 1791 display: block; 1792 background-color: #d6f3ff; 1793 padding:5px 8px 4px 8px; 1794 border: 1px solid #5dc9f4; 1795 margin-left: 20px; 1796 } 1797 .tipsy { 1798 padding: 5px 5px 10px; 1799 font-size: 12px; 1800 position: absolute; 1801 z-index: 100000; 1802 overflow: visible; 1803 } 1804 .tipsy-inner { 1805 padding: 5px 8px 4px 8px; 1806 background-color: #d6f3ff; 1807 color: black; 1808 border: 1px solid #5dc9f4; 1809 max-width: 300px; 1810 text-align: left; 1811 } 1812 .tipsy-arrow { 1813 position: absolute; 1814 /* @embed */ 1815 background: url(images/tipsy-arrow.gif) no-repeat top left; 1816 width: 13px; 1817 height: 13px; 1818 } 1819 .tipsy-se .tipsy-arrow { 1820 bottom: -2px; 1821 right: 10px; 1822 background-position: 0% 100%; 1823 } 1824 1825 #mw-clearyourcache, 1826 #mw-sitecsspreview, 1827 #mw-sitejspreview, 1828 #mw-usercsspreview, 1829 #mw-userjspreview { 1830 direction: ltr; 1831 unicode-bidi: embed; 1832 } 1833 1834 /* Correct user & content directionality when viewing a diff */ 1835 .diff-currentversion-title, 1836 .diff { 1837 direction: ltr; 1838 unicode-bidi: embed; 1839 } 1840 /* @noflip */ .diff-contentalign-right td { 1841 direction: rtl; 1842 unicode-bidi: embed; 1843 } 1844 /* @noflip */ .diff-contentalign-left td { 1845 direction: ltr; 1846 unicode-bidi: embed; 1847 } 1848 .diff-otitle, 1849 .diff-ntitle, 1850 .diff-lineno { 1851 direction: ltr !important; 1852 unicode-bidi: embed; 1853 } 1854 1855 #mw-revision-info, 1856 #mw-revision-info-current, 1857 #mw-revision-nav { 1858 direction: ltr; 1859 display: inline; 1860 } 1861 1862 /* Images */ 1863 1864 /* @noflip */ div.tright, 1865 div.floatright, 1866 table.floatright { 1867 clear: right; 1868 float: right; 1869 } 1870 /* @noflip */ div.tleft, 1871 div.floatleft, 1872 table.floatleft { 1873 float: left; 1874 clear: left; 1875 } 1876 div.floatright, 1877 table.floatright, 1878 div.floatleft, 1879 table.floatleft { 1880 position: relative; 1881 } 1882 1883 /* bug 12205 */ 1884 #mw-credits a { 1885 unicode-bidi: embed; 1886 } 1887 1888 /* Accessibility */ 1889 .mw-jump, 1890 #jump-to-nav { 1891 overflow: hidden; 1892 height: 0; 1893 zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */ 1894 } 1895 1896 /* Print footer should be hidden by default in screen. */ 1897 .printfooter { 1898 display: none; 1899 } 1900 1901 /* For developpers */ 1902 .xdebug-error { 1903 position: absolute; 1904 z-index: 99; 1905 } 1906 1907 .editsection, .toctoggle { 1908 -moz-user-select: none; 1909 -webkit-user-select: none; 1910 -ms-user-select: none; 1911 user-select: none; 1912 } 1913 /** 1914 * MediaWiki Print style sheet for CSS2-capable browsers. 1915 * Copyright Gabriel Wicke, http://www.aulinx.de/ 1916 * 1917 * Derived from the plone (http://plone.org/) styles 1918 * Copyright Alexander Limi 1919 */ 1920 1921 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */ 1922 a.stub, 1923 a.new { 1924 color: #ba0000; 1925 text-decoration: none; 1926 } 1927 1928 #toc { 1929 border: 1px solid #aaaaaa; 1930 background-color: #f9f9f9; 1931 padding: 5px; 1932 } 1933 1934 /* images */ 1935 div.floatright { 1936 float: right; 1937 clear: right; 1938 position: relative; 1939 margin: 0.5em 0 0.8em 1.4em; 1940 } 1941 div.floatright p { 1942 font-style: italic; 1943 } 1944 div.floatleft { 1945 float: left; 1946 clear: left; 1947 position: relative; 1948 margin: 0.5em 1.4em 0.8em 0; 1949 } 1950 div.floatleft p { 1951 font-style: italic; 1952 } 1953 div.center { 1954 text-align: center; 1955 } 1956 1957 /* thumbnails */ 1958 div.thumb { 1959 border: none; 1960 width: auto; 1961 margin-top: 0.5em; 1962 margin-bottom: 0.8em; 1963 background-color: transparent; 1964 } 1965 div.thumbinner { 1966 border:1px solid #cccccc; 1967 padding: 3px !important; 1968 background-color: White; 1969 font-size: 94%; 1970 text-align: center; 1971 overflow: hidden; 1972 } 1973 html .thumbimage { 1974 border: 1px solid #cccccc; 1975 } 1976 html .thumbcaption { 1977 border: none; 1978 text-align: left; 1979 line-height: 1.4em; 1980 padding: 3px !important; 1981 font-size: 94%; 1982 } 1983 1984 div.magnify { 1985 display: none; 1986 } 1987 /* @noflip */ 1988 div.tright { 1989 float: right; 1990 clear: right; 1991 margin: 0.5em 0 0.8em 1.4em; 1992 } 1993 /* @noflip */ 1994 div.tleft { 1995 float: left; 1996 clear: left; 1997 margin: 0.5em 1.4em 0.8em 0; 1998 } 1999 img.thumbborder { 2000 border: 1px solid #dddddd; 2001 } 2002 2003 /* table standards */ 2004 table.rimage { 2005 float: right; 2006 width: 1pt; 2007 position: relative; 2008 margin-left: 1em; 2009 margin-bottom: 1em; 2010 text-align: center; 2011 } 2012 2013 body { 2014 background: white; 2015 color: black; 2016 margin: 0; 2017 padding: 0; 2018 } 2019 2020 .noprint, 2021 div#jump-to-nav, 2022 .mw-jump, 2023 div.top, 2024 div#column-one, 2025 #colophon, 2026 .editsection, 2027 .toctoggle, 2028 .tochidden, 2029 div#f-poweredbyico, 2030 div#f-copyrightico, 2031 li#viewcount, 2032 li#about, 2033 li#disclaimer, 2034 li#mobileview, 2035 li#privacy, 2036 #footer-places, 2037 .mw-hidden-catlinks, 2038 tr.mw-metadata-show-hide-extended, 2039 span.mw-filepage-other-resolutions, 2040 #filetoc { 2041 /* Hides all the elements irrelevant for printing */ 2042 display: none; 2043 } 2044 2045 ul { 2046 list-style-type: square; 2047 } 2048 2049 #content { 2050 background: none; 2051 border: none !important; 2052 padding: 0 !important; 2053 margin: 0 !important; 2054 direction: ltr; 2055 } 2056 #footer { 2057 background : white; 2058 color : black; 2059 margin-top: 1em; 2060 border-top: 1px solid #AAA; 2061 direction: ltr; 2062 } 2063 2064 h1, h2, h3, h4, h5, h6 { 2065 font-weight: bold; 2066 } 2067 2068 p { 2069 margin: 1em 0; 2070 line-height: 1.2em; 2071 } 2072 2073 pre { 2074 border: 1pt dashed black; 2075 white-space: pre; 2076 font-size: 8pt; 2077 overflow: auto; 2078 padding: 1em 0; 2079 background: white; 2080 color: black; 2081 } 2082 2083 table.listing, 2084 table.listing td { 2085 border: 1pt solid black; 2086 border-collapse: collapse; 2087 } 2088 2089 a { 2090 color: black !important; 2091 background: none !important; 2092 padding: 0 !important; 2093 } 2094 2095 a:link, a:visited { 2096 color: #520; 2097 background: transparent; 2098 text-decoration: underline; 2099 } 2100 2101 #content a.external.text:after, 2102 #content a.external.autonumber:after { 2103 /* Expand URLs for printing */ 2104 content: " (" attr(href) ") "; 2105 } 2106 2107 #globalWrapper { 2108 width: 100% !important; 2109 min-width: 0 !important; 2110 } 2111 2112 #content { 2113 background: white; 2114 color: black; 2115 } 2116 2117 #column-content { 2118 margin: 0 !important; 2119 } 2120 2121 #column-content #content { 2122 padding: 1em; 2123 margin: 0 !important; 2124 } 2125 2126 /* MSIE/Win doesn't understand 'inherit' */ 2127 a, 2128 a.external, 2129 a.new, 2130 a.stub { 2131 color: black !important; 2132 text-decoration: none !important; 2133 } 2134 2135 /* Continue ... */ 2136 a, 2137 a.external, 2138 a.new, 2139 a.stub { 2140 color: inherit !important; 2141 text-decoration: inherit !important; 2142 } 2143 2144 img { 2145 border: none; 2146 vertical-align: middle; 2147 } 2148 2149 /* math */ 2150 span.texhtml { 2151 font-family: serif; 2152 } 2153 2154 #siteNotice { 2155 display: none; 2156 } 2157 2158 /* Galleries (see shared.css for more info) */ 2159 li.gallerybox { 2160 vertical-align: top; 2161 border: solid 2px white; 2162 display: -moz-inline-box; 2163 display: inline-block; 2164 } 2165 2166 ul.gallery, li.gallerybox { 2167 zoom: 1; 2168 *display: inline; 2169 } 2170 2171 ul.gallery { 2172 margin: 2px; 2173 padding: 2px; 2174 display: block; 2175 } 2176 2177 li.gallerycaption { 2178 font-weight: bold; 2179 text-align: center; 2180 display: block; 2181 word-wrap: break-word; 2182 } 2183 2184 li.gallerybox div.thumb { 2185 text-align: center; 2186 border: 1px solid #ccc; 2187 margin: 2px; 2188 } 2189 2190 div.gallerytext { 2191 overflow: hidden; 2192 font-size: 94%; 2193 padding: 2px 4px; 2194 word-wrap: break-word; 2195 } 2196 2197 /** 2198 * Diff rendering 2199 */ 2200 table.diff { 2201 background: white; 2202 } 2203 td.diff-otitle { 2204 background: #ffffff; 2205 } 2206 td.diff-ntitle { 2207 background: #ffffff; 2208 } 2209 td.diff-addedline { 2210 background: #ccffcc; 2211 font-size: smaller; 2212 border: solid 2px black; 2213 } 2214 td.diff-deletedline { 2215 background: #ffffaa; 2216 font-size: smaller; 2217 border: dotted 2px black; 2218 } 2219 td.diff-context { 2220 background: #eeeeee; 2221 font-size: smaller; 2222 } 2223 .diffchange { 2224 color: silver; 2225 font-weight: bold; 2226 text-decoration: underline; 2227 } 2228 2229 /** 2230 * Table rendering 2231 * As on shared.css but with white background. 2232 */ 2233 table.wikitable, 2234 table.mw_metadata { 2235 margin: 1em 1em 1em 0; 2236 border: 1px #aaa solid; 2237 background: white; 2238 border-collapse: collapse; 2239 } 2240 table.wikitable > tr > th, table.wikitable > tr > td, 2241 table.wikitable > * > tr > th, table.wikitable > * > tr > td, 2242 .mw_metadata th, .mw_metadata td { 2243 border: 1px #aaa solid; 2244 padding: 0.2em; 2245 } 2246 table.wikitable > tr > th, 2247 table.wikitable > * > tr > th, 2248 .mw_metadata th { 2249 text-align: center; 2250 background: white; 2251 font-weight: bold; 2252 } 2253 table.wikitable > caption, 2254 .mw_metadata caption { 2255 font-weight: bold; 2256 } 2257 2258 a.sortheader { 2259 margin: 0 0.3em; 2260 } 2261 2262 /* Some pagination options */ 2263 .wikitable, .thumb, img { 2264 page-break-inside: avoid; 2265 } 2266 h2, h3, h4, h5, h6, h7 { 2267 page-break-after: avoid; 2268 } 2269 p { 2270 widows: 3; 2271 orphans: 3; 2272 } 2273 2274 /** 2275 * Categories 2276 */ 2277 .catlinks ul { 2278 display: inline; 2279 margin: 0; 2280 padding: 0; 2281 list-style: none; 2282 list-style-type: none; 2283 list-style-image: none; 2284 vertical-align: middle !ie; 2285 } 2286 2287 .catlinks li { 2288 display: inline-block; 2289 line-height: 1.15em; 2290 padding: 0 .4em; 2291 border-left: 1px solid #AAA; 2292 margin: 0.1em 0; 2293 zoom: 1; 2294 display: inline !ie; 2295 } 2296 2297 .catlinks li:first-child { 2298 padding-left: .2em; 2299 border-left: none; 2300 } 2301 /* Default styling for HTML elements */ 2302 dfn { 2303 font-style: inherit; /* Reset default styling for <dfn> */ 2304 } 2305 sup, sub { 2306 line-height: 1em; /* Reduce line-height for <sup> and <sub> */ 2307 } 2308 2309 /* Main page fixes */ 2310 #interwiki-completelist { 2311 font-weight: bold; 2312 } 2313 body.page-Main_Page #ca-delete { 2314 display: none !important; 2315 } 2316 body.page-Main_Page #mp-topbanner { 2317 clear: both; 2318 } 2319 2320 /* Edit window toolbar */ 2321 #toolbar { 2322 height: 22px; 2323 margin-bottom: 6px; 2324 } 2325 2326 /* Highlight data points in the info action if specified in the URL */ 2327 body.action-info :target { 2328 background: #DEF; 2329 } 2330 2331 /* Make the list of references smaller */ 2332 ol.references, 2333 div.reflist, 2334 div.refbegin { 2335 font-size: 90%; /* Default font-size */ 2336 margin-bottom: 0.5em; 2337 } 2338 div.refbegin-100 { 2339 font-size: 100%; /* Option for normal fontsize in {{refbegin}} */ 2340 } 2341 div.reflist ol.references { 2342 font-size: 100%; /* Reset font-size when nested in div.reflist */ 2343 list-style-type: inherit; /* Enable custom list style types */ 2344 } 2345 2346 /* Reset top margin for lists embedded in columns */ 2347 div.columns { 2348 margin-top: 0.3em; 2349 } 2350 div.columns dl, 2351 div.columns ol, 2352 div.columns ul { 2353 margin-top: 0; 2354 } 2355 2356 /* Avoid list items from breaking between columns */ 2357 div.columns li, 2358 div.columns dd dd { 2359 -webkit-column-break-inside: avoid; 2360 page-break-inside: avoid; 2361 break-inside: avoid-column; 2362 } 2363 2364 /* Highlight clicked reference in blue to help navigation */ 2365 ol.references li:target, 2366 sup.reference:target, 2367 span.citation:target { 2368 background-color: #DEF; 2369 } 2370 2371 /* Ensure refs in table headers and the like aren't bold or italic */ 2372 sup.reference { 2373 font-weight: normal; 2374 font-style: normal; 2375 } 2376 2377 /* Allow hidden ref errors to be shown by user CSS */ 2378 span.brokenref { 2379 display: none; 2380 } 2381 2382 /* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */ 2383 .citation { 2384 word-wrap: break-word; 2385 } 2386 2387 /* For linked citation numbers and document IDs, where 2388 the number need not be shown on a screen or a handheld, 2389 but should be included in the printed version */ 2390 @media screen, handheld { 2391 .citation *.printonly { 2392 display: none; 2393 } 2394 } 2395 2396 /* Style for [[Template:Flowlist]] that Lets lists flow around floating objecs */ 2397 .flowlist ul { 2398 overflow-x: hidden; 2399 margin-left: 0em; 2400 padding-left: 1.6em; 2401 } 2402 .flowlist ol { 2403 overflow-x: hidden; 2404 margin-left: 0em; 2405 padding-left: 3.2em; 2406 } 2407 .flowlist dl { 2408 overflow-x: hidden; 2409 } 2410 2411 /* Style for horizontal lists (separator following item). 2412 IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]]. 2413 @source mediawiki.org/wiki/Snippets/Horizontal_lists 2414 @revision 4.3 (2014-01-06) 2415 @author [[User:Edokter]] 2416 */ 2417 .hlist dl, 2418 .hlist ol, 2419 .hlist ul { 2420 margin: 0; 2421 padding: 0; 2422 } 2423 /* Display list items inline */ 2424 .hlist dd, 2425 .hlist dt, 2426 .hlist li { 2427 margin: 0; 2428 display: inline; 2429 } 2430 /* Display nested lists inline */ 2431 .hlist dl dl, .hlist dl ol, .hlist dl ul, 2432 .hlist ol dl, .hlist ol ol, .hlist ol ul, 2433 .hlist ul dl, .hlist ul ol, .hlist ul ul { 2434 display: inline; 2435 } 2436 /* Generate interpuncts */ 2437 .hlist dt:after { 2438 content: ": "; 2439 } 2440 .hlist dd:after, 2441 .hlist li:after { 2442 content: " "; 2443 font-weight: bold; 2444 } 2445 .hlist dd:last-child:after, 2446 .hlist dt:last-child:after, 2447 .hlist li:last-child:after { 2448 content: none; 2449 } 2450 /* For IE8 */ 2451 .hlist dd.hlist-last-child:after, 2452 .hlist dt.hlist-last-child:after, 2453 .hlist li.hlist-last-child:after { 2454 content: none; 2455 } 2456 /* Add parentheses around nested lists */ 2457 .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, 2458 .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, 2459 .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { 2460 content: " ("; 2461 font-weight: normal; 2462 } 2463 .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, 2464 .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, 2465 .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after { 2466 content: ") "; 2467 font-weight: normal; 2468 } 2469 /* For IE8 */ 2470 .hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, 2471 .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, 2472 .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after { 2473 content: ") "; 2474 font-weight: normal; 2475 } 2476 /* Put ordinals in front of ordered list items */ 2477 .hlist ol { 2478 counter-reset: listitem; 2479 } 2480 .hlist ol > li { 2481 counter-increment: listitem; 2482 } 2483 .hlist ol > li:before { 2484 content: " " counter(listitem) " "; 2485 } 2486 .hlist dd ol > li:first-child:before, 2487 .hlist dt ol > li:first-child:before, 2488 .hlist li ol > li:first-child:before { 2489 content: " (" counter(listitem) " "; 2490 } 2491 2492 /* Unbulleted lists */ 2493 .plainlist ul { 2494 line-height: inherit; 2495 list-style: none none; 2496 margin: 0; 2497 } 2498 .plainlist ul li { 2499 margin-bottom: 0; 2500 } 2501 2502 /* Default style for navigation boxes */ 2503 .navbox { /* Navbox container style */ 2504 border: 1px solid #aaa; 2505 width: 100%; 2506 margin: auto; 2507 clear: both; 2508 font-size: 88%; 2509 text-align: center; 2510 padding: 1px; 2511 } 2512 .navbox-inner, 2513 .navbox-subgroup { 2514 width: 100%; 2515 } 2516 .navbox-group, 2517 .navbox-title, 2518 .navbox-abovebelow { 2519 padding: 0.25em 1em; /* Title, group and above/below styles */ 2520 line-height: 1.5em; 2521 text-align: center; 2522 } 2523 th.navbox-group { /* Group style */ 2524 white-space: nowrap; 2525 /* @noflip */ 2526 text-align: right; 2527 } 2528 .navbox, 2529 .navbox-subgroup { 2530 background: #fdfdfd; /* Background color */ 2531 } 2532 .navbox-list { 2533 line-height: 1.8em; 2534 border-color: #fdfdfd; /* Must match background color */ 2535 } 2536 .navbox th, 2537 .navbox-title { 2538 background: #ccccff; /* Level 1 color */ 2539 } 2540 .navbox-abovebelow, 2541 th.navbox-group, 2542 .navbox-subgroup .navbox-title { 2543 background: #ddddff; /* Level 2 color */ 2544 } 2545 .navbox-subgroup .navbox-group, 2546 .navbox-subgroup .navbox-abovebelow { 2547 background: #e6e6ff; /* Level 3 color */ 2548 } 2549 .navbox-even { 2550 background: #f7f7f7; /* Even row striping */ 2551 } 2552 .navbox-odd { 2553 background: transparent; /* Odd row striping */ 2554 } 2555 table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ 2556 margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ 2557 } 2558 .navbox .hlist td dl, 2559 .navbox .hlist td ol, 2560 .navbox .hlist td ul, 2561 .navbox td.hlist dl, 2562 .navbox td.hlist ol, 2563 .navbox td.hlist ul { 2564 padding: 0.125em 0; /* Adjust hlist padding in navboxes */ 2565 } 2566 ol + table.navbox, 2567 ul + table.navbox { 2568 margin-top: 0.5em; /* Prevent lists from clinging to navboxes */ 2569 } 2570 2571 /* Default styling for Navbar template */ 2572 .navbar { 2573 display: inline; 2574 font-size: 88%; 2575 font-weight: normal; 2576 } 2577 .navbar ul { 2578 display: inline; 2579 white-space: nowrap; 2580 } 2581 .navbar li { 2582 word-spacing: -0.125em; 2583 } 2584 .navbar.mini li span { 2585 font-variant: small-caps; 2586 } 2587 /* Navbar styling when nested in infobox and navbox */ 2588 .infobox .navbar { 2589 font-size: 100%; 2590 } 2591 .navbox .navbar { 2592 display: block; 2593 font-size: 100%; 2594 } 2595 .navbox-title .navbar { 2596 /* @noflip */ 2597 float: left; 2598 /* @noflip */ 2599 text-align: left; 2600 /* @noflip */ 2601 margin-right: 0.5em; 2602 width: 6em; 2603 } 2604 2605 /* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript 2606 in [[MediaWiki:Common.js]] are styled here so they can be customised. */ 2607 .collapseButton { 2608 /* @noflip */ 2609 float: right; 2610 font-weight: normal; 2611 /* @noflip */ 2612 margin-left: 0.5em; 2613 /* @noflip */ 2614 text-align: right; 2615 width: auto; 2616 } 2617 /* In navboxes, the show/hide button balances the vde links 2618 from [[Template:Navbar]], so they need to be the same width. */ 2619 .navbox .collapseButton { 2620 width: 6em; 2621 } 2622 2623 /* Styling for JQuery makeCollapsible, matching that of collapseButton */ 2624 .mw-collapsible-toggle { 2625 font-weight: normal; 2626 /* @noflip */ 2627 text-align: right; 2628 } 2629 .navbox .mw-collapsible-toggle { 2630 width: 6em; 2631 } 2632 2633 /* Infobox template style */ 2634 .infobox { 2635 border: 1px solid #aaa; 2636 background-color: #f9f9f9; 2637 color: black; 2638 /* @noflip */ 2639 margin: 0.5em 0 0.5em 1em; 2640 padding: 0.2em; 2641 /* @noflip */ 2642 float: right; 2643 /* @noflip */ 2644 clear: right; 2645 /* @noflip */ 2646 text-align: left; 2647 font-size: 88%; 2648 line-height: 1.5em; 2649 } 2650 .infobox caption { 2651 font-size: 125%; 2652 font-weight: bold; 2653 } 2654 .infobox td, 2655 .infobox th { 2656 vertical-align: top; 2657 } 2658 .infobox.bordered { 2659 border-collapse: collapse; 2660 } 2661 .infobox.bordered td, 2662 .infobox.bordered th { 2663 border: 1px solid #aaa; 2664 } 2665 .infobox.bordered .borderless td, 2666 .infobox.bordered .borderless th { 2667 border: 0; 2668 } 2669 2670 .infobox.sisterproject { 2671 width: 20em; 2672 font-size: 90%; 2673 } 2674 2675 .infobox.standard-talk { 2676 border: 1px solid #c0c090; 2677 background-color: #f8eaba; 2678 } 2679 .infobox.standard-talk.bordered td, 2680 .infobox.standard-talk.bordered th { 2681 border: 1px solid #c0c090; 2682 } 2683 2684 /* styles for bordered infobox with merged rows */ 2685 .infobox.bordered .mergedtoprow td, 2686 .infobox.bordered .mergedtoprow th { 2687 border: 0; 2688 border-top: 1px solid #aaa; 2689 /* @noflip */ 2690 border-right: 1px solid #aaa; 2691 } 2692 2693 .infobox.bordered .mergedrow td, 2694 .infobox.bordered .mergedrow th { 2695 border: 0; 2696 /* @noflip */ 2697 border-right: 1px solid #aaa; 2698 } 2699 2700 /* Styles for geography infoboxes, eg countries, 2701 country subdivisions, cities, etc. */ 2702 .infobox.geography { 2703 border-collapse: collapse; 2704 line-height: 1.2em; 2705 font-size: 90%; 2706 } 2707 2708 .infobox.geography td, 2709 .infobox.geography th { 2710 border-top: 1px solid #aaa; 2711 padding: 0.4em 0.6em 0.4em 0.6em; 2712 } 2713 .infobox.geography .mergedtoprow td, 2714 .infobox.geography .mergedtoprow th { 2715 border-top: 1px solid #aaa; 2716 padding: 0.4em 0.6em 0.2em 0.6em; 2717 } 2718 2719 .infobox.geography .mergedrow td, 2720 .infobox.geography .mergedrow th { 2721 border: 0; 2722 padding: 0 0.6em 0.2em 0.6em; 2723 } 2724 2725 .infobox.geography .mergedbottomrow td, 2726 .infobox.geography .mergedbottomrow th { 2727 border-top: 0; 2728 border-bottom: 1px solid #aaa; 2729 padding: 0 0.6em 0.4em 0.6em; 2730 } 2731 2732 .infobox.geography .maptable td, 2733 .infobox.geography .maptable th { 2734 border: 0; 2735 padding: 0; 2736 } 2737 2738 /* Normal font styling for table row headers with scope="row" tag */ 2739 .wikitable.plainrowheaders th[scope=row] { 2740 font-weight: normal; 2741 /* @noflip */ 2742 text-align: left; 2743 } 2744 2745 /* Lists in data cells are always left-aligned */ 2746 .wikitable td ul, 2747 .wikitable td ol, 2748 .wikitable td dl { 2749 /* @noflip */ 2750 text-align: left; 2751 } 2752 /* ...unless they also use the hlist class */ 2753 .wikitable.hlist td ul, 2754 .wikitable.hlist td ol, 2755 .wikitable.hlist td dl { 2756 text-align: inherit; 2757 } 2758 2759 /* Icons for medialist templates [[Template:Listen]], 2760 [[Template:Multi-listen_start]], [[Template:Video]], 2761 [[Template:Multi-video_start]] */ 2762 div.listenlist { 2763 background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0% 0% transparent; 2764 background-size: 30px; 2765 padding-left: 40px; 2766 } 2767 2768 /* Fix for hieroglyphs specificality issue in infoboxes ([[Bugzilla:41869]]) */ 2769 table.mw-hiero-table td { 2770 vertical-align: middle; 2771 } 2772 2773 /* Style rules for media list templates */ 2774 div.medialist { 2775 min-height: 50px; 2776 margin: 1em; 2777 /* @noflip */ 2778 background-position: top left; 2779 background-repeat: no-repeat; 2780 } 2781 div.medialist ul { 2782 list-style-type: none; 2783 list-style-image: none; 2784 margin: 0; 2785 } 2786 div.medialist ul li { 2787 padding-bottom: 0.5em; 2788 } 2789 div.medialist ul li li { 2790 font-size: 91%; 2791 padding-bottom: 0; 2792 } 2793 2794 /* Change the external link icon to an Adobe icon for all PDF files 2795 in browsers that support these CSS selectors, like Mozilla and Opera */ 2796 div#content a[href$=".pdf"].external, 2797 div#content a[href*=".pdf?"].external, 2798 div#content a[href*=".pdf#"].external, 2799 div#content a[href$=".PDF"].external, 2800 div#content a[href*=".PDF?"].external, 2801 div#content a[href*=".PDF#"].external, 2802 div#mw_content a[href$=".pdf"].external, 2803 div#mw_content a[href*=".pdf?"].external, 2804 div#mw_content a[href*=".pdf#"].external, 2805 div#mw_content a[href$=".PDF"].external, 2806 div#mw_content a[href*=".PDF?"].external, 2807 div#mw_content a[href*=".PDF#"].external { 2808 background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; 2809 /* @noflip */ 2810 padding-right: 18px; 2811 } 2812 2813 /* Change the external link icon to an Adobe icon anywhere the PDFlink class 2814 is used (notably Template:PDFlink). This works in IE, unlike the above. */ 2815 div#content span.PDFlink a, 2816 div#mw_content span.PDFlink a { 2817 background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat right; 2818 /* @noflip */ 2819 padding-right: 18px; 2820 } 2821 2822 /* Content in columns with CSS instead of tables ([[Template:Columns]]) */ 2823 div.columns-2 div.column { 2824 /* @noflip */ 2825 float: left; 2826 width: 50%; 2827 min-width: 300px; 2828 } 2829 div.columns-3 div.column { 2830 /* @noflip */ 2831 float: left; 2832 width: 33.3%; 2833 min-width: 200px; 2834 } 2835 div.columns-4 div.column { 2836 /* @noflip */ 2837 float: left; 2838 width: 25%; 2839 min-width: 150px; 2840 } 2841 div.columns-5 div.column { 2842 /* @noflip */ 2843 float: left; 2844 width: 20%; 2845 min-width: 120px; 2846 } 2847 2848 /* Messagebox templates */ 2849 .messagebox { 2850 border: 1px solid #aaa; 2851 background-color: #f9f9f9; 2852 width: 80%; 2853 margin: 0 auto 1em auto; 2854 padding: .2em; 2855 } 2856 .messagebox.merge { 2857 border: 1px solid #c0b8cc; 2858 background-color: #f0e5ff; 2859 text-align: center; 2860 } 2861 .messagebox.cleanup { 2862 border: 1px solid #9f9fff; 2863 background-color: #efefff; 2864 text-align: center; 2865 } 2866 .messagebox.standard-talk { 2867 border: 1px solid #c0c090; 2868 background-color: #f8eaba; 2869 margin: 4px auto; 2870 } 2871 /* For old WikiProject banners inside banner shells. */ 2872 .mbox-inside .standard-talk, 2873 .messagebox.nested-talk { 2874 border: 1px solid #c0c090; 2875 background-color: #f8eaba; 2876 width: 100%; 2877 margin: 2px 0; 2878 padding: 2px; 2879 } 2880 .messagebox.small { 2881 width: 238px; 2882 font-size: 85%; 2883 /* @noflip */ 2884 float: right; 2885 clear: both; 2886 /* @noflip */ 2887 margin: 0 0 1em 1em; 2888 line-height: 1.25em; 2889 } 2890 .messagebox.small-talk { 2891 width: 238px; 2892 font-size: 85%; 2893 /* @noflip */ 2894 float: right; 2895 clear: both; 2896 /* @noflip */ 2897 margin: 0 0 1em 1em; 2898 line-height: 1.25em; 2899 background: #F8EABA; 2900 } 2901 2902 /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ 2903 th.mbox-text, td.mbox-text { /* The message body cell(s) */ 2904 border: none; 2905 /* @noflip */ 2906 padding: 0.25em 0.9em; /* 0.9em left/right */ 2907 width: 100%; /* Make all mboxes the same width regardless of text length */ 2908 } 2909 td.mbox-image { /* The left image cell */ 2910 border: none; 2911 /* @noflip */ 2912 padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ 2913 text-align: center; 2914 } 2915 td.mbox-imageright { /* The right image cell */ 2916 border: none; 2917 /* @noflip */ 2918 padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ 2919 text-align: center; 2920 } 2921 td.mbox-empty-cell { /* An empty narrow cell */ 2922 border: none; 2923 padding: 0px; 2924 width: 1px; 2925 } 2926 2927 /* Article message box styles */ 2928 table.ambox { 2929 margin: 0px 10%; /* 10% = Will not overlap with other elements */ 2930 border: 1px solid #aaa; 2931 /* @noflip */ 2932 border-left: 10px solid #1e90ff; /* Default "notice" blue */ 2933 background: #fbfbfb; 2934 } 2935 table.ambox + table.ambox { /* Single border between stacked boxes. */ 2936 margin-top: -1px; 2937 } 2938 .ambox th.mbox-text, 2939 .ambox td.mbox-text { /* The message body cell(s) */ 2940 padding: 0.25em 0.5em; /* 0.5em left/right */ 2941 } 2942 .ambox td.mbox-image { /* The left image cell */ 2943 /* @noflip */ 2944 padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */ 2945 } 2946 .ambox td.mbox-imageright { /* The right image cell */ 2947 /* @noflip */ 2948 padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */ 2949 } 2950 2951 table.ambox-notice { 2952 /* @noflip */ 2953 border-left: 10px solid #1e90ff; /* Blue */ 2954 } 2955 table.ambox-speedy { 2956 /* @noflip */ 2957 border-left: 10px solid #b22222; /* Red */ 2958 background: #fee; /* Pink */ 2959 } 2960 table.ambox-delete { 2961 /* @noflip */ 2962 border-left: 10px solid #b22222; /* Red */ 2963 } 2964 table.ambox-content { 2965 /* @noflip */ 2966 border-left: 10px solid #f28500; /* Orange */ 2967 } 2968 table.ambox-style { 2969 /* @noflip */ 2970 border-left: 10px solid #f4c430; /* Yellow */ 2971 } 2972 table.ambox-move { 2973 /* @noflip */ 2974 border-left: 10px solid #9932cc; /* Purple */ 2975 } 2976 table.ambox-protection { 2977 /* @noflip */ 2978 border-left: 10px solid #bba; /* Gray-gold */ 2979 } 2980 2981 /* Image message box styles */ 2982 table.imbox { 2983 margin: 4px 10%; 2984 border-collapse: collapse; 2985 border: 3px solid #1e90ff; /* Default "notice" blue */ 2986 background: #fbfbfb; 2987 } 2988 .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ 2989 margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ 2990 display: block; /* Fix for webkit to force 100% width. */ 2991 } 2992 .mbox-inside .imbox { /* For imboxes inside other templates. */ 2993 margin: 4px; 2994 } 2995 2996 table.imbox-notice { 2997 border: 3px solid #1e90ff; /* Blue */ 2998 } 2999 table.imbox-speedy { 3000 border: 3px solid #b22222; /* Red */ 3001 background: #fee; /* Pink */ 3002 } 3003 table.imbox-delete { 3004 border: 3px solid #b22222; /* Red */ 3005 } 3006 table.imbox-content { 3007 border: 3px solid #f28500; /* Orange */ 3008 } 3009 table.imbox-style { 3010 border: 3px solid #f4c430; /* Yellow */ 3011 } 3012 table.imbox-move { 3013 border: 3px solid #9932cc; /* Purple */ 3014 } 3015 table.imbox-protection { 3016 border: 3px solid #bba; /* Gray-gold */ 3017 } 3018 table.imbox-license { 3019 border: 3px solid #88a; /* Dark gray */ 3020 background: #f7f8ff; /* Light gray */ 3021 } 3022 table.imbox-featured { 3023 border: 3px solid #cba135; /* Brown-gold */ 3024 } 3025 3026 /* Category message box styles */ 3027 table.cmbox { 3028 margin: 3px 10%; 3029 border-collapse: collapse; 3030 border: 1px solid #aaa; 3031 background: #DFE8FF; /* Default "notice" blue */ 3032 } 3033 3034 table.cmbox-notice { 3035 background: #D8E8FF; /* Blue */ 3036 } 3037 table.cmbox-speedy { 3038 margin-top: 4px; 3039 margin-bottom: 4px; 3040 border: 4px solid #b22222; /* Red */ 3041 background: #FFDBDB; /* Pink */ 3042 } 3043 table.cmbox-delete { 3044 background: #FFDBDB; /* Red */ 3045 } 3046 table.cmbox-content { 3047 background: #FFE7CE; /* Orange */ 3048 } 3049 table.cmbox-style { 3050 background: #FFF9DB; /* Yellow */ 3051 } 3052 table.cmbox-move { 3053 background: #E4D8FF; /* Purple */ 3054 } 3055 table.cmbox-protection { 3056 background: #EFEFE1; /* Gray-gold */ 3057 } 3058 3059 /* Other pages message box styles */ 3060 table.ombox { 3061 margin: 4px 10%; 3062 border-collapse: collapse; 3063 border: 1px solid #aaa; /* Default "notice" gray */ 3064 background: #f9f9f9; 3065 } 3066 3067 table.ombox-notice { 3068 border: 1px solid #aaa; /* Gray */ 3069 } 3070 table.ombox-speedy { 3071 border: 2px solid #b22222; /* Red */ 3072 background: #fee; /* Pink */ 3073 } 3074 table.ombox-delete { 3075 border: 2px solid #b22222; /* Red */ 3076 } 3077 table.ombox-content { 3078 border: 1px solid #f28500; /* Orange */ 3079 } 3080 table.ombox-style { 3081 border: 1px solid #f4c430; /* Yellow */ 3082 } 3083 table.ombox-move { 3084 border: 1px solid #9932cc; /* Purple */ 3085 } 3086 table.ombox-protection { 3087 border: 2px solid #bba; /* Gray-gold */ 3088 } 3089 3090 /* Talk page message box styles */ 3091 table.tmbox { 3092 margin: 4px 10%; 3093 border-collapse: collapse; 3094 border: 1px solid #c0c090; /* Default "notice" gray-brown */ 3095 background: #f8eaba; 3096 } 3097 .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */ 3098 margin: 2px 0; /* this declaration overrides other styles (including mbox-small above) */ 3099 width: 100%; /* For Safari and Opera */ 3100 } 3101 .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ 3102 line-height: 1.5em; /* also "nested", so reset styles that are */ 3103 font-size: 100%; /* set in "mbox-small" above. */ 3104 } 3105 3106 table.tmbox-speedy { 3107 border: 2px solid #b22222; /* Red */ 3108 background: #fee; /* Pink */ 3109 } 3110 table.tmbox-delete { 3111 border: 2px solid #b22222; /* Red */ 3112 } 3113 table.tmbox-content { 3114 border: 2px solid #f28500; /* Orange */ 3115 } 3116 table.tmbox-style { 3117 border: 2px solid #f4c430; /* Yellow */ 3118 } 3119 table.tmbox-move { 3120 border: 2px solid #9932cc; /* Purple */ 3121 } 3122 table.tmbox-protection, 3123 table.tmbox-notice { 3124 border: 1px solid #c0c090; /* Gray-brown */ 3125 } 3126 3127 /* Disambig and set index box styles */ 3128 table.dmbox { 3129 clear: both; 3130 margin: 0.9em 1em; 3131 border-top: 1px solid #ccc; 3132 border-bottom: 1px solid #ccc; 3133 background: transparent; 3134 } 3135 3136 /* Footer and header message box styles */ 3137 table.fmbox { 3138 clear: both; 3139 margin: 0.2em 0; 3140 width: 100%; 3141 border: 1px solid #aaa; 3142 background: #f9f9f9; /* Default "system" gray */ 3143 } 3144 table.fmbox-system { 3145 background: #f9f9f9; 3146 } 3147 table.fmbox-warning { 3148 border: 1px solid #bb7070; /* Dark pink */ 3149 background: #ffdbdb; /* Pink */ 3150 } 3151 table.fmbox-editnotice { 3152 background: transparent; 3153 } 3154 /* Div based "warning" style fmbox messages. */ 3155 div.mw-warning-with-logexcerpt, 3156 div.mw-lag-warn-high, 3157 div.mw-cascadeprotectedwarning, 3158 div#mw-protect-cascadeon { 3159 clear: both; 3160 margin: 0.2em 0; 3161 border: 1px solid #bb7070; 3162 background: #ffdbdb; 3163 padding: 0.25em 0.9em; 3164 } 3165 /* Div based "system" style fmbox messages. 3166 Used in [[MediaWiki:Readonly lag]]. */ 3167 div.mw-lag-warn-normal, 3168 div.fmbox-system { 3169 clear: both; 3170 margin: 0.2em 0; 3171 border: 1px solid #aaa; 3172 background: #f9f9f9; 3173 padding: 0.25em 0.9em; 3174 } 3175 3176 /* These mbox-small classes must be placed after all other 3177 ambox/tmbox/ombox etc classes. "body.mediawiki" is so 3178 they override "table.ambox + table.ambox" above. */ 3179 body.mediawiki table.mbox-small { /* For the "small=yes" option. */ 3180 /* @noflip */ 3181 clear: right; 3182 /* @noflip */ 3183 float: right; 3184 /* @noflip */ 3185 margin: 4px 0 4px 1em; 3186 width: 238px; 3187 font-size: 88%; 3188 line-height: 1.25em; 3189 } 3190 body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ 3191 /* @noflip */ 3192 margin: 4px 1em 4px 0; 3193 width: 238px; 3194 border-collapse: collapse; 3195 font-size: 88%; 3196 line-height: 1.25em; 3197 } 3198 3199 /* Style for compact ambox */ 3200 /* Hide the images */ 3201 .compact-ambox table .mbox-image, 3202 .compact-ambox table .mbox-imageright, 3203 .compact-ambox table .mbox-empty-cell { 3204 display: none; 3205 } 3206 /* Remove borders, backgrounds, padding, etc. */ 3207 .compact-ambox table.ambox { 3208 border: none; 3209 border-collapse: collapse; 3210 background: transparent; 3211 margin: 0 0 0 1.6em !important; 3212 padding: 0 !important; 3213 width: auto; 3214 display: block; 3215 } 3216 body.mediawiki .compact-ambox table.mbox-small-left { 3217 font-size: 100%; 3218 width: auto; 3219 margin: 0; 3220 } 3221 /* Style the text cell as a list item and remove its padding */ 3222 .compact-ambox table .mbox-text { 3223 padding: 0 !important; 3224 margin: 0 !important; 3225 } 3226 .compact-ambox table .mbox-text-span { 3227 display: list-item; 3228 line-height: 1.5em; 3229 list-style-type: square; 3230 list-style-image: url(//bits.wikimedia.org/skins/common/images/bullet.gif); 3231 } 3232 .skin-vector .compact-ambox table .mbox-text-span { 3233 list-style-type: circle; 3234 list-style-image: url(//bits.wikimedia.org/skins/vector/images/bullet-icon.png) 3235 } 3236 /* Allow for hiding text in compact form */ 3237 .compact-ambox .hide-when-compact { 3238 display: none; 3239 } 3240 3241 /* Remove default styles for [[MediaWiki:Noarticletext]]. */ 3242 div.noarticletext { 3243 border: none; 3244 background: transparent; 3245 padding: 0; 3246 } 3247 3248 /* Hide (formatting) elements from screen, but not from screenreaders */ 3249 .visualhide { 3250 position: absolute; 3251 left: -10000px; 3252 top: auto; 3253 width: 1px; 3254 height: 1px; 3255 overflow: hidden; 3256 } 3257 3258 /* Bold save button */ 3259 #wpSave { 3260 font-weight: bold; 3261 } 3262 3263 /* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */ 3264 .hiddenStructure { 3265 display: inline !important; 3266 color: #f00; 3267 background-color: #0f0; 3268 } 3269 3270 /* suppress missing interwiki image links where #ifexist cannot 3271 be used due to high number of requests see .hidden-redlink on 3272 [[m:MediaWiki:Common.css]] */ 3273 .check-icon a.new { 3274 display: none; 3275 speak: none; 3276 } 3277 3278 /* Removes underlines from certain links */ 3279 .nounderlines a, 3280 .IPA a:link, .IPA a:visited { 3281 text-decoration: none !important; 3282 } 3283 3284 /* Standard Navigationsleisten, aka box hiding thingy 3285 from .de. Documentation at [[Wikipedia:NavFrame]]. */ 3286 div.NavFrame { 3287 margin: 0; 3288 padding: 4px; 3289 border: 1px solid #aaa; 3290 text-align: center; 3291 border-collapse: collapse; 3292 font-size: 95%; 3293 } 3294 div.NavFrame + div.NavFrame { 3295 border-top-style: none; 3296 border-top-style: hidden; 3297 } 3298 div.NavPic { 3299 background-color: #fff; 3300 margin: 0; 3301 padding: 2px; 3302 /* @noflip */ 3303 float: left; 3304 } 3305 div.NavFrame div.NavHead { 3306 height: 1.6em; 3307 font-weight: bold; 3308 background-color: #ccf; 3309 position: relative; 3310 } 3311 div.NavFrame p, 3312 div.NavFrame div.NavContent, 3313 div.NavFrame div.NavContent p { 3314 font-size: 100%; 3315 } 3316 div.NavEnd { 3317 margin: 0; 3318 padding: 0; 3319 line-height: 1px; 3320 clear: both; 3321 } 3322 a.NavToggle { 3323 position: absolute; 3324 top: 0; 3325 /* @noflip */ 3326 right: 3px; 3327 font-weight: normal; 3328 font-size: 90%; 3329 } 3330 3331 /* Hatnotes and disambiguation notices */ 3332 .rellink, 3333 .dablink { 3334 font-style: italic; 3335 /* @noflip */ 3336 padding-left: 1.6em; 3337 margin-bottom: 0.5em; 3338 } 3339 .rellink i, 3340 .dablink i { 3341 font-style: normal; 3342 } 3343 3344 /* Allow transcluded pages to display in lists rather than a table. 3345 Compatible in Firefox; incompatible in IE6. */ 3346 .listify td { display: list-item; } 3347 .listify tr { display: block; } 3348 .listify table { display: block; } 3349 3350 /* Geographical coordinates defaults. See [[Template:Coord/link]] 3351 for how these are used. The classes "geo", "longitude", and 3352 "latitude" are used by the [[Geo microformat]]. */ 3353 .geo-default, .geo-dms, .geo-dec { display: inline; } 3354 .geo-nondefault, .geo-multi-punct { display: none; } 3355 .longitude, .latitude { white-space: nowrap; } 3356 3357 /* When <div class="nonumtoc"> is used on the table of contents, 3358 the ToC will display without numbers */ 3359 .nonumtoc .tocnumber { display: none; } 3360 .nonumtoc #toc ul, 3361 .nonumtoc .toc ul { 3362 line-height: 1.5em; 3363 list-style: none none; 3364 margin: .3em 0 0; 3365 padding: 0; 3366 } 3367 .nonumtoc #toc ul ul, 3368 .nonumtoc .toc ul ul { 3369 /* @noflip */ 3370 margin: 0 0 0 2em; 3371 } 3372 3373 /* Allow limiting of which header levels are shown in a TOC; 3374 <div class="toclimit-3">, for instance, will limit to 3375 showing ==headings== and ===headings=== but no further 3376 (as long as there are no =headings= on the page, which 3377 there shouldn't be according to the MoS). */ 3378 .toclimit-2 .toclevel-1 ul, 3379 .toclimit-3 .toclevel-2 ul, 3380 .toclimit-4 .toclevel-3 ul, 3381 .toclimit-5 .toclevel-4 ul, 3382 .toclimit-6 .toclevel-5 ul, 3383 .toclimit-7 .toclevel-6 ul { 3384 display: none; 3385 } 3386 3387 /* Styling for Template:Quote */ 3388 blockquote.templatequote { 3389 margin-top: 0; 3390 } 3391 blockquote.templatequote div.templatequotecite { 3392 line-height: 1em; 3393 /* @noflip */ 3394 text-align: left; 3395 /* @noflip */ 3396 padding-left: 2em; 3397 margin-top: 0; 3398 } 3399 blockquote.templatequote div.templatequotecite cite { 3400 font-size: 85%; 3401 } 3402 3403 /* User block messages */ 3404 div.user-block { 3405 padding: 5px; 3406 margin-bottom: 0.5em; 3407 border: 1px solid #A9A9A9; 3408 background-color: #FFEFD5; 3409 } 3410 3411 /* Prevent line breaks in silly places: 3412 1) Where desired 3413 2) Links when we don't want them to 3414 3) Bold "links" to the page itself 3415 4) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ 3416 .nowrap, 3417 .nowraplinks a, 3418 .nowraplinks .selflink, 3419 sup.reference a { 3420 white-space: nowrap; 3421 } 3422 /* But allow wrapping where desired: */ 3423 .wrap, 3424 .wraplinks a { 3425 white-space: normal; 3426 } 3427 3428 /* For template documentation */ 3429 .template-documentation { 3430 clear: both; 3431 margin: 1em 0 0 0; 3432 border: 1px solid #aaa; 3433 background-color: #ecfcf4; 3434 padding: 1em; 3435 } 3436 3437 /* Inline divs in ImageMaps (code borrowed from de.wiki) */ 3438 .imagemap-inline div { 3439 display: inline; 3440 } 3441 3442 /* Increase the height of the image upload box */ 3443 #wpUploadDescription { 3444 height: 13em; 3445 } 3446 3447 /* Minimum thumb width */ 3448 .thumbinner { 3449 min-width: 100px; 3450 } 3451 3452 /* Makes the background of a framed image white instead of gray. 3453 Only visible with transparent images. */ 3454 div.thumb .thumbimage { 3455 background-color: #fff; 3456 } 3457 3458 /* The backgrounds for galleries. */ 3459 div#content .gallerybox div.thumb { 3460 /* Light gray padding */ 3461 background-color: #F9F9F9; 3462 } 3463 /* Put a chequered background behind images, only visible if they have transparency. 3464 '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */ 3465 .gallerybox .thumb img { 3466 background: #fff url(//bits.wikimedia.org/skins/common/images/Checker-16x16.png) repeat; 3467 } 3468 /* But not on articles, user pages, portals or with opt-out. */ 3469 .ns-0 .gallerybox .thumb img, 3470 .ns-2 .gallerybox .thumb img, 3471 .ns-100 .gallerybox .thumb img, 3472 .nochecker .gallerybox .thumb img { 3473 background: #fff; 3474 } 3475 3476 /* Prevent floating boxes from overlapping any category listings, 3477 file histories, edit previews, and edit [Show changes] views. */ 3478 #mw-subcategories, #mw-pages, #mw-category-media, 3479 #filehistory, #wikiPreview, #wikiDiff { 3480 clear: both; 3481 } 3482 3483 body.rtl #mw-articlefeedbackv5, body.rtl #mw-articlefeedback { 3484 display: block; /* Override inline block mode */ 3485 margin-bottom: 1em; 3486 /* @noflip */ 3487 clear: right; /* Clear any info boxes that stick out */ 3488 /* @noflip */ 3489 float: right; /* Prevents margin collapsing */ 3490 } 3491 3492 /* Selectively hide headers in WikiProject banners */ 3493 .wpb .wpb-header { display: none; } 3494 .wpbs-inner .wpb .wpb-header { display: block; } /* for IE */ 3495 .wpbs-inner .wpb .wpb-header { display: table-row; } /* for real browsers */ 3496 .wpbs-inner .wpb-outside { display: none; } /* hide things that should only display outside shells */ 3497 3498 /* Styling for Abuse Filter tags */ 3499 .mw-tag-markers { 3500 font-family:sans-serif; 3501 font-style:italic; 3502 font-size:90%; 3503 } 3504 3505 /* Hide stuff meant for accounts with special permissions. Made visible again in 3506 [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]], 3507 [[MediaWiki:Group-templateeditor.css]] and [[Mediawiki:Group-autoconfirmed.css]]. */ 3508 .sysop-show, 3509 .accountcreator-show, 3510 .templateeditor-show, 3511 .autoconfirmed-show { 3512 display: none; 3513 } 3514 3515 /** 3516 * Hide the redlink generated by {{Editnotice}}, 3517 * this overrides the ".sysop-show { display: none; }" above that applies 3518 * to the same link as well. 3519 */ 3520 .ve-init-mw-viewPageTarget-toolbar-editNotices-notice .editnotice-redlink { 3521 display: none !important; 3522 } 3523 3524 /* Remove bullets when there are multiple edit page warnings */ 3525 ul.permissions-errors > li { 3526 list-style: none none; 3527 } 3528 ul.permissions-errors { 3529 margin: 0; 3530 } 3531 3532 /* No linewrap on the labels of the login/signup page */ 3533 body.page-Special_UserLogin .mw-label label, 3534 body.page-Special_UserLogin_signup .mw-label label { 3535 white-space: nowrap; 3536 } 3537 3538 /* Pie chart test: Transparent borders */ 3539 .transborder { 3540 border: solid transparent; 3541 } 3542 * html .transborder { /* IE6 */ 3543 border: solid #000001; 3544 filter: chroma(color=#000001); 3545 } 3546 3547 /* Styling for updated markers on watchlist, history and recent/related changes. 3548 Bullets are handled in skin-specific stylesheets. */ 3549 .updatedmarker { 3550 background-color: transparent; 3551 color: #006400; 3552 } 3553 li.mw-changeslist-line-watched .mw-title, 3554 table.mw-changeslist-line-watched .mw-title, 3555 table.mw-enhanced-watch .mw-enhanced-rctime { 3556 font-weight: normal; 3557 } 3558 3559 /* Adjust font for inline HTML generated formulae */ 3560 span.texhtml { 3561 font-family: "Times New Roman", "Nimbus Roman No9 L", Times, serif; 3562 font-size: 118%; 3563 white-space: nowrap; 3564 } 3565 span.texhtml span.texhtml { 3566 font-size: 100%; 3567 } 3568 3569 /* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size. 3570 [[Bugzilla:26204]]. See also [[Wikipedia:Typography#The monospace 'bug']] */ 3571 div.mw-geshi div, 3572 div.mw-geshi div pre, 3573 span.mw-geshi, 3574 pre.source-css, 3575 pre.source-javascript, 3576 pre.source-lua { 3577 font-family: monospace, Courier !important; 3578 } 3579 3580 /* Fix styling of transcluded prefindex tables */ 3581 table#mw-prefixindex-list-table, 3582 table#mw-prefixindex-nav-table { 3583 width: 98%; 3584 } 3585 3586 /* For portals, added 2011-12-07 -bv 3587 On wide screens, show these as two columns 3588 On narrow and mobile screens, let them collapse into a single column */ 3589 .portal-column-left { 3590 float: left; 3591 width: 50%; 3592 } 3593 .portal-column-right { 3594 float: right; 3595 width: 49%; 3596 } 3597 .portal-column-left-wide { 3598 float: left; 3599 width: 60%; 3600 } 3601 .portal-column-right-narrow { 3602 float: right; 3603 width: 39%; 3604 } 3605 .portal-column-left-extra-wide { 3606 float: left; 3607 width: 70%; 3608 } 3609 .portal-column-right-extra-narrow { 3610 float: right; 3611 width: 29%; 3612 } 3613 @media only screen and (max-width: 800px) { 3614 /* Decouple the columns on narrow screens */ 3615 .portal-column-left, 3616 .portal-column-right, 3617 .portal-column-left-wide, 3618 .portal-column-right-narrow, 3619 .portal-column-left-extra-wide, 3620 .portal-column-right-extra-narrow { 3621 float: inherit; 3622 width: inherit; 3623 } 3624 } 3625 3626 /* For announcements */ 3627 #bodyContent .letterhead { 3628 background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png'); 3629 background-repeat:no-repeat; 3630 padding: 2em; 3631 background-color: #faf9f2; 3632 } 3633 3634 /* Tree style lists */ 3635 .treeview ul { 3636 padding: 0; 3637 margin: 0; 3638 } 3639 .treeview li { 3640 padding: 0; 3641 margin: 0; 3642 list-style-type: none; 3643 list-style-image: none; 3644 zoom: 1; /* BE KIND TO IE6 */; 3645 } 3646 .treeview li li { 3647 background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px; 3648 /* @noflip */ 3649 padding-left: 20px; 3650 text-indent: 0.3em; 3651 } 3652 .treeview li li.lastline { 3653 background-position: 0 -5971px 3654 } 3655 .treeview li.emptyline > ul { 3656 /* @noflip */ 3657 margin-left: -1px; 3658 } 3659 .treeview li.emptyline > ul > li:first-child { 3660 background-position: 0 9px 3661 } 3662 3663 /* hidden sortkey for tablesorter */ 3664 td .sortkey, 3665 th .sortkey { 3666 display: none; 3667 speak: none; 3668 } 3669 3670 /* Make it possible to hide checkboxes in <inputbox> */ 3671 .inputbox-hidecheckboxes form .inputbox-element { 3672 display: none !important; 3673 } 3674 3675 /* Hide charinsert base for those not using the gadget */ 3676 #editpage-specialchars { 3677 display: none; 3678 } 3679 3680 /* work-around for [[bugzilla:23965]] (Kaltura advertisement) */ 3681 .k-player .k-attribution { 3682 visibility: hidden; 3683 } 3684 3685 /* [[MediaZilla:35337]] */ 3686 @media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx), (min-resolution: 144dpi) { 3687 #p-logo a { 3688 background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/204px-Wikipedia-logo-v2-en.svg.png") !important; 3689 background-size: 136px auto; 3690 } 3691 } 3692 @media (-webkit-min-device-pixel-ratio: 2), (min--moz-device-pixel-ratio: 2), (min-resolution: 2dppx), (min-resolution: 192dpi) { 3693 #p-logo a { 3694 background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Wikipedia-logo-v2-en.svg/270px-Wikipedia-logo-v2-en.svg.png") !important; 3695 background-size: 135px auto; 3696 } 3697 } 3698 /* Do not print: 3699 1: When in mainspace: Article message boxes, 3700 navboxes, sister project boxes, disambig links, 3701 and items marked as metadata. 3702 2: section edit links. 3703 3: navbar links. 3704 4: Show/hide toggles for collapsible items. 3705 */ 3706 .ns-0 .ambox, 3707 .ns-0 .navbox, 3708 .ns-0 .vertical-navbox, 3709 .ns-0 .infobox.sisterproject, 3710 .ns-0 .dablink, 3711 .ns-0 .metadata, 3712 .editlink, 3713 .navbar, 3714 a.NavToggle, span.collapseButton, span.mw-collapsible-toggle, 3715 th .sortkey, td .sortkey { 3716 display: none !important; 3717 } 3718 3719 /* Add formatting to make sure that "external references" from templates 3720 like [[Template:Ref]] do not get URL expansion, not even when printed. 3721 The anchor itself has class "external autonumber" and the url expansion 3722 is inserted when printing (see the common printing style sheet at 3723 http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the 3724 ":after" pseudo-element of CSS. Also hide in <cite> elements. 3725 */ 3726 #content cite a.external.text:after, 3727 .nourlexpansion a.external.text:after, 3728 .nourlexpansion a.external.autonumber:after { 3729 display: none !important; 3730 } 3731 3732 /* Uncollapse collapsible tables/divs. 3733 The proper way to do this for tables is to use display:table-row, 3734 but this is not supported by all browsers, so use display:block as fallback. 3735 */ 3736 table.collapsible tr, div.NavPic, div.NavContent { 3737 display: block !important; 3738 } 3739 table.collapsible tr { 3740 display: table-row !important; 3741 } 3742 3743 /* On websites with siteSub visible, the margin on the firstHeading is not needed. */ 3744 #firstHeading { 3745 margin: 0px; 3746 } 3747 3748 /* We don't want very long URLs (that are added to the content in print) to widen the canvas */ 3749 #content a.external.text:after, 3750 #content a.external.autonumber:after { 3751 word-wrap: break-word; 3752 } 3753 /* Don't display some stuff on the main page */ 3754 body.page-Main_Page #deleteconfirm, 3755 body.page-Main_Page #t-cite, 3756 body.page-Main_Page #footer-info-lastmod, 3757 body.action-view.page-Main_Page #siteSub, 3758 body.action-view.page-Main_Page #contentSub, 3759 body.action-view.page-Main_Page h1.firstHeading { 3760 display: none !important; 3761 } 3762 3763 /* Position Main Page top banner */ 3764 body.page-Main_Page #mp-topbanner { 3765 margin-top: 0 !important; 3766 } 3767 3768 /* Position coordinates */ 3769 #coordinates { 3770 position: absolute; 3771 top: 0em; 3772 right: 0em; 3773 float: right; 3774 margin: 0em; 3775 padding: 0em; 3776 line-height: 1.5em; 3777 text-align: right; 3778 text-indent: 0; 3779 font-size: 85%; 3780 text-transform: none; 3781 white-space: nowrap; 3782 } 3783 3784 /* For positioning icons at top-right, used in Templates 3785 "Spoken Article" and "Featured Article" */ 3786 div.topicon { 3787 position: absolute; 3788 top: -2em; 3789 margin-right: -10px; 3790 display: block !important; 3791 } 3792 3793 /* FR topicon position */ 3794 div.flaggedrevs_short { 3795 position: absolute; 3796 top: -3em; 3797 right: 80px; 3798 z-index: 1; 3799 margin-left: 0; 3800 /* Because this is not yet a topicon, we emulate it's behavior, 3801 this ensure compatibility with edit lead section gadget. */ 3802 margin-right: -10px; 3803 } 3804 3805 /* On rtl interfaces, we need to override the defaults. 3806 It is content included (so ltr), but positioned in part of the rtl interface. */ 3807 body.rtl #protected-icon { 3808 /* @noflip */ 3809 left: 55px; 3810 } 3811 body.rtl #spoken-icon, 3812 body.rtl #commons-icon { 3813 /* @noflip */ 3814 left: 30px; 3815 } 3816 body.rtl #featured-star { 3817 /* @noflip */ 3818 left: 10px; 3819 } 3820 3821 /* Menu over FR box */ 3822 div.vectorMenu div { 3823 z-index: 2; 3824 } 3825 3826 /* Display "From Wikipedia, the free encyclopedia" */ 3827 #siteSub { 3828 display: inline; 3829 font-size: 92%; 3830 } 3831 3832 /* Bullets for Good and Featured interwiki links */ 3833 li.GA { 3834 list-style-image: url(//upload.wikimedia.org/wikipedia/commons/4/42/Monobook-bullet-ga.png); 3835 } 3836 li.FA { 3837 list-style-image: url(//upload.wikimedia.org/wikipedia/commons/d/d4/Monobook-bullet-star.png); 3838 } 3839 3840 /* Styling for updated markers on watchlist, history and recent/related changes */ 3841 li.mw-changeslist-line-watched, 3842 li.mw-history-line-updated { 3843 list-style-image: url(//upload.wikimedia.org/wikipedia/commons/c/c2/ChangedBulletVector.png); 3844 } 3845 3846 /* Blue instead of yellow padlock for secure links. */ 3847 #bodyContent a.external[href ^="https://"], 3848 .link-https { 3849 background: url(//upload.wikimedia.org/wikipedia/en/0/00/Lock_icon_blue.gif) center right no-repeat; 3850 /* @noflip */ 3851 padding-right: 16px; 3852 } 3853 3854 /* (Soft) redirect styling (bug:26544) */ 3855 div.redirectMsg img { 3856 vertical-align: text-bottom; 3857 } 3858 .redirectText { 3859 font-size: 150%; 3860 margin: 5px; 3861 } 3862