Difference between revisions of "MediaWiki:Geshi.css"
From VCMI Project Wiki
Line 5: | Line 5: | ||
padding: 1em; | padding: 1em; | ||
border: 1px dashed #2f6fab; | border: 1px dashed #2f6fab; | ||
− | color: | + | color: #E0E0E0; |
background-color: black; | background-color: black; | ||
line-height: 1.1em; | line-height: 1.1em; | ||
Line 29: | Line 29: | ||
.cpp.source-cpp .es4 {color: #660099; font-weight: bold;} | .cpp.source-cpp .es4 {color: #660099; font-weight: bold;} | ||
.cpp.source-cpp .es5 {color: #006699; font-weight: bold;} | .cpp.source-cpp .es5 {color: #006699; font-weight: bold;} | ||
− | .cpp.source-cpp .br0 {color: # | + | .cpp.source-cpp .br0 {color: #E0E0E0;} |
− | .cpp.source-cpp .sy0 {color: # | + | .cpp.source-cpp .sy0 {color: #E0E0E0;} |
− | .cpp.source-cpp .sy1 {color: # | + | .cpp.source-cpp .sy1 {color: #E0E0E0;} |
− | .cpp.source-cpp .sy2 {color: # | + | .cpp.source-cpp .sy2 {color: #E0E0E0;} |
− | .cpp.source-cpp .sy3 {color: # | + | .cpp.source-cpp .sy3 {color: #E0E0E0;} |
− | .cpp.source-cpp .sy4 {color: # | + | .cpp.source-cpp .sy4 {color: #E0E0E0;} |
.cpp.source-cpp .st0 {color: #60FF60;} | .cpp.source-cpp .st0 {color: #60FF60;} | ||
.cpp.source-cpp .nu0 {color: #0000dd;} | .cpp.source-cpp .nu0 {color: #0000dd;} | ||
Line 44: | Line 44: | ||
.cpp.source-cpp .nu18 {color:#800080;} | .cpp.source-cpp .nu18 {color:#800080;} | ||
.cpp.source-cpp .nu19 {color:#800080;} | .cpp.source-cpp .nu19 {color:#800080;} | ||
− | .cpp.source-cpp .me1 {color: # | + | .cpp.source-cpp .me1 {color: #E0E0E0;} |
− | .cpp.source-cpp .me2 {color: # | + | .cpp.source-cpp .me2 {color: #E0E0E0;} |
.cpp.source-cpp .ln-xtra, .cpp.source-cpp li.ln-xtra, .cpp.source-cpp div.ln-xtra {background-color: #ffc;} | .cpp.source-cpp .ln-xtra, .cpp.source-cpp li.ln-xtra, .cpp.source-cpp div.ln-xtra {background-color: #ffc;} | ||
.cpp.source-cpp span.xtra { display:block; } | .cpp.source-cpp span.xtra { display:block; } |
Revision as of 00:14, 14 December 2012
/* CSS placed here will be applied to GeSHi syntax highlighting */
div.mw-geshi {
font-family: Monaco, Consolas, Courier, 'Courier New', sans-serif;
padding: 1em;
border: 1px dashed #2f6fab;
color: #E0E0E0;
background-color: black;
line-height: 1.1em;
}
.cpp.source-cpp .de1, .cpp.source-cpp .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;}
.cpp.source-cpp {font-family:monospace;}
.cpp.source-cpp .imp {font-weight: bold; color: red;}
.cpp.source-cpp li, .cpp.source-cpp .li1 {font-weight: normal; vertical-align:top;}
.cpp.source-cpp .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;}
.cpp.source-cpp .li2 {font-weight: bold; vertical-align:top;}
.cpp.source-cpp .kw1 {color: #8080C0;}
.cpp.source-cpp .kw2 {color: #8080C0;}
.cpp.source-cpp .kw3 {color: #8080C0;}
.cpp.source-cpp .kw4 {color: #8080C0;}
.cpp.source-cpp .co1 {color: #666666;}
.cpp.source-cpp .co2 {color: #339900;}
.cpp.source-cpp .coMULTI {color: #ff0000; font-style: italic;}
.cpp.source-cpp .es0 {color: #000099; font-weight: bold;}
.cpp.source-cpp .es1 {color: #000099; font-weight: bold;}
.cpp.source-cpp .es2 {color: #660099; font-weight: bold;}
.cpp.source-cpp .es3 {color: #660099; font-weight: bold;}
.cpp.source-cpp .es4 {color: #660099; font-weight: bold;}
.cpp.source-cpp .es5 {color: #006699; font-weight: bold;}
.cpp.source-cpp .br0 {color: #E0E0E0;}
.cpp.source-cpp .sy0 {color: #E0E0E0;}
.cpp.source-cpp .sy1 {color: #E0E0E0;}
.cpp.source-cpp .sy2 {color: #E0E0E0;}
.cpp.source-cpp .sy3 {color: #E0E0E0;}
.cpp.source-cpp .sy4 {color: #E0E0E0;}
.cpp.source-cpp .st0 {color: #60FF60;}
.cpp.source-cpp .nu0 {color: #0000dd;}
.cpp.source-cpp .nu6 {color: #208080;}
.cpp.source-cpp .nu8 {color: #208080;}
.cpp.source-cpp .nu12 {color: #208080;}
.cpp.source-cpp .nu16 {color:#800080;}
.cpp.source-cpp .nu17 {color:#800080;}
.cpp.source-cpp .nu18 {color:#800080;}
.cpp.source-cpp .nu19 {color:#800080;}
.cpp.source-cpp .me1 {color: #E0E0E0;}
.cpp.source-cpp .me2 {color: #E0E0E0;}
.cpp.source-cpp .ln-xtra, .cpp.source-cpp li.ln-xtra, .cpp.source-cpp div.ln-xtra {background-color: #ffc;}
.cpp.source-cpp span.xtra { display:block; }