ميډياويکي:Common.css

يادښت: د غوره توبونو د خوندي کولو وروسته، خپل د کتنمل (براوزر) ساتل سوې حافظه تازه کړی.

  • فايرفاکس/سفري: په دې کتنمل کې د Reload د ټکوهلو په وخت د Shift تڼۍ نيولې وساتی، او يا هم Ctrl-F5 يا Ctrl-Rتڼۍ کېښکاږۍ (په Apple Mac کمپيوټر باندې ⌘-R کېښکاږۍ)
  • ګووګل کروم: په دې کتنمل کې د Ctrl-Shift-R تڼۍ کېښکاږۍ (د مک لپاره ⌘-Shift-R)
  • انټرنټ اېکسپلورر: په دې کتنمل کې د Refresh د ټکوهلو په وخت کې د Ctrl تڼۍ کېښکاږلې ونيسۍ، او يا هم د Ctrl-F5 تڼۍ کېښکاږۍ
  • اوپرا: په دې کتنمل کې د خپل براوزر ساتل سوې حافظه پدې توگه سپينولی سی Tools→Preferences
 */
 /* [[MediaWiki:Sitenotice]]  
 #siteNotice {
     margin-top:5px;
     padding-left: 4px;
     font-style: italic;
     text-align: center;
 }*/
 
 /* [[MediaWiki:MediaWiki:Gadget-AdvancedSiteNotices]]  */
 div#advancedSiteNotices {
     width: 100% ! important;
     border: solid 1px lightblue;
     border-radius: 10px;
     text-align: center;
     font-size: 120%;
 }
 table#asn-dismissable-notice {
     margin-bottom: 15px;
 }

/** CSS placed here will be applied to all skins */
/* Pashto Wikipedia UI fonts configurations, see also MediaWiki:Print.css
   These are writtern over the time on Monobook.css and Vector.css and shouldn't
   be changed radically without users consensus */
body {
  /* generally a sans-serif font should be here */
  font-family: Arial;
}

div#content h1, div#content h2, div#content #firstHeading,
div#content .mw-editsection, .mw-body .mw-editsection-like,
div#content #toc h2, div#content .toc h2 {
  /* generally a serif font should be here but Arial is not acceptable for Pashto*/
  font-family: Arial;
}

/*** styles and counter for mapping listings ***/
@media screen {
    .printonly { display:none !important; }
}

@media screen, print {
    span.listing-map {
        color: white;
        font-size: 0.85em;
        font-family: Arial;
        padding: 0pt 0.1em 0pt 0.35em;
        -webkit-print-color-adjust: exact; /*force printing on safari and chrome*/
    }

    h2 { counter-reset: mapnumber; }
    span.listing-map:before {
        content: counter(mapnumber, pashto);
        counter-increment: mapnumber;
    }

    body { counter-reset: generalnumber; }
    span.listing-map.listing-general:before {
        content: counter(generalnumber, pashto);
        counter-increment: generalnumber;
    }
}

/* Hide sitenotice on Main Page */
body.page-Main_Page #siteNotice { 
       display:none; 
} 

/* Don't display some stuff on Main Page */
body.page-لومړی_مخ #mp-topbanner {
   clear: both;
}
body.page-لومړی_مخ #ca-delete,
body.page-لومړی_مخ #deleteconfirm,
body.page-لومړی_مخ #t-cite,
body.page-لومړی_مخ #lastmod,
body.page-لومړی_مخ #siteSub,
body.page-لومړی_مخ #contentSub,
body.page-لومړی_مخ #catlinks,
body.page-لومړی_مخ h1.firstHeading,
body.page-لومړی_مخ #centralNotice,
body.page-بهرنی_تانبه #siteSub,
body.page-بهرنی_تانبه h1.firstHeading {
    display: none !important;
}

