MediaWiki:Common.css

From B-Daman Wiki
Jump to: navigation, search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/***** CSS placed here will be applied to all skins on the entire site. *****/
/* See also: [[MediaWiki:Monobook.css]] */

.mainpagelink a:link, .mainpagelink a:hover, .mainpagelink a:visited { color: #DC2831 }

:lang(ja) {
    font-family: 'メイリオ', Meiryo, 'MS PGothic', 'MS Gothic', 'Arial Unicode MS', 'Bitstream Cyberbit', 'TITUS Cyberbit Basic', 'Lucida Sans Unicode', 'DejaVu Sans', Arial, sans-serif;
}

[lang="ja"], .ja {
    color: #640012;
    font-family: 'メイリオ', Meiryo, 'MS PGothic', 'MS Gothic', 'Arial Unicode MS', 'Bitstream Cyberbit', 'TITUS Cyberbit Basic', 'Lucida Sans Unicode', 'DejaVu Sans', Arial, sans-serif;
}

/* == Poll styles == */
div.ajax-poll { width:auto !important; }
.pollAnswerVotes div { background: #ff9999 !important; }

/* === Global ruby text formatting === */
ruby {
    ruby-align: center;
}
rt {
    color: #000047;
}


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

/* === Navbox default skin === */
/* from Wikipedia */
/* 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 {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (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-color: #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 */
}
 
.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. 

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

 /* === Template:Ambox designs === */
 
 /* Ambox design */
 .ambox {
  font-size: 95%;
  width: 80%; 
  margin: 0 auto;
  border: 1px #AAA solid;
  border-left: 10px solid #22228b;
  border-collapse: collapse;
  background-color: #EEE;
 }
 
 /* Ambox colours */
 .ambox-blue {
  border-left: 10px solid #1e90ff;       /* Blue (notice) */
 }
 .ambox-red {
  border-left: 10px solid #b22222;       /* Red (delete/serious) */
 }
 .ambox-orange {
  border-left: 10px solid #f28500;       /* Orange (content) */
 }
 .ambox-yellow {
  border-left: 10px solid #f4c430;       /* Yellow (style) */
 }
 .ambox-purple {
  border-left: 10px solid #9932cc;       /* Purple (merge) */
 }
 .ambox-gray {
  border-left: 10px solid #bba;          /* Gray (protection) */
 }
 .ambox-green {
  border-left: 10px solid #228b22;       /* Green */
 }
 
 /* Ambox small text */
 .ambox-smalltext {
  font-size: smaller;
  margin-top:0.5em;
  margin-left:0.8em;
 }
 
 /* Ambox image */
 .ambox-image {                          /* The left image cell */
  width: 60px; 
  padding: 2px 0px 2px 0.5em;            /* 0.5em left, 0px right */
  text-align: center; 
 }
 
 @media print { .ambox { display: none; } } /* no ambox when printing */

/* Infobox template style */
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 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 #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

/* 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;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}
 
/* 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;
}

/* make the list of references look smaller */
ol.references {
    font-size: 100%;
}
 
.references-small { font-size: 90%;}

/* Forum formatting (by -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/4/4e/Forum_new.gif)
     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;
}

/* Recent changes byte indicators */
.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;
}

/* </pre></nowiki> */

/* Pestañas de las páginas */

#page_tabs li {
	background-color:#EDEDED;
	margin-top:2px;
	line-height: 22px;
	border: 3px solid #D9B250;
	border-left: 1px solid #D9B250;
	border-right: 1px solid #D9B250;
	border-bottom: none;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
}

#page_tabs a {
	margin-top: 2px;
}

/* Imagen en la pestaña de discusión */

#page_tabs a#ca-talk {
	background-image: url(http://images.wikia.com/es.pokemon/images/1/1f/Icono_de_discusi%C3%B3n.png?1);
	background-repeat: no-repeat;
	padding-right: 20px;
	background-position: top right;
}

/* Bordes redondos en widgets */

#sidebar_1 .widget {
	-moz-border-radius: 0.8em;
}

.widget dt {
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-topright: 0.5em;
	padding-left:5px;
}

/* Espacio de contenido */

#wikia_page {
	-moz-border-radius-topright: 20px;
	-moz-border-radius-bottomright: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-bottomleft: 20px;
}

#page_bar {
	-moz-border-radius-topright: 18px;
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-topleft: 18px;
	-moz-border-radius-bottomleft: 0;
	background-image:url(http://images.wikia.com/common/skins/monaco/images/reflected_shadow.png?1);
	background-position:left top;
	background-repeat:repeat-x;
	color:white;
	font-family:calibri,sans-serif;
	font-size:11pt;
	margin:2px 2px 0;
	overflow:hidden;
	padding:0 5px;
}

#search_box {
	background-image:url(http://images.wikia.com/common/skins/monaco/images/reflected_shadow.png?1);
	background-repeat:repeat-x;
}

/* Panel de opciones del usuario */

#user_masthead { 
	-moz-border-radius: 17px; 
	padding-left: 20px; 
}

.nav_links a:hover { 
	background: #f2f2da;
	-moz-border-radius: 5px; 
	text-decoration: none;
	padding:5px;
	margin:-5px;
	display:block;
}

#wk-avatar-change {
	-moz-border-radius: 0 5px 5px 0; 

}

#wk-avatar-change :hover {
	color: #FFFFFF;
}

body.page-Bakugan_Wiki div.wk_blogs_panel .wk_blogs_title,{
   display: none;
}

body.page-Bakugan Wiki:BakuNews div.wk_blogs_panel .wk_blogs_title,{
   display: none;
}