MediaWiki:Common.css
From F-Zero Wiki, the F-Zero encyclopedia
Jump to navigationJump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* Importing font used elsewhere on the site */
@import URL("https://fonts.googleapis.com/css?family=Quantico:700");
/* gotten from https://www.ssbwiki.com/MediaWiki:Common.css on 1/16/2010 */
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a, .watchlistredir a {
color: #DEDEDE;
font-style: italic;
}
/* Small reference list */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
a
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
font-size: 90%;
column-count:2;
}
.same-bg { background: none }
/* wikitable class for skinning normal tables */
table.wikitable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #000000 solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
border: 1px #000000 solid;
padding: 0.2em;
}
table.wikitable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* --- TABLE DESIGNS --- */
/* default skin for navigation boxes */
table.navbox a
{
color:#ffffff;
}
table.navbox { /* navbox container style */
border: solid 3px #a50000;
color: #c0c0a8 !important;
background: #183048;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox {
margin-top: -1px; /* single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
}
.navbox-title, .navbox-abovebelow, table.navbox th {
text-align: center; /* title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
.navbox-group { /* group style */
white-space: nowrap;
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox, .navbox-subgroup {
background: #183048; /* Background color */
}
.navbox-list {
border-left: 2px solid #183048; /* Must match background color */
}
.navbox-title {
background: #a50000;
/* Level 1 color */
}
.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
background: #a50000;
/* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
background: #a50000; /* Level 3 color */
}
.navbox-abovebelow {
background: transparent;
text-align: left; /* Above/below color */
}
.navbox-even {
background: #385068; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
@media print {
.navbox {
display: none;
}
}
.nowraplinks a { /* prevents line breaks in links in primarily navbox */
white-space: nowrap;
}
/* Light gray highlight on stuff */
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, #wpOldTitle:focus, #wpReason:focus, #wpSummary:focus, #searchInput:focus {
background: #F9F9F9
}
/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/***** BACKGROUND AND BORDER COLORS FOR CONTENT*****/
/* Border colors */
.borderc1 { border-color: #e9e9e9; border-width:thin; }/* light grey */
.borderc2 { border-color: #aaaaaa; border-width:thin; }/* grey (as toc) */
.borderc3 { border-color: #777777; border-width:thin; }/* dark grey */
.borderc4 { border-color: #000000; border-width:thin; }/* black */
.borderc5 { border-color: #c00000; border-width:thin; }/* red */
.borderc6 { border-color: #025e9d; border-width:thin; }/* blue */
.borderc7 { border-color: #008040; border-width:thin; }/* green */
.borderc8 { border-color: #ffcc00; border-width:thin; }/* yellow */
/* Background colors */
.backgroundc1 { background-color: #ffffff; }/* white */
.backgroundc2 { background-color: #f9f9f9; }/* light grey (as toc)*/
.backgroundc3 { background-color: #eeeeee; }/* light grey (headers) */
.backgroundc4 { background-color: #e0e0e0; }/* more grey */
.backgroundc5 { background-color: #d2d2d2; }/* more grey */
.backgroundc6 { background-color: #b7b7b7; }/* more grey */
.backgroundc7 { background-color: #a3a3a3; }/* darker grey */
/***** SOME OTHER SMALL THINGS *****/
/* Give a bit of space to the TOC */
#toc { margin: 1em 0; }
/* Marking redirects in Special:Allpages*/
.allpagesredirect { font-style: italic; }
.watchlistredir { font-style: italic; }
/* Bug 1583 Printing of thumbnails */
div.tright { clear: right; }
.brightlinks a, .brightlinks a:visited, .brightlinks a.external, .brightlinks a.extiw {
color: #B0C4DE!important;
}
.darklinks a, .darklinks a:visited, .darklinks a.external, .darklinks a.extiw {
color: #183048!important;
}
/** GENERAL PURPOSE PRETTY TABLES */
table.datatable {
background-color: transparent;
font-size: 14px;
}
table.datatable th, table.datatable td {
padding: 4px;
font-family: monospace;
width:25%
}
table.datatable th {
text-align: left;
background-color: #999999;
}
table.datatable tr {
background-color: #CCCCCC;
}
table.datatable tr:hover {
background-color: #FFFFCC;
}
table.datatable td
{
text-align:right;
}
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
/*border: 1px #000000 solid;*/
border-collapse: collapse;
empty-cells:show;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
/*border: 1px #000000 solid;*/
padding: 0.2em 0.4em;
}
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3,
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 {
background: #8da7d6;
text-align: center;
}
table.wikitable td.hl1, table.wikitable th.hl1,
table.prettytable td.hl1, table.wikitable th.hl1 {
background: #c5d8fc;
text-align: center;
}
table.wikitable td.hl2, table.wikitable th.hl2,
table.prettytable td.hl2, table.wikitable th.hl2 {
background: #a7c1f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small { font-size: 90%;}
/* prevent ugly horizontal page expansion */
pre { overflow: auto; }
/*** More whitespace on search page ***/
.page-Special_Search #search {
padding: 1em 0 2em 0;
}
.page-Special_Search #powersearch {
border: 1px solid #CCCCCC;
padding: 0.5em 0.5em;
}
.page-Special_Search #powersearch-namespaces {
padding-left: 1em;
margin: 0.7em 0;
}
.page-Special_Search #powersearch-namespaces label {
white-space: nowrap;
min-width: 8.4em;
display: block;
float: left;
}
/* Clear search button, but not check-boxes: */
.page-Special_Search br {
clear: left;
}
/* Page headings used throughout the wiki (though not very much at the time of writing...) */
.page-notice, .page-warning {
border-width: 1px;
border-style: solid;
padding: 0.3em 0.5em;
margin-bottom: 1em;
width: 80%;
margin-left: auto;
margin-right: auto;
text-align: center;
}
/* Used to add informative notices to the top of pages - BLUE */
.page-notice {
background-color: #f9f9f9;
border-color: #025e9d;
text-align: left;
}
/* Used to add warning information to the top of pages - RED */
.page-warning {
background-color: #ffffff;
border-color: #c51919;
border-width: 2px;
}
.pw-head {
color: #c51919;
font-weight: bold;
}
/* Colored watchlist / Special:Recentchanges numbers */
.mw-plusminus-pos {
color: #006400; /* darkgreen */
}
.mw-plusminus-neg {
color: #8B0000; /* darkred */
}
.center1 {margin-left: auto;margin-right: auto;}
.center2 {text-align: center;}
.center {text-align: center;}
.center table {margin-left: auto;margin-right: auto;text-align: left;}
div.centered {text-align: center;}
div.centered table {margin: 0 auto; text-align: center;}
/* https://en.wikipedia.org/wiki/MediaWiki:Common.css - June 6th, 2009 */
.collapseButton {/* 'show'/'hide' buttons created dynamically */
float: right;/* by the CollapsibleTables javascript in*/
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here*/
text-align: right; /* so they can be customised.*/
width: auto;
}
.navbox .collapseButton {/* In navboxes, the show/hide button balances */
width: 6em;/* the vde links from [[Template:Tnavbar]], */
}/* so they need to be the same width. */
table.subportal {
border-width: 2px;
border-spacing: 2px;
border-style: solid;
border-color: green;
border-collapse: separate;
background-color: #FFFFF0;
}
tr.subportalheading th, tr.subportalheading td {
border-width: 2px;
padding: 0.2em 1em 0em 1em !important;
border-color: blue;
background-color: #FAF0E6;
width:15%;
}
tr.subportalheading th {
border-style: solid;
border-radius: 3px;
}
tr.subportalheading td{
border-style: dashed dashed dashed dashed;
text-align: center;
border-radius: 0px;
}
td.subportalcell
{
border-width: 0px;
border-style: dashed;
border-color: blue;
background-color: #FFFFF0;
padding: 0px 4px 4px 4px;
}
/* documentation colors inpried by kuler user greenredVendormate */
div.documentation
{
border:1px solid black;
border-color: #A13100;
background-color: #8BA945;
text-align:center;
}
table.documentation th {background-color: #FF791E;}
table.documentation td {text-align:left;}
table.center {margin-left: auto;margin-right: auto;}
table.project_table th a, span.project a {color:#FFD100; font-family:Courier;}
.project_table a:hover, .Project a:hover {color:#FFD100;}
table.sidebar {align:right; width:25%;}
table.color1 th {background:#FF0000;color:#000000;}
table.color1 th a {color:#00FF48;}
table.color2 th {background:#ff6600;color:#000000;}
table.color3 th {background:#ffff00;color:#000000;}
table.color4 th {background-color:#008000;color:#000000;}
table.color5 th {background-color:#0000FF; color:#FFFFFF;}
table.color5 th a {color:#FFFFFF;}
table.color6 th {background-color:#800080;color:#000000;}
th.color1, td.color1, span.color1 {background:#FF0000;color:#000000;}
th.color2, td.color2, span.color2 {background:#ff6600;color:#000000;}
th.color3, td.color3, span.color3 {background:#ffff00;color:#000000;}
th.color4, td.color4, span.color4 {background-color:#008000;color:#000000;}
th.color5, td.color5, span.color5 {background-color:#0000FF;color:#FFFFFF;}
th.color5 a, td.color5 a, span.color5 a {color:#ffffff;}
th.color6, td.color6, span.color6 {background-color:#800080;color:#000000;}
.default-border-radius {border-radius: 5px;}
.default-border-top {border-top-left-radius: 15px; border-top-right-radius: 15px;}
.default-border-bottom {border-bottom-left-radius: 15px; border-bottom-right-radius: 15px;}
.color5 a.new {color:#d9cee8;}
.color5 a:visited {color:#ffd100;}
.color5 a.new:visited {color:#c3ced8;}
#content .color5 a.external {color:#ff9e16;}
.color 6 a.new {color:#2D8000;}
.color 6 a:visited{color:#2D8000;}
.not-patrolled {background:#ffcccc; color:#000000;}
div.pBody .CategoryTreeBullet {color:#EEE8AA;}
/* Staff Colors */
/* Editor-in-Chief */
ul.special li a[title=""],
table.diff a[title=""],
ul#pagehistory li a[title=""],
a.whoprop, #whoprop a {color: #000000 !important;}*/
/* Bureaucrats */
ul.special li a[title="User:Archaic"],
table.diff a[title="User:Archaic"],
ul#pagehistory li a[title="User:Archaic"],
ul.special li a[title="User:Tacopill"],
table.diff a[title="User:Tacopill"],
ul#pagehistory li a[title="User:Tacopill"],
ul.special li a[title="User:ToastUltimatum"],
table.diff a[title="User:ToastUltimatum"],
ul#pagehistory li a[title="User:ToastUltimatum"],
ul.special li a[title="User:SuperHamster"],
table.diff a[title="User:SuperHamster"],
ul#pagehistory li a[title="User:SuperHamster"],
a.whocrat, #whocrats a {color: #c00070 !important;}
/* Administrators */
ul.special li a[title="User:Trig_Jegman"],
table.diff a[title="User:Trig_Jegman"],
ul#pagehistory li a[title="User:Trig_Jegman"],
a.whoadmin, #whoadmins a {color: #3f9f5f !important;}
/* Hide license dropdown on [[Special:Upload]] */
p.mw-upload-editlicenses {
display: none;
}
.mw-htmlform-field-Licenses {
display: none;
}
/* hide potentially sensitive data on file pages */
#mw_metadata .exif-gpslatitude,
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
display: none;
}
.img-greyscale {
filter: grayscale(100%);
}