.ns-0 h2 + h2::before { content: "دا برخه خالي ده. کوم نظرونه لري؟ لوړه تڼۍ [  سمول ] کلیک کړئ او نظرونه مو ورزيات کړئ."; font-size: 70%; display: block; background: url(//upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Octicons-pencil.svg/200px-Octicons-pencil.svg.png) no-repeat top right; background-color:#f9f9f9; background-size: 1em; text-indent: 1.5em; } 

/* Styling for Abuse Filter tags */
.mw-tag-markers {
    font-family:Arial;
    font-style:italic;
    font-size:90%;
}

/* Hide page title on ويکيسفر:د کارنانو شورا */
body.page-د کارنانو شورا h1#firstHeading { display:none; 
}
 
#DoM {
 background: transparent;
 padding: 0;
}

/* This section supports templates for the WMC migration.
 * Sourced from http://en.wikipedia.org/wiki/MediaWiki:Common.css on 28 Oct 2012.
 * Should not need to be copied later, and can be removed after migration is complete.
 */
 
th.mbox-text,td.mbox-text{border:none;width:100%;padding:.25em .9em;}
td.mbox-image{border:none;text-align:center;padding:2px 0 2px .9em;}
td.mbox-imageright{border:none;text-align:center;padding:2px .9em 2px 0;}
td.mbox-empty-cell{border:none;width:1px;padding:0;}
table.imbox{border-collapse:collapse;border:3px solid #1e90ff;background:#fbfbfb;margin:4px 10%;}
.imbox .mbox-text .imbox{display:block;margin:0 -.5em;}
.mbox-inside .imbox{margin:4px;}
table.imbox-notice{border:3px solid #1e90ff;}
table.imbox-speedy{border:3px solid #b22222;background:#fee;}
table.imbox-delete{border:3px solid #b22222;}
table.imbox-content{border:3px solid #f28500;}
table.imbox-style{border:3px solid #f4c430;}
table.imbox-move{border:3px solid #9932cc;}
table.imbox-protection{border:3px solid #bba;}
table.imbox-license{border:3px solid #88a;background:#f7f8ff;}
table.imbox-featured{border:3px solid #cba135;}

/* Suppress numbering of items in TOC */
.tocnumber { display: none; }

/* Main page */

.portal-column-left {
width: 50%;
text-align: center;
}

/* Coding for new Main Page */

.articleState {
 width: 60%;
 background: #fff;
 margin: 0 auto;
 border: solid 2px lightblue;
 text-align: center;
}

.routeBox {
 font-size: small;
 border-style: none;
 border-spacing: 0 0;
 border-collapse: collapse;
 margin: 0 auto;
}

.routeBox td {
 padding: 1px 2px;
}

#geoCoord table, #geoCoordOld table {
 border-collapse: collapse;
 background: transparent;
}

#geoCoord td, #geoCoordOld td {
 font-size: 0.9em;
 line-height: 100%;
 vertical-align: middle;
 padding: 0 10px 0 0;
 text-align: right;
 border-left: 1px solid #88a;
}

#geoCoord td.icon, #geoCoordOld td.icon {
 border-left: none;
 height: 27px;
 width: 35px;
 padding: 0 0 0 10px;
}

.main-page-bottom-box {
	padding: 0.7em 1em 1em 1em;
	vertical-align:top;
}

.main-page-bottom-box h3 {
	margin: 0;
	padding: 0;
}

/* Coding for new Main Page END */
/* Hide title on Main Page */
body.page-Main_Page h1.firstHeading {
  display: none;
}

/* Travellers' pub TOC, widen */
body.page-Wikivoyage_Travellers_pub div#toctitle {
  width:30em;
}

#mobileworld img {
 max-width: 100%;
 height: auto;
 width: auto\9; /* ie8 */
}

/* Mark's template version of the new main page */

.banner-image {
    position: relative;
    overflow: hidden;
    max-width: 1125px; 
    height: auto;
    margin-bottom: .6em;
}

.banner-image img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}

.banner-box {
    position: absolute;
    z-index: 2;
    margin-top: 2.5em;
    color: white;
    width: 100%;
    min-width: 20em;
    text-shadow: black 0.3em 0.3em 1em, black -0.1em -0.1em 1em;
}

.banner-box-wide {
    width: 50%
}

.banner-box-left,
.banner-box-right {
	padding: 8px 7px;
	background: rgb(16,16,16);
	background: rgba(0,0,0,0.3);
	border-radius: 4px;
	text-shadow: none;
	width: 60%;
}

.banner-box-left {
    left: 3%;
    text-align: left;
}

.banner-box-right {
    right: 3%;
    text-align: right;
}

.banner-box-welcome {
    right: 1em;
    text-align: center;
    width: 40%;
    white-space: nowrap;
}

.banner-box a {
    color: white !important;
    font-weight: bold;
}

.banner-box .name {
    font-size: 2.5em;
    white-space: nowrap;
    line-height: 1.2em;
}

.banner-box .type {
    font-size: 2em;
    line-height: 1.2em;
}

.banner-box .stats {
    font-size: 1em;
    margin-top: 1.7em;
}

.banner-box .quote {
    font-size: 1em;
    line-height: 1.2em;
}

.banner-box .welcome a {
    font-size: 1.5em;
}

.banner-box .welcome {
    font-size: 2.1em;
}

.banner-box .nav-tip {
    font-size: 1.5em;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.banner-box .welcome-map-nav {
    font-size: 1.25em;
}

.banner-box ul {
    font-size: 1.25em;
}

.banner-box ul li {
    display: inline;
}

.banner-box ul li:before {
    content: " • ";
}

.banner-box ul li:nth-of-type(1):before {
    content: " ";
}

/* DEMO: for Main_Page/Sandbox */
body.page-Main_Page_Sandbox #deleteconfirm,
body.page-Main_Page_Sandbox #t-cite,
body.page-Main_Page_Sandbox #footer-info-lastmod,
body.page-Main_Page_Sandbox.action-view #siteSub,
body.page-Main_Page_Sandbox.action-view #contentSub,
body.page-Main_Page_Sandbox.action-view h1.firstHeading {
    display: none !important;
}
/* Styles for Pagebanner template */

.topbanner {
    position: relative;
    overflow: hidden;
    max-width: 1800px; 
    height: auto;
}

.topbanner img {
    max-width: 100%;
    height: auto;
    width: auto\9;
}

.topbanner-box {
    position: absolute;
    z-index: 2;
    margin-top: 1.5em;
    color: white;
    width: 50%;
    min-width: 20em;
    left: 2%;
    text-align: left;
}

.topbanner .name {
    position: absolute;
    z-index: 2;
    margin: 0.6em 0.4em 0 0;
    padding: 8px 7px;
    font-size: 2.2em;
    font-weight: bold;
    background: rgb(16,16,16);
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    color: white;
    white-space: nowrap;
    line-height: 0.9em;
}

#toc > tbody > tr > td > ul, #toc > tr > td > ul {
  padding-right: 2em;
}

#toc > ul {padding-left: 2em;}

/* Style for hlist class - pulled from Wikipedia's Common.css file on 20 Mar 2013
   Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   between list items. This happens when the following conditions are true:
   1) The list is made using wiki markup (where HTML is built by parser.php)
   2) HTMLTidy is disabled or unavailable (such as on Special: pages)
   In such cases, building lists with .hlist using HTML instead of wiki markup
   will work around this problem. See also [[Bugzilla:39617]].
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   Last updated: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @maintainer: [[User:Edokter]]
   @revision: 3.1
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.1em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
    line-height: 1.1em;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
.hlist dt:after {
    content: ":";
}
.hlist dd:after,
.hlist li:after {
    content: " •";
    /* font-weight: normal; changed */
    /* padding: 0 0.3em;    changed */
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
.topbanner-toc {
	position: absolute;
	bottom: 6px;
	right: 0;
	z-index: 3;
	width:100%;
}
/* allow ToC to stretch across screen when it is part of a horizontal list, change background and font colours  */
.hlist #toc.tocFloat {
    width: 100%; 
    max-width: 170em;
    color: black;
}

.hlist.tocbox-s #toc.tocFloat {
    width: 100%; 
    max-width: 170em;
    margin: 0;
    padding: 0;
    line-height: 1.1em;
    color: black;
    background-color: #e0e0e0; 
}

div#content .hlist.tocbox-b #toc.tocFloat {
    width: 100%; 
    max-width: 170em;
    margin: 0;
    padding: 0;
    line-height: 1.1em;
    color: white;
    background: rgb(16,16,16); 
    background: rgba(0,0,0,0.3); 
    border: none;
}

.hlist.tocbox-w #toc.tocFloat {
    width: 100%; 
    max-width: 170em;
    margin: 0;
    padding: 0;
    line-height: 1.1em;
    color: black;
    background: rgb(225,225,225); 
    background: rgba(160,160,160,0.6); 
    border: none;
}

