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: 1px dashed darkgrey; | border: 1px dashed darkgrey; | ||
− | + | background-color: #f0f0f0; | |
background-color: #cccccc; | background-color: #cccccc; | ||
} | } | ||
Line 19: | Line 19: | ||
font-family: monospace, vrinda; | font-family: monospace, vrinda; | ||
font-size: 14px; | 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; | ||
} | } |
Revision as of 19:54, 18 August 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: 1px dashed darkgrey;
background-color: #f0f0f0;
background-color: #cccccc;
}
#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;
}