Difference between revisions of "MediaWiki:Common.css"

From EntropiaPlanets Wiki - Entropia Universe Guides Wiki Info
m
m
Line 189: Line 189:


/* even and odd in tables*/
/* even and odd in tables*/
.row-even {background-color:#f2f2f2; }
.row-even {background-color:#f5f5f5; }
.row-odd {background-color:#f4f4f4; }
.row-odd {background-color:#f9f9f9; }

Revision as of 17:28, 1 February 2012

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

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the */         
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised. */               
	text-align: right;
	width: auto;
}


/***** 7. WIKITABLES, INFOBOX TEMPLATES, WARNINGS AND OTHER SUCH STYLINGS *****/
/* Wikitable (collapsible) class for skinning normal tables */

.collapsible { border: 0px solid black; }
.collapsible th, .collapsible td { border: 0px solid black; }

/* Set colours for all header cells in the top row */   
.collapsible th[scope=col] { color: Black; background-color: #C0C0C0; font-size: 1.2em; font-style: bold;}

.collapsible th[scope=row] { color: black; background-color: #E6E6E6; }

.collapsible th[scope=row]
{
font-size: 1em;
font-weight: normal;

}

/*--------------------------------------------------|
| dTree 2.05 |   
www.destroydrop.com/javascript/tree/
 |  
|---------------------------------------------------|
| Copyright (c) 2002-2003 Geir Landr?               |
|--------------------------------------------------*/
 
.dtree {
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #666;
        white-space: nowrap;
}
.dtree img {
        border: 0px;
        vertical-align: middle;
}
.dtree a {
        color: #333;
        text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
        white-space: nowrap;
        padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
        color: #333;
        text-decoration: underline;
}
.dtree a.nodeSel {
        background-color: #c0d2ec;
}
.dtree .clip {
        overflow: hidden;
}

/*
* Dynamic menus
*/
.dmenu { width: 180px }
 
.dmenu, .dmenu ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
}
.dmenu .selflink { font-weight: normal; }
 
.dmenu li { /* all list items */
position: relative;
float: left;
width: 172px;
padding: 4px;
z-index: 100;
}
 
.dmenu li,
.dmenu li.even a,
.dmenu li.odd a,
.dmenu li li,
.dmenu li li a,
.dmenu li li li,
.dmenu li li li a {
color : black;
}
 
.dmenu li li { margin: 0; }
 
.dmenu li ul { /* second-level lists */
position: absolute;
left: -999em;
z-index: 101;
border: 1px solid #ccc;
}
 
.dmenu li ul ul { /* third-and-above-level lists */
position: absolute;
left: -999em;
margin: 0 0 0 0;
z-index: 102;
}
 
.dmenu li.odd .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-lt.png) 0 3px no-repeat;
}
.dmenu li.even .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-dk.png) 0 3px no-repeat;
}
.dmenu li.odd {
 background: #E9EDF4;
 border: 2px solid #E9EDF4;
}
.dmenu li.even {
 background: #D0D8E8;
 border: 2px solid #D0D8E8;
}
 
.dmenu li:hover, .dmenu li.sfhover {
 border: 2px solid #385D8A;
}
 
.dmenu li:hover ul ul,
.dmenu li:hover ul ul ul,
.dmenu li.sfhover ul ul,
.dmenu li.sfhover ul ul ul {
left: -999em;
}
 
.dmenu li:hover ul,
.dmenu li li:hover ul,
.dmenu li li li:hover ul,
.dmenu li.sfhover ul,
.dmenu li li.sfhover ul,
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */
left: 182px;
top: -3px;
}

#footer-icon-poweredby { display: none; }

/*********** Rightbox ***********/
.rightbox {
   border-top:1px solid LightGrey;
   border-left:1px solid LightGrey;
   border-bottom:1px solid LightGrey;
}

/*********** Portal:Planet Cyrene ***********/
.portalcyrene {
   background-image:url(http://www.entropiaplanets.com/w/images/f/f8/Planet_Cyrene_Merfolken_Header.png);
   background-position:50%
}
.Planet_Cyrene.rightbox {
   border-top:1px solid DeepSkyBlue;
   border-left:1px solid DeepSkyBlue;
   border-bottom:1px solid DeepSkyBlue;
}
.Planet_Cyrene.leftbox {
   border-top:1px solid DeepSkyBlue;
   border-right:1px solid DeepSkyBlue;
   border-bottom:1px solid DeepSkyBlue;
}


/*********** EntropiaPlanets Forums ***********/
table.EntropiaPlanetsForums { border: 1px solid LightGrey; border-collapse:collapse; }
table.EntropiaPlanetsForums th { border: 1px solid black; }
table.EntropiaPlanetsForums td { border: 1px solid black; }

/*********** tighttable ***********/
table.tighttable { padding:0px; }
table.tighttable th { padding:0px; }
table.tighttable td { padding:0px; font-size:0.9em; }

/* even and odd in tables*/
.row-even {background-color:#f5f5f5; }
.row-odd {background-color:#f9f9f9; }