.hlist #toc table,
.hlist #toc tr,
.hlist #toc td {
    margin: 0;
    padding: 0;
    line-height: 1.1em;
}

/* links in the horizontal ToC should be black... */
.hlist #toc a {
    color: black;
    font-size: 0.85em;
    font-weight: bold;
}

/* ... except when the ToC box is black ... */
.hlist.tocbox-b #toc a {
    color: white;
    font-size: 0.85em;
    font-weight: bold;
}

/* ... or except when being hovered over */
.hlist #toc.tocFloat a:hover {
    color: #bdddfd;
}

/* don't display ToC title when in horizontal ToC */
.hlist #toctitle {
    display: none;
}

.mf-mobile-only {
    display: none;
}

/* Prevent display of subheadings in horizontal ToC */
.hlist #toc .toclevel-2,
.hlist #toc .toclevel-3,
.hlist #toc .toclevel-4,
.hlist #toc .toclevel-5,
.hlist #toc .toclevel-6 {
    display: none;
}

.hlist .toggleNode {
    display: none;
}

/* style info for icon box in the top right corner of the banner */
.iconbox {
    position: absolute; 
    top: 6px; 
    left: 0; 
    padding: 3px; 
    z-index: 3; 
    background: rgb(16,16,16); 
    background: rgba(0,0,0,0.7); 
    border-bottom-right-radius: 5px;
}

