Keroro Wiki
No edit summary
No edit summary
Line 55: Line 55:
 
float: right;
 
float: right;
 
}
 
}
  +
  +
  +
  +
/* == Disable enlarge button for large tables == */
  +
/* To use: use a .no-large-tables container. */
  +
.no-large-tables .WikiaWideTablesWrapper canvas {display:none;}
  +
.no-large-tables .WikiaWideTablesWrapper img.sprite.popout {display:none;}
  +
.no-large-tables .WikiaWideTablesWrapper > .table {overflow:visible;}
   
   

Revision as of 06:34, 9 June 2012

/* <pre> */

/* == Global == */
body {
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}



/* == Poll == */

.pollAnswerVotes div {
    background: #ffff77 !important;
}



/* === Global ruby text formatting === */
ruby {
    ruby-align: center;
    ruby-overhang: auto;
}
rt {
    color: #000047;
    font-size: 80%;
}



/* == Global (default) Japanese text formatting ==
 * See [[Template:Ja/classes]]. */
.ja, [lang="ja"] {
    color: #004700;
    font-family: Meiryo, 'MS PGothic', 'MS Gothic', 'Arial Unicode MS', 'Bitstream Cyberbit', 'TITUS Cyberbit Basic', 'Lucida Sans Unicode', 'DejaVu Sans', Arial, sans-serif;
}



/* == Checker background == */
#file img {
    background: url('http://images.wikia.com/central/images/5/5d/Checker-16x16.png') repeat;
}



/* == IPA == */
.IPA a:link, .IPA a:visited {
    text-decoration: none;
}



/* == Section edit == */
.editsection {
    float: right;
}



/* == Disable enlarge button for large tables == */
/* To use: use a .no-large-tables container. */
.no-large-tables .WikiaWideTablesWrapper canvas {display:none;}
.no-large-tables .WikiaWideTablesWrapper img.sprite.popout {display:none;}
.no-large-tables .WikiaWideTablesWrapper > .table {overflow:visible;}



/* == TabView extension == */

.yui-navset {
    background: #000077;
    border: solid 1px #aaaaff;
}

/*set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li {
    background-color: #d4e8de;
    padding-left: 10px;
    padding-right: 10px;
}

/*set the background color of the content and the 'on' tab the same*/
.fly_wrapper, .tabPinned {
    background-color: #E7F2FF;
}

/** style the 'on' tab **/
.tabPinned {
    border-style: solid;
    border-width: 2px 0 0 0;
    border-top-color: #2F5DBA;
}

/* keep the side padding, but enforce no gap between content area and tabs */
.fly_wrapper {
    margin-top: 0;
    padding-top: 0.25em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.tabPinned {
    font-weight: bold;
    background: #ffffaa;
}

.tabPinned a {
    color: black;
}

.tabPinned a:hover {
    text-decoration: none;
}


/** tabber.js
  * http://www.barelyfitz.com/projects/tabber/
  */
/* required */
.tabberlive .tabbertabhide {
 display:none;
}

/*.tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up */
.tabber {
}
.tabberlive {
 margin-top:1em;
}

/*ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab */
ul.tabbernav
{
 margin:0;
 border-bottom: 1px solid #778;
 font: bold 12px Verdana, sans-serif;
}

ul.tabbernav li
{
 list-style: none;
 margin: 0;
 display: inline-block;
 padding: 3px 0.5em;
 margin-left: 3px;
 border: 1px solid #778;
 border-bottom: 1px solid transparent;
 background: #DDE;
}

ul.tabbernav li a
{
 text-decoration: none;
}

ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }

ul.tabbernav li:hover
{
 color: #000;
 background: #AAE;
 border-color: #227;
}

ul.tabbernav li.tabberactive
{
 background-color: #fff;
 border-bottom: 1px solid #fff;
}

ul.tabbernav li.tabberactive:hover
{
 color: #000;
 background: white;
 border-bottom: 1px solid white;
}

.tabberlive .tabbertab {
 padding:5px;
 border:1px solid #aaa;
 border-top:0;
}
.tabberlive .tabbertab h2 {
 display:none;
}
/* but override them in the main page */
.mainpage .tabberlive .tabbertab h2 {
    display:block;
}
.tabberlive .tabbertab h3 {
    display:none;
}
/* Hide select elements when tabber is live */
.tabberlive .tabbertab .tabberhide {
    display: none;
}



/* == Navbox == */
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.         */



/* == References == */
.references-small {
    font-size: 90%;
}



/* == Wikitables == */
table.wikitable {
    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 th {
    background: #f2f2f2;
    text-align: center;
}
 
table.wikitable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
table.wikitable code {
    background-color: transparent;
}



/* == Infobox == */
.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;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-right: 1px solid #aaa;
}

.infobox.nfo td {
}
.infobox.nfo th {
    background: #efe;
}




/* </pre> */