MediaWiki:Common.css

@import "http://anime.wikia.com/index.php?title=MediaWiki:Anime-Common.css&action=raw&ctype=text/css&smaxage=86400"; @import "http://yugioh.wikia.com/index.php?title=MediaWiki:OldInfoboxStyle.css&action=raw&ctype=text/css&smaxage=86400"; @import "http://yugioh.wikia.com/index.php?title=MediaWiki:Wikipedia.css&action=raw&ctype=text/css&smaxage=86400";

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

/* Card coloring. -Dantman */ .card-galleries { border-collapse: collapse; border: 1px solid #CCCCCC; margin: 0.5em auto; } .card-galleries th { background: #800000; color: #FFFF00; border: 1px solid #999999; margin: 0px; padding: 3px; } .card-galleries td { margin: 0px; padding: 0px; text-align: center; } .card-galleries table.gallery { width: 100%; margin: 0px; border: 0px; } .card-galleries table.gallery td { background: transparent; } .card-galleries table.gallery .gallerybox { background: #F9F9F9; border: 1px solid #CCCCCC; margin: 0px auto; } .card-galleries table.gallery .gallerybox .thumb { background: transparent; border: 0px; margin: 0px auto; padding: 10px 0px 0px !important; } .card-galleries .thumb neutral, .card-galleries .image lightbox, .card-galleries .lightbox-caption { border: 0px; background: transparent; white-space: normal; text-align: center; font: sans-serif; padding: 0px; }

float: right; font-size: .5; width: 275px; display: block; font-size: .5em; line-height: 1em; }   margin-left: 5px; float: right; }
 * 1) cardlinks {
 * 1) cardlinks a {

.img32 img { width: 32px; }

/* Tab view */

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

/* set the background color of the content and the 'on' tab the same */ .yui-content, .yui-navset .yui-nav li.selected {   background-color: #800000; }

/* style the 'on' tab */ .yui-navset .yui-nav .selected { border-style: solid; border-width: 2px 0 0 0; border-top-color: #FFFF00; }

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

/* hide some stuff on rollback/mover requests pages */ .page-Yu-Gi-Oh_Requests_for_rollback_requests #wpSummary, .page-Yu-Gi-Oh_Requests_for_rollback_requests #wpSummaryLabel, .page-Yu-Gi-Oh_Requests_for_mover_requests #wpSummary, .page-Yu-Gi-Oh_Requests_for_mover_requests #wpSummaryLabel { display: none; }

/* cardtable styles

these are currently experimental, but have been tested across the latest (usually bleeding-edge) versions of the five most popular browsers

when updating these styles, also update those at User:Dinoguy1000/cardtable.css

known issues:

Google Chrome 10 dev - empty statuses table causes the bottom border on cardtable to have a 1-pixel-wide centered gap - if the right column comes up short against the card image, rows are not vertically stretched to    cover the space and there is no border around the empty region

Mozilla Firefox 3.6.13 - minor padding issues around cardtable navboxen - bottom border of the image cell isn't displaying

Internet Explorer 9 beta (only in IE7 Standards Document Mode) - doubled border between the cardtable header and the first data row (usually English name) - a couple pixels are cut off the right side of cardtable navboxen due to a margin/padding/width bug in IE

Opera 11.00 - the bottom border of the bottommost navbox in a stack of cardtable navboxen sometimes doesn't    display until the navbox is expanded

Safari 5.0.3 - minor padding issues around cardtable navboxen - empty statuses table causes the bottom border on cardtable to have a 1-pixel-wide centered gap - if the right column comes up short against the card image, rows are not vertically stretched to    cover the space and there is no border around the empty region

/* cardtable styles */ table.cardtable { width: 98%; margin: auto; background: #f9f9f9; border: 1px solid #aaa; border-collapse: collapse; } .cardtable th, .cardtable td { border: 1px solid #aaa; padding: 0.2em; } .cardtable th { text-align: center; } .cardtable .cardtable-cardimage { padding: 1px; vertical-align: top; } .cardtable .cardtablespanrow {  /* try forcing the image cell to least possible width, since most */ width: 100%;                /* card pages will have at least one collapsing data section      */ }

/* try to "reset" the Navbox styles */ .cardtable .navbox-title, .cardtable table.navbox th { padding-left: 1em; padding-right: 1em; } .cardtable .navbox th, .cardtable .navbox td { border: none; }

/* styles for the statuses table */ table.cardtablestatuses { margin: auto; background: #f9f9f9; border: 1px solid #aaa; border-collapse: collapse; } .cardtablestatuses th, .cardtablestatuses td { border: 1px solid #aaa; padding: 0.2em; text-align: center; } .cardtablestatuses th { background: #f2f2f2; } .cardtablestatuses th.cardtablestatusesgroupheader { background: #000; color: #FFF; font-size: 1.5em; line-height: 1.5em; }

/* 1px border between: cardtable and statuses table, cardtable and navbox, statuses table and navbox    */ table.cardtable + table.cardtablestatuses, table.cardtable + table.navbox, table.cardtablestatuses + table.navbox { margin-top: -1px; } /*** end cardtable styles ***/

/* stop people doing stupid stuff with the "Add an image to this gallery" button */ .wikia-gallery-add, .wikia-photogallery-add { display: none !important; }

.infobox-subheading { background:#DDD; font-weight:bold; }

/* Lyrics highlighting */ .high-light { width:100%; font-size:90%; text-align:left; border:1px solid #AAA; margin: 1em 1em 1em 0; background:#F9F9F9; } .high-light th { background: #800000; color: #FF0; text-align: center; } .high-light tr:hover { background: #EEF; } .high-light .section-begin td { border-top: 1px solid #800000; }

/* Diff changes This gets us diffs like what are added in 1.20, except we won't have to wait another year-and-a-half for Wikia to jump another three major versions just to get them. Naturally, this should be removed once we actually *do* get 1.20 (or later). */ td.diff-marker { font-weight: bold; font-size: 1.25em; }

td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; vertical-align: top; }

td.diff-addedline, td.diff-deletedline { border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; }

td.diff-addedline { border-color: #a3d3ff; background-color: inherit; }

td.diff-deletedline { border-color: #ffe49c; background-color: inherit; }

td.diff-context { background: #f3f3f3; color: #333333; border-style: solid; border-width: 1px 1px 1px 4px; border-color: #e6e6e6; border-radius: 0.33em; }

.diffchange, .diffchange-inline { border-bottom: none !important; }

.diffchange { color: inherit; }

td.diff-addedline .diffchange, td.diff-deletedline .diffchange { border-radius: 0.33em; padding: 0.25em 0; }

td.diff-addedline .diffchange { background: #d8ecff; }

td.diff-deletedline .diffchange { background: #feeec8; } table.diff td { padding: 0.33em 0.66em; }