MediaWiki:Wikia.css

.i18ndoc { background-color: #FFF77D; border-bottom: 1px solid lightgrey; font-family: monospace; font-size: 8pt; height: 140px; overflow: auto; padding: 3px; }

/* === Template:Ambox designs === */ /* Ambox design */ .ambox { width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #228b22; border-collapse: collapse; background-color: #EEE; } /* Ambox colours */ .ambox-blue { border-left: 10px solid #1e90ff;      /* Blue (notice) */ } .ambox-red { border-left: 10px solid #b22222;      /* Red (delete/serious) */ } .ambox-orange { border-left: 10px solid #f28500;      /* Orange (content) */ } .ambox-yellow { border-left: 10px solid #f4c430;      /* Yellow (style) */ } .ambox-purple { border-left: 10px solid #9932cc;      /* Purple (merge) */ } .ambox-gray { border-left: 10px solid #bba;         /* Gray (protection) */ } .ambox-green { border-left: 10px solid #228b22;      /* Green */ } /* Ambox small text */ .ambox-smalltext { font-size: smaller; margin-top:0.5em; margin-left:0.8em; } /* Ambox image */ .ambox-image {                         /* The left image cell */ width: 60px; padding: 2px 0px 2px 0.5em;           /* 0.5em left, 0px right */ text-align: center; } @media print { .ambox { display: none; } } /* no ambox when printing */

/* CSS style for UserTags */

.tag { color: inherit; }

.tag.usergroup-inactive { background-color: silver !important; }

.tag.usergroup-newuser { background-color: purple !important; }

.tag.usergroup-sysop { background-color: gold !important; }

.tag.usergroup-blocked { background-color: salmon !important; }

/* CSS style for portable infoboxes */ /* -- General wiki styles -- */

/* Overall background color and outer border */ .portable-infobox { background-color: lightgrey; }

.portable-infobox .pi-title { font-size: 26px; font-weight: bold; }

/* Image cell padding */

.portable-infobox .pi-image { align-items: center; }

.portable-infobox .pi-image-thumbnail { max-width: 400px; max-height: 400px; width: 100%; height: auto; }

/* Header and label background color */ .portable-infobox .pi-title, .pi-secondary-background { background-color: color1; }

.portable-infobox .pi-data-label { background: color2; }

.portable-infobox .pi-header { text-align: left; }

.portable-infobox .pi-title { font-size: 110% ; } /* Border color and width */

.portable-infobox { border: 2px solid grey; }

.portable-infobox .pi-data { border-bottom: 1px solid grey; border-top: 1px solid grey; }

Old color for infoboxes with alternating pattern .portable-infobox .pi-data:nth-child(even) { background-color: accent; }

/* CSS style for tables */ /* -- General wiki styles-- */ .main-portal-table { margin: 1em 0.5em 1em 0.5em; background-color: rgb(247, 247, 247); border: 1px lightblue solid; width: 95%; }

.main-portal-table th { font-size: 135%; font-weight: bold; padding: 5px; background-color: color1; border: 1px lightgrey solid; }

/* --Tournament and competitor statistics tables-- */ .tourny-competitor-table { margin: 1em 0.5em 1em 0.5em; background-color: rgb(247, 247, 247); border: 1px black solid; border-collapse: collapse; width: 95%; } .tourny-competitor-table th, table.tourny-competitor-table td { border: 1px lightgrey solid; padding: 0.4em; text-align: center; } .tourny-competitor-table th { background-color: rgb(237, 237, 237); width: 10%; font-weight: bold; } .tourny-competitor-table caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }

/* --Match vs tables-- */ .tourny-matchvs-table { margin: 1em 0.5em 1em 0.5em; background-color: rgb(247, 247, 247); border: 1px black solid; border-collapse: collapse; width: 95%; } .tourny-matchvs-table th { background-color: rgb(237, 237, 237); font-weight: bold; } .tourny-matchvs-table th, table.tourny-matchvs-table td { border: 1px lightgrey solid; padding: 0.4em; } .tourny-matchvs-table td:nth-child(1){ text-align: right; } .tourny-matchvs-table td:nth-child(2){ text-align: center; width: 10%; } .tourny-matchvs-table td:nth-child(3){ text-align: left; } .tourny-matchvs-table td:nth-child(1) td:nth-child(3){ width: 35%; } .tourny-matchvs-table caption { margin-left: inherit; margin-right: inherit; font-weight: bold; } /* --Style override for specific elements.-- */ .tourny-color-win { background-color: rgb(174, 242, 162); font-weight: bold; } .tourny-color-lose { background-color: rgb(242, 164, 162); } .tourny-color-draw { background-color: rgb(162, 225, 242); } .tourny-color-tie { background-color: lemonchiffon; }

.tourny-color-predicted-winner { background-color: rgb(97, 155, 249); font-weight: bold; }

.tourny-color-predicted-runnerup { background-color: rgb(255, 236, 114); font-style: italic; }

.tourny-color-gold { background-color: gold; font-weight: bold; } .tourny-color-silver { background-color: silver; font-weight: bold; } .tourny-color-bronze { background-color: sandybrown; font-weight: bold; }