Difference between revisions of "MediaWiki:Geshi.css"
From The Official Visionaire Studio: Adventure Game Engine Wiki
Line 55: | Line 55: | ||
} | } | ||
− | .lua .de1 { | + | /*.lua .de1 { |
font-family: monospace; | font-family: monospace; | ||
color: #333; | color: #333; | ||
Line 85: | Line 85: | ||
.lua .br0 { | .lua .br0 { | ||
color: #555; | 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; | ||
} | } |
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;
}