MediaWiki:Gadget-Anime-common.css

From Yugipedia
Jump to: navigation, search

Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: hold down Ctrl and click the Refresh or Reload button. Firefox: hold down ⇧ Shift while clicking Reload (or press Ctrl+⇧ Shift+R). Google Chrome and Safari users can just click the Reload button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.

/** This is an expanded static version of the old Animepedia's shared common css **/
/**
	The styles defined in this stylesheet are DEPRECATED, and may be removed at
	any time, without warning, once reasonably certain that nothing important
	uses them, or that any important uses will not break unacceptably without
	them. Note in particular that userspace uses WILL NOT be actively updated.
	Please DO NOT use these styles anywhere they aren't already used (and
	consider updating existing uses, too, if you know what to replace them with).
 **/
/*<big>'''[[MediaWiki:Anime-Box.css]]'''</big>*/
/*<pre>*/
/* Universal box styles. -Dantman */
.box.message {
	width: 90%;
	margin: 0 auto 10px auto;
	border-collapse: collapse;
}
.box.block { clear: both; }
.box.block {
	margin: 0.5em auto;
	border-collapse: collapse;
}
.box.nav {
	margin: 5px;
	padding: 1px;
	border-spacing: 1px;
}
.box.table {
	margin: 1em 1em 1em 0;
	border-collapse: collapse;
}
.box.table > tbody > tr > td, .box.table > tbody > tr > th {
	padding: 0.2em;
}
.box.table > tbody > tr > th.mainheader {
	text-align: center;
	font-size: 110%;
}
/*Infobox*/
.box.info,
.box.infobox {
	margin: 0 5px;
	padding: 0;
	width: 300px;
	border-spacing: 0;
	border-collapse: collapse;
	font-size: 85%;
}
.box.info.float-right-clear,
.box.infobox.float-right-clear { margin: 5px 0 5px 5px; }
.box.info caption,
.box.infobox caption {
	font-size: larger;
	margin-left: inherit;
}
.box.info td,
.box.infobox td {
	width: 65%;
	min-width: 50%;
	max-width: 65%;
}
.box.info th,
.box.infobox th {
	width: 35%;
	min-width: 35%;
	max-width: 50%;
	text-align: left;
	font-size: 90%;
	vertical-align: top;
	padding: 2px;
}
.box.info .mainheader,
.box.infobox .mainheader {
	text-align: center;
	font-weight: bold;
	font-size: 100%;
}
.box.info .lightheader,
.box.infobox .lightheader { font-weight: normal; }
.title { display: block; }
.box.info .imagecell,
.box.infobox .imagecell { text-align: center; }
.box.info .imagecell,
.box.info .imagecell a,
.box.info .imagecell p,
.box.info .imagecell img,
.box.info .clearcell,
.box.info p,
.box.infobox .imagecell,
.box.infobox .imagecell a,
.box.infobox .imagecell p,
.box.infobox .imagecell img,
.box.infobox .clearcell,
.box.infobox p { margin: 0; padding: 0; }
.box.info table,
.box.infobox table {
	width: 100%;
	margin: 0;
	padding: 0;
	border-spacing: 0;
}
.box.info .imagecell .thumb,
.box.infobox .imagecell .thumb {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none;
    clear: none;
}
.box.info .imagecell .thumb .thumbinner,
.box.infobox .imagecell .thumb .thumbinner {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Needed base attributes */
.box.bordered { border-width: 1px; border-style: solid; }
.box.innerbordered > tbody > tr > td,
.box.innerbordered > tbody > tr > th { border-width: 1px; border-style: solid; }
/*</pre>*/
 /***** Style Classes *****/
 /*
  * Style: ''default''
  * Border color: 000
  * Head border color: 000
  * Inner border color: 000
  * Cell background color: FFF
  * Header background color: FFF
  * Main header background color: 
  * Header link color: N/I
  */
 .box.bordered { border-color: #000; }
 .box.innerbordered > tbody > tr > td,
 .box.innerbordered > tbody > tr > th { border-color: #000; }
 .box.colored td,
 .box.colored th { background: #FFF; }
 .box.colored > tbody > tr > th { background: #FFF; }
 /*
  * Style: animanga
  * Border color: AAE
  * Head border color: 
  * Inner border color: AAE
  * Cell background color: F9F9FF
  * Header background color: E6E9FF
  * Main header background color: CCF
  * Header link color: N/I
  */
 .box.bordered.type-animanga { border-color: #AAE; }
 .box.innerbordered.type-animanga > tbody > tr > td,
 .box.innerbordered.type-animanga > tbody > tr > th { border-color: #AAE; }
 .box.colored.type-animanga td,
 .box.colored.type-animanga th { background: #F9F9FF; }
 .box.colored.type-animanga > tbody > tr > th { background: #E6E9FF; }
 .box.colored.type-animanga > tbody > tr > .mainheader { background: #CCF; }
 /*
  * Style: character
  * Border color: E0E0E0
  * Head border color: 
  * Inner border color: AAA
  * Cell background color: F2F2F2
  * Header background color: E5E5E5
  * Main header background color: C5C5C5
  * Header link color: N/I
  */
 .box.bordered.type-character { border-color: #E0E0E0; }
 .box.innerbordered.type-character > tbody > tr > td,
 .box.innerbordered.type-character > tbody > tr > th { border-color: #AAA; }
 .box.colored.type-character td,
 .box.colored.type-character th { background: #F2F2F2; }
 .box.colored.type-character > tbody > tr > th { background: #E5E5E5; }
 .box.colored.type-character > tbody > tr > .mainheader { background: #C5C5C5; }
/***** Scheme Classes *****/
/*<big>'''[[MediaWiki:Anime-Content.css]]'''</big>*/
/*<pre>*/
/* Float/clear classes */
.float-right { float: right; }
.float-right-clear { float: right; clear: right; }
/*</pre>*/