Difference between revisions of "MediaWiki:Common.css"

From Discovery Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
 
/** CSS placed here will be applied to all skins */
 
/** CSS placed here will be applied to all skins */
 +
 +
div#globalWrapper { background: transparent; }
  
 
.collapseButton {        /* 'show'/'hide' buttons created dynamically by the        */
 
.collapseButton {        /* 'show'/'hide' buttons created dynamically by the        */

Latest revision as of 02:33, 8 July 2018

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

div#globalWrapper { background: transparent; }

.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;
}

.infoboxtoc .toc {	 
	border: 0px !important;	 
	background-color: transparent !important;	 
	width: 100% !important;	 
	margin: 0px !important;	 
	font-size: 1em !important;	 
}	 
		 
.infoboxtoc .toc #toctitle {	 
	display: none !important;	 
}

/** System map CSS */

.systemmap { width: 400px; height: 468px; background: #171a2f; border: 2px solid #275382; position: relative; }
.systemmap > div.name { font: bold 24px "Agency FB"; text-align: center; }
.systemmap > div.legend { position: absolute; top: 448px; left: 331px; width: 70px; height: 20px; overflow: hidden; }
.systemmap > div.legend > div { background: #1b1f42; border-style: solid; border-color: #275382; border-width: 1px 1px 0px 1px; }
.systemmap > div.legend:hover { overflow: visible; width: 350px; left: 51px; }
.systemmap > div.legend:hover > div { background: #1b1f42; border-width: 1px; }
.systemmap > div.legend > div > div { font: bold 14px Tahoma; color: #dddddd; text-align: right; border-bottom: 1px solid #275382; padding-bottom: 2px; }
.systemmap > div.legend ul { color: #628ba5; list-style: none inside; padding: 8px; margin: 0px; }
.systemmap > div.legend li { float: left; width: 50%; font: italic 11px Tahoma; }
.systemmap > div.legend img { vertical-align: middle; }
.systemmap > table { width: 390px; height: 408px; position: absolute; top: 35px; left: 5px; }
.systemmap > table { border-collapse: collapse; z-index: 99; }
.systemmap > table td { border: 1px solid #232a67; width: 47px; height: 47px; }
.systemmap > table td.a { width: 14px; height: 14px; }
.systemmap > table td.c { width: 47px; height: 14px; }
.systemmap > table td.r { width: 14px; height: 47px; }
.systemmap > table td.a, .systemmap > table td.c, .systemmap > table td.r { border: 0; font: bold 9px Tahoma; color: #275382; text-align: center; vertical-align: middle; }
.systemmap > div.objects { width: 376px; height: 394px; position: absolute; top: 49px; left: 19px; z-index: 100; overflow: hidden; }
.systemmap > div.objects > div { position: absolute; font: 9px Tahoma; }
.systemmap > div.objects > div > img { display: block; }
.systemmap > div.objects > div > div { position: absolute; text-align: center; }

.systemmap > div.objects > div.base {  }
.systemmap > div.objects > div.planet { font-style: italic; }
.systemmap > div.objects > div.planet_dockable {  }
.systemmap > div.objects > div.asteroid {  }
.systemmap > div.objects > div.sun { font-style: italic; }
.systemmap > div.objects > div.jumphole { font-style: italic; }
.systemmap > div.objects > div.jumpgate { font-style: italic; }

.systemmap > div.objects > div.text_left > div { left: -85px; text-align: right; width: 80px; }
.systemmap > div.objects > div.text_right > div { right: -85px; text-align: left; width: 80px; }

.systemmap > div.objects > div.small { width: 10px; height: 10px; font-size: 9px; }
.systemmap > div.objects > div.medium { width: 15px; height: 15px; font-size: 11px; }
.systemmap > div.objects > div.big { width: 20px; height: 20px; font-size: 12px; }