MediaWiki:Gadget-ajaxPreview.css

/* CSS syntax highlighting */
 * 1) wikiPreview .source-css {line-height: normal;}
 * 2) wikiPreview .source-css li, .source-css pre {line-height: normal; border: 0px none white;}
 * 3) wikiPreview .css.source-css .de1, .css.source-css .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
 * 4) wikiPreview .css.source-css {font-family:monospace;}
 * 5) wikiPreview .css.source-css .imp {font-weight: bold; color: red;}
 * 6) wikiPreview .css.source-css li, .css.source-css .li1 {font-weight: normal; vertical-align:top;}
 * 7) wikiPreview .css.source-css .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
 * 8) wikiPreview .css.source-css .li2 {font-weight: bold; vertical-align:top;}
 * 9) wikiPreview .css.source-css .kw1 {color: #000000; font-weight: bold;}
 * 10) wikiPreview .css.source-css .kw2 {color: #993333;}
 * 11) wikiPreview .css.source-css .co1 {color: #a1a100;}
 * 12) wikiPreview .css.source-css .co2 {color: #ff0000; font-style: italic;}
 * 13) wikiPreview .css.source-css .coMULTI {color: #808080; font-style: italic;}
 * 14) wikiPreview .css.source-css .es0 {color: #000099; font-weight: bold;}
 * 15) wikiPreview .css.source-css .br0 {color: #00AA00;}
 * 16) wikiPreview .css.source-css .sy0 {color: #00AA00;}
 * 17) wikiPreview .css.source-css .st0 {color: #ff0000;}
 * 18) wikiPreview .css.source-css .nu0 {color: #cc66cc;}
 * 19) wikiPreview .css.source-css .re0 {color: #cc00cc;}
 * 20) wikiPreview .css.source-css .re1 {color: #6666ff;}
 * 21) wikiPreview .css.source-css .re2 {color: #3333ff;}
 * 22) wikiPreview .css.source-css .re3 {color: #933;}
 * 23) wikiPreview .css.source-css .ln-xtra, .css.source-css li.ln-xtra, .css.source-css div.ln-xtra {background-color: #ffc;}
 * 24) wikiPreview .css.source-css span.xtra { display:block; }

/* JavaScript syntax highlighting */
 * 1) wikiPreview .source-javascript {line-height: normal;}
 * 2) wikiPreview .source-javascript li, .source-javascript pre {	line-height: normal; border: 0px none white;}
 * 3) wikiPreview .javascript.source-javascript .de1, .javascript.source-javascript .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
 * 4) wikiPreview .javascript.source-javascript {font-family:monospace;}
 * 5) wikiPreview .javascript.source-javascript .imp {font-weight: bold; color: red;}
 * 6) wikiPreview .javascript.source-javascript li, .javascript.source-javascript .li1 {font-weight: normal; vertical-align:top;}
 * 7) wikiPreview .javascript.source-javascript .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
 * 8) wikiPreview .javascript.source-javascript .li2 {font-weight: bold; vertical-align:top;}
 * 9) wikiPreview .javascript.source-javascript .kw1 {color: #000066; font-weight: bold;}
 * 10) wikiPreview .javascript.source-javascript .kw2 {color: #003366; font-weight: bold;}
 * 11) wikiPreview .javascript.source-javascript .kw3 {color: #000066;}
 * 12) wikiPreview .javascript.source-javascript .co1 {color: #006600; font-style: italic;}
 * 13) wikiPreview .javascript.source-javascript .co2 {color: #009966; font-style: italic;}
 * 14) wikiPreview .javascript.source-javascript .coMULTI {color: #006600; font-style: italic;}
 * 15) wikiPreview .javascript.source-javascript .es0 {color: #000099; font-weight: bold;}
 * 16) wikiPreview .javascript.source-javascript .br0 {color: #009900;}
 * 17) wikiPreview .javascript.source-javascript .sy0 {color: #339933;}
 * 18) wikiPreview .javascript.source-javascript .st0 {color: #3366CC;}
 * 19) wikiPreview .javascript.source-javascript .nu0 {color: #CC0000;}
 * 20) wikiPreview .javascript.source-javascript .me1 {color: #660066;}
 * 21) wikiPreview .javascript.source-javascript .ln-xtra, .javascript.source-javascript li.ln-xtra, .javascript.source-javascript div.ln-xtra {background-color: #ffc;}
 * 22) wikiPreview .javascript.source-javascript span.xtra { display:block; }

/* Container styling */ background-color: #F9F9F9; border: 1px dashed #2F6FAB; padding: 1em; }
 * 1) wikiPreview div.mw-geshi {