MediaWiki:Common.css: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
(spaces -> tabs)
Line 100: Line 100:


/* Main Page */
/* Main Page */
body.page-Main_Page h1.firstHeading {
body.page-Main_Page h1.firstHeading {
display: none;
display: none;
Line 258: Line 257:


/* Infobox template styling */
/* Infobox template styling */
.infobox
.infobox {
{
float: right;
  float: right;
clear: right;
  clear: right;
margin: 0 0 .5em 1em;
  margin: 0 0 .5em 1em;
width: 250px;
  width: 250px;
background: none;
  background: none;
border-collapse: collapse;
  border-collapse: collapse;
border-width: 0px;
  border-width: 0px;
font-size: 0.8em;
  font-size: 0.8em;
line-height: 1.5;
  line-height: 1.5;
}
}
 
.infobox table.infoboxtable
.infobox table.infoboxtable {
{
background: #f0f0f0;
  background:#f0f0f0;
float: right;
  float:right;
margin: 0;
  margin:0;
width: 100%;
  width:100%;
border-collapse: collapse;
  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 */
.infobox td.infoboximage {
.infoboxcell p { margin-top: 0px; margin-bottom: 0px; }
padding: 0;
/* .infoboxcell ul { list-style-type: disc; } */
text-align: center;  
}


.infoboxcell ul
.infobox th.infoboxheading {
{
font-weight: bold;
    padding-left: 10px;
text-align: center;
    margin-left: 10px;
color: #ffffff;
font-size: larger;
}
}


.infoboxcell ul li
.infobox th.infoboxsubheading {
{
vertical-align: top;
    padding-left: 0;
text-align: left;
    margin-left: 0;
font-weight: normal;  
    list-style-type: square;
}
}


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


.infobox div.plainlinks a
/* ugly hack to force normal height for infobox cells */
{
.infoboxcell p {
    color: #f0f0f0;
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 {
.foreground {
  background: url(/images/pagebg.jpg) no-repeat center 200px !important;
background: url(/images/pagebg.jpg) no-repeat center 200px !important;
}
}
.foreground a {
.foreground a {
  color: #1AAAE7;
color: #1AAAE7;
}
}

Revision as of 19:27, October 23, 2010

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

#bodyContent {
	background: #fff url(/images/pagebg.jpg) no-repeat center 200px !important;
}

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

table {
	background-color: transparent;
}

.smalltoptext {
	font-size: 108%;
	float: right;
	position: relative;
	top: -45px;
	right: 5px;
	white-space: nowrap;
}

.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(/images/chiefcat.jpg) no-repeat top right;
}

pre { 
	overflow: auto;
}

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

.sigbox {
	background: url(/images/sigboxbg.png) no-repeat top left;
	min-height: 35px;
	min-width: 295px;
}

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

.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: 16px;
}

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

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

/*** Custom Wallpaper ***/
.odst { 
	background: url('http://images3.wikia.nocookie.net/joeplayground/images/4/46/ODSTbg4.jpg') no-repeat center top !important;
}

.odst a {
	color: #1AAAE7;
}

.opacity70 {
	background: url('http://images2.wikia.nocookie.net/joeplayground/images/c/ca/70opacity.png') repeat;
}

.rookie { 
	background: url('http://images1.wikia.nocookie.net/halofanon/images/c/c2/BG_-_ODST.png') no-repeat center top !important;
}

.rookie a {
	color: #1AAAE7;
}

.reach { 
	background: url('http://www.halopedian.com/images/5/5b/Halo_Reach_-_User_Wallpaper.jpg') no-repeat center top !important;
}

.reach a {
	color: #1AAAE7;
}

.noble { 
	background: url('http://www.halopedian.com/images/d/df/Halo_Reach_-_Visual_ID.jpg') no-repeat center top !important;
}

.noble a {
	color: #1AAAE7;
}

.property {
	background: url('http://images4.wikia.nocookie.net/oni/images/6/6c/ONI_Property.jpg') no-repeat center top !important;
}

.property a {
	color: #1AAAE7;
}

.censor {
	background: url('http://images3.wikia.nocookie.net/oni/images/4/48/ONI_Censored.jpg') no-repeat center top !important;
}

.censor a {
	color: #1AAAE7;
}

/*** Reach portal ***/
.reachbg {
	background: url(http://www.halopedian.com/images/8/8b/ReachBG.jpg) no-repeat center top !important;
}

.reachbg a {
	color: #0099D9 !important;
}

.doomed {
	background: url('http://www.halopedian.com/images/0/09/Doomed.jpg') no-repeat center top !important;
}

.doomed a {
	color: #1AAAE7;
}

/* Administrator and bot highlights by Splarka */
table.diff a[title="User:CommanderTony"], 
ul#pagehistory li a[title="User:CommanderTony"], 
ul.special li a[title="User:CommanderTony"],
table.diff a[title="User:Dragonclaws"], 
ul#pagehistory li a[title="User:Dragonclaws"], 
ul.special li a[title="User:Dragonclaws"],
ul.special li a[title="User:Forerunner"],
table.diff a[title="User:Forerunner"], 
ul#pagehistory li a[title="User:Forerunner"], 
ul.special li a[title="User:General5 7"],
table.diff a[title="User:General5 7"], 
ul#pagehistory li a[title="User:General5 7"],
ul.special li a[title="User:Halo-343"],
table.diff a[title="User:Halo-343"], 
ul#pagehistory li a[title="User:Halo-343"],
ul.special li a[title="User:Jugus"],
table.diff a[title="User:Jugus"], 
ul#pagehistory li a[title="User:Jugus"], 
ul.special li a[title="User:Nicmavr"],
table.diff a[title="User:Nicmavr"], 
ul#pagehistory li a[title="User:Nicmavr"], 
table.diff a[title="User:Smoke."], 
ul#pagehistory li a[title="User:Smoke."], 
ul.special li a[title="User:Smoke."] {
	color: #009900;
}

table.diff a[title="User:Nicbot"],
ul#pagehistory li a[title="User:Nicbot"],
ul.special li a[title="User:Nicbot"],
table.diff a[title="User:HalopediaBot"],
ul#pagehistory li a[title="User:HalopediaBot"],
ul.special li a[title="User:HalopediaBot"],
table.diff a[title="User:ForeBot"],
ul#pagehistory li a[title="User:ForeBot"],
ul.special li a[title="User:ForeBot"] {
	color: #FF8C00;
}

/* Era icons */
#title-linktabs {
	float: right;
}

#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(/images/pagebg.jpg) no-repeat center 200px !important;
}

.foreground a {
	color: #1AAAE7;
}