MediaWiki:Common.css

From Neocron Wiki
Revision as of 19:20, 2 July 2008 by Brammers (talk | contribs) (New API style for documentation)
Jump to: navigation, 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 / 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 */

/** 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: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_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:820px;
}

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

code
{
        background-color:#202020;
}

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