Difference between revisions of "Template:Infobox/Stylesheet.css"
From Salem Wiki
m |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 10: | Line 10: | ||
table.Infobox { | table.Infobox { | ||
min-width: 250px; | min-width: 250px; | ||
− | font-size: | + | font-size: 11px; |
+ | font-family: Times New Roman; | ||
color: black; | color: black; | ||
background-color: gray; | background-color: gray; | ||
Line 17: | Line 18: | ||
float: left; | float: left; | ||
margin: 0 2.5em 1em 0; | margin: 0 2.5em 1em 0; | ||
+ | } | ||
+ | table.Infobox a { | ||
+ | color: inherrit; | ||
+ | } | ||
+ | table.Infobox a:hover { | ||
+ | color: inherrit; | ||
+ | } | ||
+ | table.Infobox a:visited { | ||
+ | color: inherrit; | ||
} | } | ||
Line 27: | Line 37: | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
− | table.Infobox .IBheader th div { | + | table.Infobox .IBheader th div, |
+ | table.Infobox .IBheader th span { | ||
color: white; | color: white; | ||
} | } | ||
Line 35: | Line 46: | ||
background-color: #527ACC; | background-color: #527ACC; | ||
text-align: center; | 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 { | ||
+ | } | ||
+ | table.Infobox .IBintro td .IBcaption { | ||
+ | font-style: italic; | ||
+ | margin: auto; | ||
+ | max-width: 300px; | ||
} | } | ||
Line 50: | Line 75: | ||
table.Infobox .IBinfo { | table.Infobox .IBinfo { | ||
background-color: #8FA3CC; | 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 { | table.Infobox .IBinfo .IBboth { | ||
Line 63: | Line 97: | ||
table.Infobox .IBinfo .IBrightC { | table.Infobox .IBinfo .IBrightC { | ||
text-align: center; | 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; | ||
} | } | ||
Line 68: | Line 134: | ||
table.Infobox .IBfooter { | table.Infobox .IBfooter { | ||
background-color: #AAAAAA; | 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 { | 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 | Infobox with auto-info | ||
**************************************************************************/ | **************************************************************************/ | ||
/**</pre></syntaxhighlight>*/ | /**</pre></syntaxhighlight>*/ |
Latest revision as of 04:15, 14 August 2012
/**
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>
*/