Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
(Change map plugin to use IDs makes it easier to custise)
Line 25: Line 25:
 
/* Map CSS settings */
 
/* Map CSS settings */
  
div.map_key
+
#map_key
 
{
 
{
 
margin-top:10px;
 
margin-top:10px;
Line 34: Line 34:
 
}
 
}
  
div.map_layout_right
+
#map_key ul.map_key
 +
{
 +
list-style-type: none;
 +
}
 +
 
 +
#map_key li.map_key
 +
{
 +
list-style-type: none;
 +
}
 +
 
 +
#map_layout_right
 
{
 
{
 
float:right;
 
float:right;
Line 43: Line 53:
 
}
 
}
  
div.map_layout_world
+
#map_layout_world
 
{
 
{
 
align:center;
 
align:center;
Line 49: Line 59:
 
border:1px solid #00446A;
 
border:1px solid #00446A;
 
background-color:#1A2424;
 
background-color:#1A2424;
}
 
 
ul.map_key
 
{
 
list-style-type: none;
 
}
 
 
li.map_key
 
{
 
list-style-type: none;
 
 
}
 
}

Revision as of 20:30, 17 May 2008

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

/** Fix for Special:Allmessages page so the text can be seen */

#allmessagestable tr.def
{
background-color: #333333;
}

#allmessagestable tr.orig
{
background-color: #222222;
}

#allmessagestable tr.new
{
background-color: #555555;
}

#allmessagestable th
{
background-color:#00446a;
}

/* Map CSS settings */

#map_key
{
margin-top:10px;
padding:5px;
border:1px solid #00446A;
background-color:#040404;
width:250px;
}

#map_key ul.map_key
{
list-style-type: none;
}

#map_key li.map_key
{
list-style-type: none;
}

#map_layout_right
{
float:right;
padding:10px;
border:1px solid #00446A;
background-color:#1A2424;
margin-left:5px;
}

#map_layout_world
{
align:center;
padding:10px;
border:1px solid #00446A;
background-color:#1A2424;
}