MediaWiki:Common.css: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
m (well dang)
mNo edit summary
Line 263: Line 263:


PoD */
PoD */
table.diff a[title="User:PenguiofDeath"],
table.diff a[title="User:PenguinofDeath"],
ul#pagehistory li a[title="User:PenguinofDeath"],
ul#pagehistory li a[title="User:PenguinofDeath"],
ul.special li a[title="User:PenguinofDeath"], /*
ul.special li a[title="User:PenguinofDeath"], /*

Revision as of 14:53, April 4, 2013

/* CSS placed here will be applied to all skins */

#bodyContent {
	position: relative;
}

/* Poll autoformatting */
.ajax-poll {
	width: auto !important; /*inline style override for poll extension*/
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a, .watchlistredir a {
	color: #888;
	font-style: italic;
}

/* Forum formatting -Algorithm & -Splaka */
.forumheader { 
	border: 1px solid #aaa; background-color: #f9f9f9; margin-top: 1em; padding: 12px; 
}
.forumlist td.forum_edited a { 
	color: black; text-decoration: none 
}
.forumlist td.forum_title a { 
	padding-left: 20px; 
}
.forumlist td.forum_title a.forum_new {  
	font-weight: bold;
	background: url(/images/1/18/Forum_icon.png) center left no-repeat;
	padding-left: 20px; 
}
.forumlist td.forum_title a.forum_new:visited { 
	font-weight: normal; background: none; padding-left: 20px; 
}
.forumlist th.forum_title { 
	padding-left: 20px; 
}

/* Small reference list */
ol.references {
	font-size: 100%;
}
.references-small { font-size: 90%;}

/* 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%;
	-moz-column-count:2;
	column-count:2;
}

.same-bg { background: none }

/* Infobox template style */
.infobox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	color: black;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	float: right;
	clear: right;
}
.infobox td,
.infobox th {
	vertical-align: top;
}
.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;
}

/* Messagebox templates */
.messagebox {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
}
.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}
.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 4px 2px 4px;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	float: right;
	clear: both;
	margin: 0 0 1em 1em;
	line-height: 1.25em; 
}

/* wikitable class for skinning normal tables */
/* wikitable-nopad is for when you want a wikitable without padding */

table.wikitable, table.wikitable-nopad {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
	border: 1px #aaa solid;
	padding: 0.2em;
}
table.wikitable-nopad th, table.wikitable-nopad td {
	border: 1px #aaa solid;
	padding: 0em;
}
table.wikitable th, table.wikitable-nopad th {
	background: #f2f2f2;
	text-align: center;
}
table.wikitable caption, table.wikitable-nopad caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

 /* --- TABLE DESIGNS --- */
/* default skin for navigation boxes */
table.navbox {			/* navbox container style */
	border: 1px solid #aaa;
	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: #fdfdfd;	/* Background color */
}
.navbox-list {
	border-left: 2px solid #fdfdfd;	/* Must match background color */
}
.navbox-title, table.navbox th {
	background: #ccccff;	/* Level 1 color */
}
.navbox-abovebelow, .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 */
}
 
@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;
}

/* Colour the number of characters added/removed in the recent changes */
.mw-plusminus-pos {
	color: #006500;
}

.mw-plusminus-neg {
	color: #8B0000;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a {
	font-weight: bold !important;
}

/* stuff set to display: none; */
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li, /*

 Hide title and tagline on Main Page */
body.page-Main_Page h1.firstHeading, body.page-Main_Page #siteSub { 
	display: none;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
	background: url(/images/5/5d/Checker-16x16.png) repeat;
}

/* Staff colours

Admins

Miles */
table.diff a[title="User:Miles of SmashWiki"],
ul#pagehistory li a[title="User:Miles of SmashWiki"],
ul.special li a[title="User:Miles of SmashWiki"], /*

Omega Tyrant */
table.diff a[title="User:Omega Tyrant"],
ul#pagehistory li a[title="User:Omega Tyrant"],
ul.special li a[title="User:Omega Tyrant"], /*

PoD */
table.diff a[title="User:PenguinofDeath"],
ul#pagehistory li a[title="User:PenguinofDeath"],
ul.special li a[title="User:PenguinofDeath"], /*

Semi */
table.diff a[title="User:Semicolon"],
ul#pagehistory li a[title="User:Semicolon"],
ul.special li a[title="User:Semicolon"],

a.whoadmin { color: #3f9f5f; } /*

Bcrats

Clarinet Hawk */
table.diff a[title="User:Clarinet Hawk"],
ul#pagehistory li a[title="User:Clarinet Hawk"],
ul.special li a[title="User:Clarinet Hawk"], /*

Emmett */
table.diff a[title="User:Emmett"],
ul#pagehistory li a[title="User:Emmett"],
ul.special li a[title="User:Emmett"], /*

Toomai */
table.diff a[title="User:Toomai"],
ul#pagehistory li a[title="User:Toomai"],
ul.special li a[title="User:Toomai"],

a.whocrat { color: #9f7700; } /*

Devs

Porplemontage */
table.diff a[title="User:Porplemontage"],
ul#pagehistory li a[title="User:Porplemontage"],
ul.special li a[title="User:Porplemontage"],

a.whodev { color: #bf3f9f; } /*

Bots

XL */
table.diff a[title="User:EXemplary Logic"],
ul#pagehistory li a[title="User:EXemplary Logic"],
ul.special li a[title="User:EXemplary Logic"], /*

NaO */
table.diff a[title="User:NotAnOuendan"],
ul#pagehistory li a[title="User:NotAnOuendan"],
ul.special li a[title="User:NotAnOuendan"],

a.whobot { color: #9f9fbf; }

/* Edit box */
.wikiEditor-ui textarea#wpTextbox1 {
	line-height: 1.4em;
}
#wpSummary, #wpSummaryLabel {
	margin: 0.2em 0 0.4em 0 !important;
}
input#wpSummary {
	width: 85%;
}