Difference between revisions of "MediaWiki:Geshi.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 12: Line 12:
 
   margin: 1em 0;  
 
   margin: 1em 0;  
 
   border: 0px dashed darkgrey;
 
   border: 0px dashed darkgrey;
   background-color: rgba(0, 0, 0, 0.5);
+
   background-color: rgba(0, 0, 0, 0.4);
 
   /*border-radius: 10px;*/
 
   /*border-radius: 10px;*/
  

Revision as of 11:54, 22 September 2014

/* Fix so <source> tags get normal text size also in some
   versions of Firefox, Safari, Konqueror, Chrome etc.
   See http://en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Section_break._Teletype_style_fix */
 
div.mw-geshi div {
    font-family: monospace, vrinda !important;
    font-size: 14px;
}

div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 0px dashed darkgrey;
  background-color: rgba(0, 0, 0, 0.4);
  /*border-radius: 10px;*/

 -webkit-box-shadow: inset 0px 1px 5px 0px rgba(50, 50, 50, 0.75);
 -moz-box-shadow:    inset 0px 1px 5px 0px rgba(50, 50, 50, 0.75);
 box-shadow:         inset 0px 1px 5px 0px rgba(50, 50, 50, 0.75);
}
 
#content div.mw-geshi pre {
    font-family: monospace, vrinda;
    font-size: 14px;
}

/*.mw-geshi {
	padding: 3px 7px 3px 7px;
	background-color: #e5f1fa;
	border: 1px solid #d5e3ee;
	border-radius: 3px;
}*/

/* GESHI */

.lua {
	font-family: monospace;
	list-style-type: decimal;
	list-style-position: outside;
	font-size: 12px;
}
.lua .li1 {
	color: #0d8bca;
	border-left: 1px solid #d1d9fd;
	background: #f1f9fd;
}

.lua .de1 {
	font-family: monospace;
	color: #333;
	margin: 0 0 0 0;
}

.lua .kw1 { 
	color: #0d8bca;
	font-weight: bold;
}

.lua .co1, .lua .coMULTI { 
	color: #888;
	font-weight: normal;
}

.lua .nu0 { 
	color: red;
}

.lua .sy0 { 
	color: #555;
}

.lua .st0 { 
	color: #008000;
}

.lua .br0 { 
	color: #555;
}