MediaWiki:Common.css

From Dungeon Monsters

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


td.Fire {
    background-color: rgba(255, 0, 0, 0.2);
}
td.Light {
    background-color: rgba(255, 255, 0, 0.5);
}
td.Shadow {
    background-color: rgba(183, 0, 255, 0.5);
}
td.Water {
    background-color: rgba(40,178, 247,0.5);
}
td.Wood {
    background-color: rgba(0, 255, 0, 0.5);
}

.i18ndoc {
    background-color: #FFF77D;
    border-bottom: 1px solid lightgrey;
    font-family: monospace;
    font-size: 8pt;
    height: 140px;
    overflow: auto;
    padding: 3px;
}
 
.roundborder {
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}
.roundborderleft {
    -webkit-border-top-left-radius: 20px;
    -webkit-border-bottom-left-radius: 20px;
    -moz-border-radius-topleft: 20px;
    -moz-border-radius-bottomleft: 20px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}
 
.roundborderright {
    -webkit-border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-radius-topright: 20px;
    -moz-border-radius-bottomright: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;    
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    border-left: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
}

/* JS Tab System, Jacked and Hacked from the jsprefs in monobook/main.css -Dantman */
.tabtoc {
	margin: 0;
	padding: 0;
	width: 100%;
	clear: both;
}
 
.tabtoc li {
	background-color: #f0f0f0;
	color: #000;
}
 
.tabtoc li {
	margin: 1px -2px 1px 2px;
	float: left;
	padding: 2px 0 3px 0;
	border: 1px solid #fff;
	border-right-color: #716f64;
	border-bottom: 0;
	position: relative;
	white-space: nowrap;
	list-style-type: none;
	list-style-image: none;
	z-index: 3;
}
 
.tabtoc li.selected {
	font-weight: bold;
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	border-bottom: none;
	cursor: default;
	top: 1px;
	padding-top: 2px;
	margin-right: -3px;
}
 
.tabtoc > li.selected {
	top: 2px;
}
 
.tabtoc a,
.tabtoc a:active {
	display: block;
	color: #000;
	padding: 0 .7em;
	position: relative;
	text-decoration: none;
}
 
.tabtoc li.selected a {
	cursor: default;
	text-decoration: none;
}
 
.tabcontainer {
	margin: 0;
	border: 1px solid #aaa;
	clear: both;
	padding: 1.5em;
	background-color: #F9F9F9;
}
 
 
.tabsection {
	border: none;
	padding: 0;
	margin: 0;
}
 
.tabsection .tabbox {
	border: 1px solid #aaa;
	float: left;
	margin-right: 2em;
}
 
.tabsection .tab {
	font-weight: bold;
}
 
.tabsection table, .tabsection .tab {
	background-color: #F9F9F9;
}
 
.mainTab {
	display: none;
}


#startabber_lang2 ul.tabtoc li a {
     padding-left: 30px;
}
#startabber_lang2 ul.tabtoc  li:nth-of-type(1) a { background: transparent url("http://images.shoutwiki.com/dmrpg/c/ce/Britain_16.png") no-repeat scroll 5px / 15px; }
#startabber_lang2 ul.tabtoc li:nth-of-type(2) a { background: transparent url("http://images.shoutwiki.com/dmrpg/2/25/France_16.png") no-repeat scroll 5px / 15px; }
#startabber_lang2 ul.tabtoc li:nth-of-type(3) a { background: transparent url("http://images.shoutwiki.com/dmrpg/3/35/GERM0001_16.png") no-repeat scroll 5px / 15px; }
#startabber_lang2 ul.tabtoc li:nth-of-type(4) a { background: transparent url("http://images.shoutwiki.com/dmrpg/d/db/Italy_16.png") no-repeat scroll 5px / 15px; }
#startabber_lang2 ul.tabtoc li:nth-of-type(5) a { background: transparent url("http://images.shoutwiki.com/dmrpg/4/46/Spain_16.png") no-repeat scroll 5px / 15px; }