MediaWiki:Common.css: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
(Adding toclimit classes.)
Line 146: Line 146:
{
{
background: #e8e8e8;
background: #e8e8e8;
}

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul
{
display: none;
}
}

Revision as of 08:50, 5 March 2016

/** CSS placed here will be applied to all skins */

.text-right
{
	text-align: right !important;
}

.text-center
{
	text-align: center !important;
}

.text-left
{
	text-align: left !important;
}

.pull-right
{
	float: right;
}

.pull-left
{
	float: left;
}

.clearfix
{
	clear: both;
}

/*Alert Box Classes*/
.alert
{
	line-height: 1.0em;
	font-size: 1.0em;
	text-align: left;
	vertical-align: middle;
	border-collapse: collapse;
	margin: 1.0em 0 1.0em 0;
	padding: 0.5em;
	overflow: auto;
	clear: both;
}

.alert-urgent
{
	color: #131313;
	background: #B7B59C;
	border: 1px #000 solid;
}

.alert-urgent strong
{
	color: #060606;
}

.alert-info
{
	color: #131313;
	background: #EEE;
	border: 1px #CCC solid;
}

.alert-info strong
{
	color: #060606;
}

.alert-warning
{
	color: #8a6d3b;
	background: #fcf8e3;
	border: 1px #faebcc solid;
}

.alert-warning strong
{
	color: #9a5d2b;
}

.alert-danger
{
	color: #a94442;
	background: #f2dede;
	border: 1px #ebccd1 solid;
}

.alert-danger strong
{
	color: #ce3335;
}

.alert-icon
{
	padding-left: 10px;
	padding-right: 10px;
}

/*Staff Profile Box Classes*/
.staff-profile-box
{
	width: 22em; 
	margin: 10px 1px 10px 10px; 
	clear: both; 
	background:#C7C5AC; 
}

.staff-profile-box .inner-table
{
	border: 2px #aaa solid;
	width: 100%;
	font-size: 95%;
	text-align: left;
}

.staff-profile-box .inner-table .name
{
	white-space: nowrap;
	background-color: #003471;
	color: #EFEFDE;
	font-size: larger;
	text-align: center;
}

.staff-profile-box .inner-table .image
{
	white-space: nowrap;
	text-align: center;
}

.staff-profile-box .inner-table .caption
{
	white-space: nowrap;
	font-size: smaller;
	text-align: center;
}

table.alternating tr:nth-child(even) td
{
	background: #efefef;
}

table.hover tr:hover td
{
	background: #e8e8e8;
}

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul
{
	display: none;
}