Template:Infobox/Stylesheet.css
From Salem Wiki
/**
Use importStylesheet('Template:Infobox/Stylesheet.css');
in personal-skin or site-wide-skin script-pages, (or MediaWiki:Common.js) to include this stylesheet.
<pre>*/
/**************************************************************************
Infobox with auto-info
Author: ©TriMoon™ <http://claimid.com/trimoon>
Released under the Creative Commons Attribution-ShareAlike 3.0 License.
http://creativecommons.org/licenses/by-sa/3.0/
*/
table.Infobox {
min-width: 250px;
font-size: 11px;
font-family: Times New Roman;
color: black;
background-color: gray;
border: 5px solid #3366CC;
border-radius: 20px 20px 20px 20px;
float: left;
margin: 0 2.5em 1em 0;
}
table.Infobox a {
color: inherrit;
}
table.Infobox a:hover {
color: inherrit;
}
table.Infobox a:visited {
color: inherrit;
}
/* Header: Item-name */
table.Infobox .IBheader {
background-color: #3366CC;
}
table.Infobox .IBheader th {
font-size: 150%;
padding: 0.5em;
}
table.Infobox .IBheader th div,
table.Infobox .IBheader th span {
color: white;
}
/* Intro: icon, caption and fullview */
table.Infobox .IBintro {
background-color: #527ACC;
text-align: center;
}
table.Infobox .IBintro a {
color: inherrit;
}
table.Infobox .IBintro a:hover {
color: inherrit;
}
table.Infobox .IBintro a:visited {
color: inherrit;
}
table.Infobox .IBintro td {
}
table.Infobox .IBintro td .IBcaption {
font-style: italic;
margin: auto;
max-width: 300px;
}
/* Separator */
table.Infobox .IBsep {
background-color: #527ACC;
}
table.Infobox .IBsep td {
padding: 2px;
}
/* Info: info rows */
table.Infobox .IBinfo {
background-color: #8FA3CC;
}
table.Infobox .IBinfo a {
color: inherrit;
}
table.Infobox .IBinfo a:hover {
color: inherrit;
}
table.Infobox .IBinfo a:visited {
color: inherrit;
}
table.Infobox .IBinfo .IBboth {
padding: 0px;
}
table.Infobox .IBinfo .IBleft {
text-align: right;
font-weight: bold;
}
table.Infobox .IBinfo .IBright {
text-align: left;
}
table.Infobox .IBinfo .IBrightC {
text-align: center;
}
/* Alchemy values */
table.Infobox .IBalchemy .IBinfo .IBhumour {
text-align: right;
}
table.Infobox .IBalchemy .IBinfo .IBheal,
table.Infobox .IBalchemy .IBinfo .IBna,
table.Infobox .IBalchemy .IBinfo .IBhg,
table.Infobox .IBalchemy .IBinfo .IBs,
table.Infobox .IBalchemy .IBinfo .IBpb {
text-align: center;
}
table.Infobox .IBalchemy .IBinfo .IBheal {
color: black;
background-color: white;
}
table.Infobox .IBalchemy .IBinfo .IBna {
color: white;
background-color: darkred;
}
table.Infobox .IBalchemy .IBinfo .IBhg {
color: white;
background-color: darkgreen;
}
table.Infobox .IBalchemy .IBinfo .IBs {
color: white;
background-color: darkblue;
}
table.Infobox .IBalchemy .IBinfo .IBpb {
color: black;
background-color: darkgoldenrod;
}
/* Footer */
table.Infobox .IBfooter {
background-color: #AAAAAA;
}
table.Infobox .IBfooter a {
color: inherrit;
}
table.Infobox .IBfooter a:hover {
color: inherrit;
}
table.Infobox .IBfooter a:visited {
color: inherrit;
}
table.Infobox .IBfooter th {
}
/* Inside another */
table.Infobox table.Infobox {
background-color: transparent;
border: 0 none transparent;
border-radius: 0 0 0 0;
margin: 0;
width: 100%;
}
table.Infobox .IBinfo .IBboth > table.Infobox {
padding: 0px;
}
/* Collapsibles */
table.Infobox span.mw-collapsible-toggle {
font-size: 50%;
}
table.Infobox span.mw-collapsible-toggle a {
color: black;
}
/*
Infobox with auto-info
**************************************************************************/
/**</pre>
*/