MediaWiki:Gadget-ajaxPreview.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* CSS syntax highlighting */
#wikiPreview .source-css {line-height: normal;}
#wikiPreview .source-css li, .source-css pre {line-height: normal; border: 0px none white;}
#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;}
#wikiPreview .css.source-css {font-family:monospace;}
#wikiPreview .css.source-css .imp {font-weight: bold; color: red;}
#wikiPreview .css.source-css li, .css.source-css .li1 {font-weight: normal; vertical-align:top;}
#wikiPreview .css.source-css .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
#wikiPreview .css.source-css .li2 {font-weight: bold; vertical-align:top;}
#wikiPreview .css.source-css .kw1 {color: #000000; font-weight: bold;}
#wikiPreview .css.source-css .kw2 {color: #993333;}
#wikiPreview .css.source-css .co1 {color: #a1a100;}
#wikiPreview .css.source-css .co2 {color: #ff0000; font-style: italic;}
#wikiPreview .css.source-css .coMULTI {color: #808080; font-style: italic;}
#wikiPreview .css.source-css .es0 {color: #000099; font-weight: bold;}
#wikiPreview .css.source-css .br0 {color: #00AA00;}
#wikiPreview .css.source-css .sy0 {color: #00AA00;}
#wikiPreview .css.source-css .st0 {color: #ff0000;}
#wikiPreview .css.source-css .nu0 {color: #cc66cc;}
#wikiPreview .css.source-css .re0 {color: #cc00cc;}
#wikiPreview .css.source-css .re1 {color: #6666ff;}
#wikiPreview .css.source-css .re2 {color: #3333ff;}
#wikiPreview .css.source-css .re3 {color: #933;}
#wikiPreview .css.source-css .ln-xtra, .css.source-css li.ln-xtra, .css.source-css div.ln-xtra {background-color: #ffc;}
#wikiPreview .css.source-css span.xtra { display:block; }
/* JavaScript syntax highlighting */
#wikiPreview .source-javascript {line-height: normal;}
#wikiPreview .source-javascript li, .source-javascript pre { line-height: normal; border: 0px none white;}
#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;}
#wikiPreview .javascript.source-javascript {font-family:monospace;}
#wikiPreview .javascript.source-javascript .imp {font-weight: bold; color: red;}
#wikiPreview .javascript.source-javascript li, .javascript.source-javascript .li1 {font-weight: normal; vertical-align:top;}
#wikiPreview .javascript.source-javascript .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
#wikiPreview .javascript.source-javascript .li2 {font-weight: bold; vertical-align:top;}
#wikiPreview .javascript.source-javascript .kw1 {color: #000066; font-weight: bold;}
#wikiPreview .javascript.source-javascript .kw2 {color: #003366; font-weight: bold;}
#wikiPreview .javascript.source-javascript .kw3 {color: #000066;}
#wikiPreview .javascript.source-javascript .co1 {color: #006600; font-style: italic;}
#wikiPreview .javascript.source-javascript .co2 {color: #009966; font-style: italic;}
#wikiPreview .javascript.source-javascript .coMULTI {color: #006600; font-style: italic;}
#wikiPreview .javascript.source-javascript .es0 {color: #000099; font-weight: bold;}
#wikiPreview .javascript.source-javascript .br0 {color: #009900;}
#wikiPreview .javascript.source-javascript .sy0 {color: #339933;}
#wikiPreview .javascript.source-javascript .st0 {color: #3366CC;}
#wikiPreview .javascript.source-javascript .nu0 {color: #CC0000;}
#wikiPreview .javascript.source-javascript .me1 {color: #660066;}
#wikiPreview .javascript.source-javascript .ln-xtra, .javascript.source-javascript li.ln-xtra, .javascript.source-javascript div.ln-xtra {background-color: #ffc;}
#wikiPreview .javascript.source-javascript span.xtra { display:block; }
/* Container styling */
#wikiPreview div.mw-geshi {
background-color: #F9F9F9;
border: 1px dashed #2F6FAB;
padding: 1em;
}