Difference between revisions of "Template:Infobox/Stylesheet.css"
From Salem Wiki
(Initial setup) |
m |
||
Line 17: | Line 17: | ||
float: left; | float: left; | ||
margin: 0 2.5em 1em 0; | margin: 0 2.5em 1em 0; | ||
+ | } | ||
+ | |||
+ | /* Header: Item-name */ | ||
+ | table.Infobox .IBheader { | ||
+ | background-color: #3366CC; | ||
+ | } | ||
+ | table.Infobox th.IBheader { | ||
+ | font-size: 150%; | ||
+ | padding: 0.5em; | ||
+ | } | ||
+ | table.Infobox th.IBheader div { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | /* Intro: icon, caption and fullview */ | ||
+ | table.Infobox .IBintro { | ||
+ | background-color: #527ACC; | ||
+ | text-align: center; | ||
+ | } | ||
+ | table.Infobox td.IBintro { | ||
+ | } | ||
+ | |||
+ | /* Info: info rows */ | ||
+ | table.Infobox .IBinfo { | ||
+ | background-color: #8FA3CC; | ||
+ | } | ||
+ | table.Infobox .IBinfo .IBleft{ | ||
+ | font-weight: bold; | ||
+ | text-align: right; | ||
+ | } | ||
+ | table.Infobox .IBinfo .IBright{ | ||
+ | text-align: left; | ||
} | } | ||
/* | /* |
Revision as of 02:29, 9 July 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: 89%;
color: black;
background-color: gray;
border: 5px solid #3366CC;
border-radius: 20px 20px 20px 20px;
float: left;
margin: 0 2.5em 1em 0;
}
/* Header: Item-name */
table.Infobox .IBheader {
background-color: #3366CC;
}
table.Infobox th.IBheader {
font-size: 150%;
padding: 0.5em;
}
table.Infobox th.IBheader div {
color: white;
}
/* Intro: icon, caption and fullview */
table.Infobox .IBintro {
background-color: #527ACC;
text-align: center;
}
table.Infobox td.IBintro {
}
/* Info: info rows */
table.Infobox .IBinfo {
background-color: #8FA3CC;
}
table.Infobox .IBinfo .IBleft{
font-weight: bold;
text-align: right;
}
table.Infobox .IBinfo .IBright{
text-align: left;
}
/*
Infobox with auto-info
**************************************************************************/
/**</pre>
*/