/* Infobox templates */
.infobox {
   border: 1px solid #aaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: middle;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0 solid #aaa;
}
.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}
 
.archive-box {
   border: 1px solid #aaf;
   background-color: #f2f2f9;
   color: #000;
   margin-bottom: 0.5em;
   margin-right: 1em;
   padding: 0.2em;
   float: left;
   clear: left;
   text-align: center;
}

/* FIX TOP NAVIGATION */
.topbanner table {
	margin-right: 20px !important;
}

.topbanner table tr:first-child td:first-child {
	width: auto !important;
}

.topbanner table tr:first-child td:last-child {
	padding-left: 20px;
}

img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }

/*Carousel*/
.carousel{
    overflow:hidden;
    width:100%;
    padding:0
}
.panes{
    list-style:none;
    position:relative;
    padding: 0;
    margin-right: 0;
    width:300%; /* Number of panes * 100% */
    overflow:hidden; /* This is used solely to clear floats, it does not add functionality. */
}

.carousel .floatright { 
	position: absolute; 
	z-index: 1000; 
	right: 0px; 
	top: 50% 
}

.carousel .floatleft {
	position: absolute; 
	z-index: 1000; 
	top: 50%; 
	margin-left: 20px;
}

.panes > li{
    position:relative;
    float:right;
    padding: 0;
    margin-right: 0;
    width:33.333333333333333333333333333333333%; /* 100 / number of panes */
}
.carousel img{
    display:block;
    width:100%;
    max-width:100%;
}
.carousel h2{
    font-size:1em;
    padding: 8px 7px;
    position:absolute;
    border:0px;
    top:5em;
    text-align:left;
    max-width: 300px;
    color:#fff;
    background-color:rgba(0,0,0,0.5);
}
@keyframes carousel{
    0%    { right:-1.7%; }
    12.5%   { right:-1.7%; }
    25% { right:-101.7%; }
    37.5% { right:-101.7%; }
    50%   { right:-201.7%; }
    62.5%   { right:-201.7%; }
    75% { right:-101.7%; }
    87.5% { right:-101.7%; }
    100%  { right:-1.7%; }
}
/* Safari and Chrome */
@-webkit-keyframes carousel{
    0%    { right:-1.7%; }
    12.5%   { right:-1.7%; }
    25% { right:-101.7%; }
    37.5% { right:-101.7%; }
    50%   { right:-201.7%; }
    62.5%   { right:-201.7%; }
    75% { right:-101.7%; }
    87.5% { right:-101.7%; }
    100%  { right:-1.7%; }
}
/* Fade in arrows */
.greydout {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  filter: alpha(opacity=50);
  opacity: 0.5;
-webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.greydout:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=50);
  opacity: 1;
}
/* END User:Nicholasjf21/MainPage2 test code */


