Pokémon Wiki

Don't like the ads? Then create an account! Users with accounts will only see ads on the Main Page and have more options than anonymous users.

READ MORE

Pokémon Wiki
No edit summary
m (fixing background image)
Line 6: Line 6:
 
body.mediawiki {
 
body.mediawiki {
 
background-image:url("http://images2.wikia.nocookie.net/pokemon/images/6/66/Site_Background.png");
 
background-image:url("http://images2.wikia.nocookie.net/pokemon/images/6/66/Site_Background.png");
background-size:100%;
 
 
background-color:#000000;
 
background-color:#000000;
background-attachment:scroll !important;
 
background-repeat:y;
 
background-position:center;
 
 
}
 
}
   

Revision as of 18:24, 8 October 2013

/* Imports */
@import url("http://dev.wikia.com/index.php?title=Highlight/code.css&action=raw&ctype=text/css");
@import url("http://pokemon.wikia.com/index.php?title=MediaWiki:Highlight.css&action=raw&ctype=text/css");

/* Background */
body.mediawiki {
	background-image:url("http://images2.wikia.nocookie.net/pokemon/images/6/66/Site_Background.png");
	background-color:#000000;
}

/* Fix the tabber */
.WikiaGrid .grid-2 {
	width:328px;
}

/* common.css copied over for compatibility with new Wikia skin */
/***** CSS placed here will be applied to all skins on the entire site. *****/

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

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

.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 #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}


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

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

/* === Babel === */

div.babelbox {
   float: right;
   margin-left: 1em;
   margin-bottom: 0.5em;
   width: 246px;
   border: 1px solid #99B3FF;
   padding: 2px 0 2px 0;
}
.lang-blockN, .lang-block0, .lang-block1, .lang-block2, .lang-block3 {
   margin: 2px 4px 2px 4px; /* t, l, b, r */
   width:238px;
   border-collapse: collapse;
}
td.lang-codeN, td.lang-code0, td.lang-code1, td.lang-code2, td.lang-code3 {
   text-align:center;
   font-size:14pt;
   width:45px;
   height:45px;
}
td.lang-descriptionN, td.lang-description0, td.lang-description1,
td.lang-description2, td.lang-description3 {
  font-size:8pt;
  padding:4pt;
  line-height:1.25em
}

.lang-block0 {
   border:1px solid #FFB3B3;
}
td.lang-code0 {
  background-color: #FFB3B3;
  color: black;
}
td.lang-description0 {
  background-color: #FFE0E8;
  color: black;
}

.lang-block1,  .lang-block2, .lang-block3  {
   border:1px solid #99B3FF;
}
td.lang-code1, td.lang-code2, td.lang-code3 {
  background-color: #99B3FF;
  color: black;
}
td.lang-description1,  td.lang-description2, td.lang-description3 {
  background-color: #E0E8FF;
  color: black;
}

.lang-blockN {
   border:1px solid #6EF7A7;
}
td.lang-codeN {
  background-color: #6EF7A7;
  color: black;
}
td.lang-descriptionN {
  background-color: #C5FCDC;
  color: black;
}

/* 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/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaa solid;
  padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}
 
table.navbox th {
    background-color: #ccf;
    font-size: 120%;
    padding-left: 1em;
    padding-right: 1em;
}
 
@media print {
    .navbox {
        display: none;
    }
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0px;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position:relative;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position:absolute;
    top:0px;
    right:3px;
    font-weight:normal;
    font-size:smaller;
}

/* Small */ 
small { 
   font-size: 85%;
} 

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


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


/* Make MediaWiki:Newarticletext appear */
.mw-newarticletext {
    display: block !important;
}


/*** Navigation Templates (initial import from es.pokemon.wikia.com) ***/
/** Vertical **/

.vnav {
	float:right;
	text-align:center;
	color:black;
	background: white;
}

.vnav .title {
	font-size:200%;
	line-height:1.2em;
	font-weight:bold;
}

.vnav .vnav_data {
	overflow:hidden;
	width:100%; /* For IE: MANDATORY to specify width if overflow: hidden; ¬_¬U */
	background:white;
	color:black;
}

.vnav table {
	width:100%;
	border-collapse:collapse;
}

