Difference between revisions of "MediaWiki:Common.css"

From Neocron Wiki
Jump to: navigation, search
(Moved CSS around a little)
(Removed old CSS that I forgot about - tweaked the CSS for the map)
Line 70: Line 70:
 
background-color:#1A2424;
 
background-color:#1A2424;
 
display: block;
 
display: block;
width:820px;
+
width:810px;
 
}
 
}
  
Line 125: Line 125:
 
background-color:#FFFFFF;
 
background-color:#FFFFFF;
 
padding:5px;
 
padding:5px;
}
 
 
/** 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;
 
 
}
 
}

Revision as of 21:43, 4 December 2008

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

/* Map CSS settings */

#map_key
{
	margin-top:20px;
	margin-bottom:5px;
	margin-left:0px;
	padding:5px;
	border:1px solid #00446A;
	background-color:#040404;
	width:250px;
	text-align:left;


}

#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
{
	padding:10px;
	border:1px solid #00446A;
	background-color:#1A2424;
	width:100%;
	display: block;
}

#map_layout_rpos
{
	padding:10px;
	border:1px solid #00446A;
	background-color:#1A2424;
	width:100%;
	display: block;
}

#map_layout_example
{
	padding:10px;
	border:1px solid #00446A;
	background-color:#1A2424;
	/* float:right; */
	display: block;
	width:270px;
}

#map_layout_cyberdyne
{
	padding:10px;
	border:1px solid #00446A;
	background-color:#1A2424;
	display: block;
	width:810px;
}

/* Custom Template CSS commands */

.dablink 
{
        font-style:italic;
        padding-left:2em;
}

.template-documentation 
{
        /*background-color:#ECFCF4;*/
        background-color:#101010;
        border:1px solid #FF9933;
        clear:both;
        margin:1em 0pt 0pt;
        padding:5px;
}

/* Api documentation class for API documentation */

.api-documentation 
{
        background-color:#202020;
        border:1px solid #00446a;
        clear:both;
        margin:1em 0pt 0pt;
        padding:5px;
}

/** Main CSS Fixes - These are to be removed after the 1.13.2 upgrade */

code
{
        background-color:#202020;
}

pre 
{
        background-color:#202020;
        border:1px dashed #2F6FAB;
        color:white;
        line-height:1.1em;
        padding:1em;
}

/** Fix for Tex backgroug colour */

img.tex
{
	border:1px solid #00446A;
	background-color:#FFFFFF;
	padding:5px;
}