Difference between revisions of "MediaWiki:Common.css"

From SacredWiki
Jump to navigation Jump to search
m
(Removed padding control over the Sacred table so that editors can have better control over the height of table cells/rows)
Line 38: Line 38:
 
table.sacred > * > tr > td {
 
table.sacred > * > tr > td {
 
border: none;
 
border: none;
padding: 0.2em;
 
 
}
 
}
 
table.sacred tr:nth-child(even) {
 
table.sacred tr:nth-child(even) {

Revision as of 14:16, 9 October 2013

/* CSS placed here will be applied to all skins */
.wrapper {display:table;margin:6px 6px 0;}
.frame {background:url(images/thumbframe/item_tbar0.gif) repeat-x top left;}
.corner {width:35px;height:15px;margin:-4px;position:absolute;
    background:url("images/thumbframe/item_brc.gif") no-repeat scroll 0 0 transparent;}
.ctl {top:0;left:0;-webkit-transform:scaleX(-1) scaleY(-1);-moz-transform:scaleX(-1) scaleY(-1);
    -o-transform:scaleX(-1) scaleY(-1);transform:scaleX(-1) scaleY(-1);filter:fliph flipv;}
.ctr {top:0;right:0;-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);
    -o-transform:scaleY(-1);transform:scaleY(-1);filter:flipv;}
.cbl {bottom:0;left:0;-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);
    -o-transform:scaleX(-1);transform:scaleX(-1);filter:fliph;}
.cbr {bottom:0;right:0;}
.frame_right {padding:6px;position:relative;}
.frame_bot {background:url(images/thumbframe/item_bbar0.gif) repeat-x bottom left;}
.frame_left {background:url(images/thumbframe/item_lbar.gif) repeat-y top left;}
.frame_right {background:url(images/thumbframe/item_rbar.gif) repeat-y top right;}
#siteNotice {
    background: none repeat scroll 0 0 #95FF8F;
    border: 2px solid #C2A170;
    border-radius: 19px 19px 19px 19px;
    box-shadow: 2px 2px 10px #C2A170;
    font-size: medium;
    padding: 0 10px;
    width: 800px;
    margin: auto;
}

table.sacred {
	margin: auto;
	background-color: none;
	border: 2px #CDB581 solid;
	border-collapse: collapse;
	color: black;
}
table.sacred > tr > th,
table.sacred > tr > td,
table.sacred > * > tr > th,
table.sacred > * > tr > td {
	border: none;
}
table.sacred tr:nth-child(even) {
    background-color: #FFEECA;
}
table.sacred > tr > th,
table.sacred > * > tr > th {
	background-color: #CDB581;
	text-align: left;
}
table.sacred > caption {
	font-weight: bold;
}