/* BEGIN Map caption - used with MapExpander JS */
.map-expand-link {
	float: left;
	margin-right: 1.5em;
}

/* To Display poems justified in IE and CSS3 (http://www.w3.org/TR/css3-text/) */
.b { /* verse container */
  text-align: justify;
  text-align-last: justify; /* for IE and CSS3 */
  -moz-text-align-last: justify; /* for Firefox 12 */
  -webkit-text-align-last: justify; /* webkit based browsers */
  text-justify: kashida;
  border: 0;
}
 
.beyt {
  white-space: nowrap; 
}
 
.nastaliq {
  line-height: 200%;
  font-size: 150%;
  font-family: Arial;
  text-justify: inter-word;
  font-weight: normal;
}
.nastaliq .b { text-justify: inter-word; }

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #fe6f6f;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #8cc6e6;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #d7f1e4;      /* Level 3 color */
}
.navbox-even {
    background: #ebfff5;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li { /* span is removed */
    font-size: xx-small;
}
.nv-talk > a {
    color: #002BB8;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: right;
    /* @noflip */
    text-align: right;
    /* @noflip */
    margin-left: 0.5em;
    width: 6em;
}

/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    /* @noflip */
    float: left;
    font-weight: normal;
    /* @noflip */
    margin-right: 0.5em;
    /* @noflip */
    text-align: left;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
   from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
    width: 6em;
}
/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa; 
    border-right: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb; 
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
}
 
table.ambox-notice {
    border-right: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    border-right: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    border-right: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    border-right: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    border-right: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    border-right: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-right: 10px solid #bba;       /* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;         /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
    margin: 4px;
}
 
table.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #ffaa66;    /* light Orange, for getting near to symbol of FPs */
}
 
/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; 
    background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}
 
table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}
 
table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
 
/* Disambig and set index box styles */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages. 
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}
 
/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {   /* For the "small=yes" option. */
    /* @noflip */
    clear: left;
    /* @noflip */
    float: left;
    /* @noflip */
    margin: 4px 1em 4px 0;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-right {   /* For the "small=right" option. */
    /* @noflip */
    margin: 4px 0 4px 1em;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

/* Fons logo Viquipèdia */
.fonslogo {
    background: url("//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png");
    background-repeat: no-repeat;
}
 
/* Metacaixes d'avís. Copiat de la versió anglesa. */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none; 
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none; 
    padding: 2px 0 2px 0.9em;    /* 0.9em left, 0px right */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0.9em 2px 0;    /* 0px left, 0.9em right */
    text-align: center; 
}
td.mbox-empty-cell {         /* An empty narrow cell */
    border: none;
    padding: 0px;
    width: 1px;
}

/*Ticker2 (animated ticker)*/
ul.actualTicker li {list-style-type:none; list-style-image:none;}/*mostly for IE*/
ul.actualTicker li {display:inline;}
ul.actualTicker span.tickerIntroduction {font-weight:bold;padding-right:0.5em;}
 
div.isATicker, div#singleTickerForPage {display:none;}

/* For announcements */
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}

.ns-0 #siteSub {
    display: block;
}

.catlinks-allhidden:empty {
    display: none !important;
}

.catlinks-allhidden,.mw-hidden-cats-hidden {
    display: block !important;
}

.white-link a {
    color: #fff;
}

.black-link a {
    color: #000;
}

#wpSave {
    font-weight: bold;
}


@media screen {
div.toplink {
  position: absolute;
  top: -50px;
  z-index: 100;
}
}
 
 @media print {
div.toplink {
  position: absolute;
  top: 0px;
  left:0px;
}
}

div.topicon {
 position: absolute;
 top: -2em;
 margin-right: -10px;
 display: block !important;
}
 
 {
  clear: right;
  float: right;
}
{
  float: left;
  clear: left;
}
/* Fix pagebanner */
.toctitle {display:none;}