MediaWiki:Common.css

From Destinypedia, the Destiny wiki

Revision as of 01:18, February 27, 2013 by Porplemontage (talk | contribs)

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.
/* CSS placed here will be applied to all skins */

#main-wrap {
	padding-bottom: 33px;
}

#bodyContent {
	position: relative;
	background: transparent url() no-repeat center 65px !important;
}

.user-board-message {
	background: #fff;
}

table, div#profile-top, .profile-info {
	background-color: transparent;
}

.spoiler {
	width: 70%;
	padding: 0.2em;
	margin: 10px;
	border-top: 2px solid #ccc;
	border-bottom: 2px solid #ccc;
}

.easywrap {
	width: 100%;
	table-layout: fixed;
	word-wrap: break-word;
	overflow: hidden;
}

.catlinks {
	background: #f9f9f9 url() no-repeat top right;
}

pre { 
	overflow: auto;
}

#disambig {
	border-top: 3px double #cccccc; 
	border-bottom: 3px double #cccccc;
}

ol.references {
	font-size: 90%;
}

.references-small {
	font-size: 80%;
}

ol.references > li:target {
	background-color: #ddeeff;
}

sup.reference:target {
	background-color: #ddeeff;
}

.references {
	font-size: 92%;
}

/* Checkered background for transparent images. See also http://www.mediawiki.org/wiki/Special:Code/MediaWiki/20065 */
#file img {
	background: url(/images/Checker-16x16.png) repeat;
}

html .thumbimage, .random-users-avatars img {
	background: white;
}

div.thumb {
	border-color: transparent;
}

.cleared {
	clear: both;
}

.IntroPageBox {
	background-color: #ffe;
	background-repeat: no-repeat;
	background-position: bottom right;
}

.IntroPageBox div.tright {
	border-color: transparent !important;
}

/* Main Page */
body.page-Main_Page h1.firstHeading {
	display: none;
}
body.page-Main_Page #bodyContent {
	margin-top: 18px;
}

/* Meet the Community */
.random-users-avatars {
	padding: 0px 0px 0px 10px;
}
 
.random-users-avatars h2 {
	border-bottom: none;
	margin: 0px 0px 0px 0px;
	padding: 7px 0px 8px 0px;
}
 
.random-users-avatars img {
	border: 1px solid #DCDCDC;
	display: block;
	float: left;
	height: 50px;
	margin: 0px 8px 8px 0px;
	width: 50px;
}

/* Remove the title (h1 element) for Special:UpdateProfile and Special:UploadAvatar */
body.page-Special_UpdateProfile_custom h1,
body.page-Special_UploadAvatar h1 {
	display: none;
}

.profile-tab-bar {
	margin-top: 26px;
}

.mp-welcome-points {
	width: 50%;
}

/* Administrator and bot highlights by Splarka */
#whosonline a[title="User:Porplemontage"],
table.diff a[title="User:Porplemontage"],
ul#pagehistory li a[title="User:Porplemontage"],
ul.special li a[title="User:Porplemontage"] {
	color: #009900;
}

/* Era icons */
#title-eraicons { 
	display: none !important;
	visibility: hidden !important;
}
#title-linktabs { 
	position: absolute;
	right: 0;
	top: -46px;
}

#title-linktabs img {
	padding: 0 1px;
}

/* Infobox template styling */
.infobox {
	float: right;
	clear: right;
	margin: 0 0 .5em 1em;
	width: 250px;
	background: none;
	border-collapse: collapse;
	border-width: 0px;
	font-size: 0.8em;
	line-height: 1.5;
}

.infobox table.infoboxtable {
	background: #f0f0f0;
	float: right;
	margin: 0;
	width: 100%;
	border-collapse: collapse;
}

.infobox td.infoboximage {
	padding: 0;
	text-align: center; 
}

.infobox th.infoboxheading {
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	font-size: larger;
}

.infobox th.infoboxsubheading {
	vertical-align: top;
	text-align: left;
	font-weight: normal; 
}

.infobox td.infoboxlabel, .infobox td.infoboxcell {
	vertical-align: middle;
/*	border-top: 1px solid #999;
	border-bottom: 1px solid #999; */
}

/* ugly hack to force normal height for infobox cells */
.infoboxcell p {
	margin-top: 0px;
	margin-bottom: 0px;
}
/* .infoboxcell ul { list-style-type: disc; } */

.infoboxcell ul {
	padding-left: 10px;
	margin-left: 10px;
}

.infoboxcell ul li {
	padding-left: 0;
	margin-left: 0;
	list-style-type: square;
}

.infobox div.plainlinks {
	color: #fff;
}

.infobox div.plainlinks a {
	color: #f0f0f0;
}

.foreground {
	background: url() no-repeat center 65px !important;
}

.foreground a {
	color: #1AAAE7;
}

/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
	margin: 0 !important;
	padding: 0;
	width: 100%;
	clear: both;
}

.tabtoc li {
	background-color: transparent;
	color: #000;
}

.tabtoc li {
	margin: 1px -2px 1px 2px;
	float: left;
	padding: 2px 0 3px 0;
	border: none;
	top:4px;
	left:-2px;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
}

.tabtoc li.selected {
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-ms-border-radius: 5px 5px 0 0;
	-o-border-radius: 5px 5px 0 0;
	top: 2px;
	font-weight: bold;
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	border-bottom: none;
	cursor: default;
	padding-top: 2px;
	margin-right: -3px;
}

.tabtoc >; li.selected {
	top: 2px;
}

.tabtoc a,
.tabtoc a:active {
	display: block;
	color: #000;
	padding: 0 .7em;
	position: relative;
	text-decoration: none;
}

.tabtoc li.selected a {
	cursor: default;
	text-decoration: none;
}

.tabcontainer {
	margin: 0;
	border: 1px solid #aaa;
	clear: both;
	padding: 7px;
	background-color: #F9F9F9;
}

.tabsection {
	border: none;
	padding: 0;
	margin: 0;
}

.tabsection .tabbox {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}

.tabsection .tab {
	font-weight: bold;
}

.tabsection table, .tabsection .tab {
	background-color: #F9F9F9;
}
 
.mainTab {
	display: none;
}

/* Collapsible tables (see http://www.mediawiki.org/wiki/Manual:Collapsible_tables) */
table.collapsed tr.collapsable {
	display: none;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the	    */
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}

/** User welcome **/
.mp-welcome-logged-in {
	width: 260px;
	margin-top: -13px;
	margin-bottom: -20px;
}
.mp-welcome-image {
	width: 74px;
}
.mp-welcome-points {
	width: 175px;
}

.blackink {
    background-color: #000000;
    border-radius:4px;
    color: #000000;
    padding: 1px;
    transition: 1.5s;
    -o-transition: 1.5s;
    -ms-transition: 1.5s;
    -moz-transition: 1.5s;
    -webkit-transition: 1.5s;
    transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -ms-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
}

.blackink a {
    color: #000000;
    padding: 1px;
    text-decoration: underline;
}

.blackink:hover {
    background-color: inherit !important;
    color: inherit;
}

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

/* Site activity */
.mp-activity {
	padding: 3px 0;
	border: none;
}
.mp-site-activity h2 {
	padding: 10px 0 2px 0;
}