MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* CSS for common elements such as tables and other content specific elements */

/* -- 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; }

/* Article table class */

table.article-table {	background-color: #f8f9fa; color: #222; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse; }

table.article-table th { background-color: #eaecf0; text-align: center; }

/* === 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 */

/* --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 auto 1em; background-color: rgb(247, 247, 247); border: 1px black solid; border-collapse: collapse; width: 60%; alignment: center; } .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; width: 30%; } .tourny-matchvs-table td:nth-child(2){ text-align: center; width: 20%; } .tourny-matchvs-table td:nth-child(3){ text-align: left; width: 30%; }

.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; }

/* Ported from Wikipedia */ /* Infobox template style */ .infobox { border: 1px solid #a2a9b1; border-spacing: 3px; background-color: #f8f9fa; color: black; /* @noflip */ margin: 0.5em 0 0.5em 1em; padding: 0.2em; /* @noflip */ float: right; /* @noflip */ clear: right; font-size: 88%; line-height: 1.5em; } .infobox caption { font-size: 125%; font-weight: bold; padding: 0.2em; text-align: center; } .infobox td, .infobox th { vertical-align: top; /* @noflip */ text-align: left; } .infobox.bordered { border-collapse: collapse; } .infobox.bordered td, .infobox.bordered th { border: 1px solid #a2a9b1; } .infobox.bordered .borderless td, .infobox.bordered .borderless th { border: 0; }

.infobox.sisterproject { width: 20em; font-size: 90%; }

.infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; }

/* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #a2a9b1; /* @noflip */ border-right: 1px solid #a2a9b1; }

.infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; /* @noflip */ border-right: 1px solid #a2a9b1; }

/* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc.           */ .infobox.geography { border-collapse: collapse; line-height: 1.2em; font-size: 90%; }

.infobox.geography td, .infobox.geography th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: 1px solid #a2a9b1; padding: 0.4em 0.6em 0.2em 0.6em; }

.infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; }

.infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: 1px solid #a2a9b1; padding: 0 0.6em 0.4em 0.6em; }

.infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; }

/* Default style for navigation boxes */ .navbox {                    /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */ } .navbox .navbox { margin-top: 0;           /* No top margin for nested navboxes */ } .navbox + .navbox { margin-top: -1px;        /* Single pixel border between adjacent navboxes */ } .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.5em; border-color: #fdfdfd;   /* Must match background color */ } /* cell spacing for navbox cells */ tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list {   /* Borders above 2nd, 3rd, etc. rows */ border-top: 2px solid #fdfdfd; /* Must match background color */ } .navbox th, .navbox-title { background: #ccccff;     /* Level 1 color */ } .navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background: #ddddff;     /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff;     /* Level 3 color */ } .navbox-even { background: #f7f7f7;     /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ } .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 */ }

/* Default styling for Navbar template */ .navbar { display: inline; font-size: 88%; font-weight: normal; } .navbar ul { display: inline; white-space: nowrap; } .mw-body-content .navbar ul { line-height: inherit; } .navbar li { word-spacing: -0.125em; } .navbar.mini li abbr[title] { font-variant: small-caps; border-bottom: none; text-decoration: none; cursor: inherit; } /* 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: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; }