.vnav table.highlight tr:hover {background:#fff68f; color:#000; }
.vnav table.data tr {border-top: 1px dotted #888;}

.vnav .h {font-weight:bold;}

/*** Rounded borders ***/
/* Adaptation of slate/smoke skins from Wikia */
.rbox { margin:0; background:transparent; }
.rbox span.xtop, .rbox span.xbottom {display:block; font-size:1px;}
.rbox b.xb1, .rbox b.xb2, .rbox b.xb3, .rbox b.xb4 {display:block; overflow:hidden;}
.rbox b.xb1, .rbox b.xb2, .rbox b.xb3 {height:1px;}
.rbox b.xb1 {margin:0 5px;}
.rbox b.xb2 {margin:0 3px;}
.rbox b.xb3 {margin:0 2px;}
.rbox b.xb4 {height:2px; margin:0 1px;}
/* adaptación end */

/* Background associated to types  (initial import from es.pokemon.wikia.com) */
.ctype	{color:#000;}
.type1-Normal	.ctype {background: #A8A878;}
.type2-Flying	.ctype {background: #AAAAFF;} /* After .type1-Normal to catch Normal/Flying but not Water/Flying, etc. */
.type1-Water	.ctype {background: #337FCC;}
.type1-Bug	.ctype {background: #CDCD00;}
.type1-Electric .ctype {background: #FFE303;}
.type1-Fire	.ctype {background: #EE7600;}
.type1-Fighting	.ctype {background: #CC2900;}
.type1-Grass	.ctype {background: #57B24D;}
.type1-Flying	.ctype {background: #AAAAFF;}
.type1-Steel	.ctype {background: #B3B3B3;}
.type1-Dragon	.ctype {background: #7340BF;}
.type1-Ghost	.ctype {background: #8B668B;}
.type1-Ice	.ctype {background: #7DD3E8;}
.type1-Psychic	.ctype {background: #DB7093;}
.type1-Rock	.ctype {background: #B2944D;}
.type1-Dark	.ctype {background: #705848;}
.type1-Ground	.ctype {background: #E0B652;}
.type1-Poison	.ctype {background: #B866CC;}
.type1-Unknown	.ctype {background: #68A090;}
.type1-Shadow	.ctype {background: #3E3355; color: #fff;}

/* inner box */
.rbox .rboxint {padding: 4px;}/* border width */
.rbox .rboxint .xtop b, .rbox .rboxint .xbottom b {
	background:white;
	color:black;
}

/***  [[Template:Move infobox]] ***/

.move_infobox {width:16em;}
.move_infobox table.datos th {text-align:right;}
.move_infobox table.datos tr:first-child {border-top:none;}
.move_infobox .affection .h, .move_infobox .gen3 .h, .move_infobox .gen4 .h {background:#dcdcdc; color:#000;}
.move_infobox .affection table td {padding:0 1em;}

/* Without categories in userpages (allow removing, but not add) */
body.ns-2 #csAddCategorySwitch, body.ns-2 #csAddCategoryButton, body.ns-2 #csSwitchViewContainer { display:none !important; }

.ajax-poll {
    border: 1px solid #AAA !important;
}

.WikiaArticle .picture-attribution {
display: none;
}

/* 
=== Forum formatting -Algorithm & -Splaka === 
*/
 
.forumheader { 
   -moz-border-radius:10px 10px 10px 10px;
   border-top: 2px solid #0174C5 !important;
   border-left: 2px solid #0174C5 !important;
   border-bottom: 4px solid #0174C5 !important;
   border-right: 4px solid #0174C5 !important;
   background-color: #C0C0C0; color: #000; margin-top: 1em; padding: 6px; 
}
.forumlist td.forum_edited a { 
   color: #000; text-decoration: none 
}
.forumlist td.forum_title a { 
   padding-left: 20px; 
}
.forumlist td.forum_title a.forum_new {  
   font-weight: bold; background: url('http://images1.wikia.nocookie.net/pokemon/images/d/db/User.png?1') 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; 
}

/* ########################## */
/* ##   NEW CLASS STYLES   ## */
/* ########################## */
 
/* FEMALE */
.female { color:#D300C5; }
 
/* MALE */
.male { color:#0019D3; }
 
/* GENDERLESS */
.genderless { color:#707070; }

/* Fix for main page columns */
.WikiaArticle .main-page-tag-lcs {
   width: 660px;
}

/* Ambox styling */
.ambox {
	font-size:95%;
	width:75%; 
	margin:0 auto;
	border:1px #aaaaaa solid;
	border-left:10px solid #000000;
	border-collapse:collapse;
	background-color:transparent;
}

table.ambox + table.ambox {
	margin-top:-1px;
}

.ambox-blue {
	border-left:10px solid #005fbb;
}

.ambox-red {
	border-left:10px solid #8d0000;
}

.ambox-orange {
	border-left:10px solid #d47400;
}

.ambox-yellow {
	border-left:10px solid #eab100;
}

.ambox-purple {
	border-left:10px solid #7d00bb;
}

.ambox-gray {
	border-left:10px solid #7b7b7b;
}

.ambox-green {
	border-left:10px solid #007f00;
}

.ambox-wikimedia {
	border-left:10px solid #27a37b;
}

.ambox-archive {
	border-left:10px solid #b8944e;
}

.ambox-fairuse {
	border-left:10px solid #868686;
}

.ambox-image {
	width:60px; 
	padding:2px 0px 2px 0.5em;
	text-align:center; 
}

.ambox-info {
	padding:0.25em 0.5em; 
}