Difference between revisions of "MediaWiki:Geshi.css"

From The Official Visionaire Studio: Adventure Game Engine Wiki
 
(52 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
div.mw-geshi div {
 
div.mw-geshi div {
 
     font-family: monospace, vrinda !important;
 
     font-family: monospace, vrinda !important;
     font-size: 15px;
+
     font-size: 14px;
 +
}
 +
 
 +
div.mw-geshi {
 +
  padding: 1em;
 +
  margin: 1em 0;
 +
  border: 0px dashed darkgrey;
 +
  background-color: rgba(255, 255, 255, 0.9);
 +
  /*border-radius: 10px;*/
 +
 
 +
-webkit-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);
 +
-moz-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);
 +
box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);
 +
 
 +
/*
 +
-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 {
 
#content div.mw-geshi pre {
 
     font-family: monospace, vrinda;
 
     font-family: monospace, vrinda;
     font-size: 15px;
+
     font-size: 14px;
 +
}
 +
 
 +
/*.mw-geshi {
 +
padding: 3px 7px 3px 7px;
 +
background-color: #e5f1fa;
 +
border: 1px solid #d5e3ee;
 +
border-radius: 3px;
 +
}*/
 +
 
 +
/*.mw-geshi { background-color: rgba(0, 0, 0, 0.25) !important; }*/
 +
 
 +
/* GESHI */
 +
 
 +
.lua {
 +
font-family: monospace;
 +
list-style-type: decimal;
 +
list-style-position: outside;
 +
font-size: 12px;
 +
        /*font-color: white;*/
 +
}
 +
.lua .li1 {
 +
color: #0d8bca;
 +
border-left: 1px solid #d1d9fd;
 +
background: #f1f9fd;
 
}
 
}
  
/* lua */
+
/*.lua .de1 {
.lua.source-lua .de1, .lua.source-lua .de2 {
+
font-family: monospace;
    color: #333;
+
color: #333;
    margin: 0 0 0 0;
+
margin: 0 0 0 0;
    font-family: monospace, vrinda !important;
+
}
    font-size: 14px;
+
 
 +
.lua .kw1 {
 +
color: #0d8bca;
 +
font-weight: bold;
 +
}
 +
 
 +
.lua .co1, .lua .coMULTI {
 +
color: #888;
 +
font-weight: normal;
 +
}
 +
 
 +
.lua .nu0 {
 +
color: red;
 
}
 
}
.lua.source-lua {
+
 
    list-style-type: decimal;
+
.lua .sy0 {  
    list-style-position: outside;
+
color: #555;
    font-family: monospace, vrinda !important;
 
    font-size: 15px;
 
 
}
 
}
.lua.source-lua .li1, .lua.source-lua .li2  {
+
 
    color: orange;
+
.lua .st0 {  
    border-left: 1px solid darkgrey;
+
color: #008000;
    background: #f0f0f0;
 
 
}
 
}
.lua.source-lua .kw1 {  
+
 
    color: #0d8bca;
+
.lua .br0 {
    font-weight: bold;
+
color: #555;
 +
}*/
 +
 
 +
.lua .de1 {
 +
font-family: monospace;
 +
color: #fd971f;
 +
margin: 0 0 0 0;
 
}
 
}
+
 
.lua.source-lua .co1, .lua.source-lua .coMULTI {  
+
.lua .kw1 {
    color: #888;
+
color: #f92672;
    font-weight: normal;
+
font-weight: bold;
 +
}
 +
 
 +
.lua .co1, .lua .coMULTI {  
 +
color: #75715e;
 +
font-weight: normal;
 
}
 
}
+
 
.lua.source-lua .nu0 {  
+
.lua .nu0 {  
    color: red;
+
color: #ae81ff;
 
}
 
}
+
 
.lua.source-lua .sy0 {  
+
.lua .sy0 {  
    color: #555;
+
color: #a6e22e;
 
}
 
}
+
 
.lua.source-lua .st0 {  
+
.lua .st0 {  
    color: #008000;
+
color: #e6db74;
 
}
 
}
+
 
.lua.source-lua .br0 {  
+
.lua .br0 {  
    /*color: #555;*/
+
color: #f8f8f2;
    color: blue;
 
 
}
 
}

Latest revision as of 21:06, 9 October 2022

/* 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(255, 255, 255, 0.9);
  /*border-radius: 10px;*/

-webkit-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);
-moz-box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);
box-shadow: inset 0px 0px 3px 1px rgba(0,0,0,0.35);

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

/*.mw-geshi { background-color: rgba(0, 0, 0, 0.25) !important; }*/

/* GESHI */

.lua {
	font-family: monospace;
	list-style-type: decimal;
	list-style-position: outside;
	font-size: 12px;
        /*font-color: white;*/
}
.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;
}*/

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

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

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

.lua .nu0 { 
	color: #ae81ff;
}

.lua .sy0 { 
	color: #a6e22e;
}

.lua .st0 { 
	color: #e6db74;
}

.lua .br0 { 
	color: #f8f8f2;
}