MediaWiki:Common.css

From SacredWiki
Revision as of 14:16, 9 October 2013 by Schot (talk | contribs) (Removed padding control over the Sacred table so that editors can have better control over the height of table cells/rows)
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}