Difference between revisions of "Template:Infobox/Stylesheet.css"

From Salem Wiki
Jump to: navigation, search
m (changed fontsize to absolute value, to prevent ever smaller fonts when embedded within another)
m (placeholders for link colors)
Line 17: Line 17:
 
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 36: Line 45:
 
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 {
Line 44: Line 62:
 
max-width: 300px;
 
max-width: 300px;
 
}
 
}
 +
 
/* Separator */
 
/* Separator */
 
table.Infobox .IBsep {
 
table.Infobox .IBsep {
Line 55: Line 74:
 
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 73: Line 101:
 
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 {
Line 96: Line 133:
 
color: black;
 
color: black;
 
}
 
}
 +
 
/*
 
/*
 
Infobox with auto-info
 
Infobox with auto-info
 
**************************************************************************/
 
**************************************************************************/
 
/**</pre></syntaxhighlight>*/
 
/**</pre></syntaxhighlight>*/

Revision as of 06:54, 10 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: 11px;
	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;
}

/* 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>

*/