Difference between revisions of "Template:Infobox/Stylesheet.css"
From Salem Wiki
m |
m |
||
Line 23: | Line 23: | ||
background-color: #3366CC; | background-color: #3366CC; | ||
} | } | ||
− | table.Infobox | + | table.Infobox .IBheader th { |
font-size: 150%; | font-size: 150%; | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
− | table.Infobox | + | table.Infobox .IBheader th div { |
color: white; | color: white; | ||
} | } | ||
Line 36: | Line 36: | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | table.Infobox | + | table.Infobox .IBintro td { |
} | } | ||
Revision as of 02:41, 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 .IBheader th {
font-size: 150%;
padding: 0.5em;
}
table.Infobox .IBheader th div {
color: white;
}
/* Intro: icon, caption and fullview */
table.Infobox .IBintro {
background-color: #527ACC;
text-align: center;
}
table.Infobox .IBintro td {
}
/* 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>
*/