DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

tips:code_css

CSS to extend syntax highlighting beyond the default

DokuWiki tries to keep the CSS footprint for syntax highlighting as low as possible. This is done by using a minimal CSS set to format all languages equally. However this may look bad for some languages. To fix this you can extend and override the default highlighting for your desired languages using the CSS below.

The styles below were generated by the geshi_style_builder script, you may want to run this script your self for newer GeSHi releases.

Code Stylesheet

Copy the parts which define your wanted languages from the CSS below into a file called <dokuwiki>/conf/userstyle.css (create it if it doesn't exist).

Note that you may need a space between the .code and the .language selectors. For example,
.code .dos .kw1 { color: #00b100; font-weight: bold; }

If you want all those overrides you should run it through a CSS optimization tool, which is a little bit more effective than DokuWiki's builtin compressor.

geshi.css
/* actionscript overrides */
.code.actionscript .kw3 { color: #0066CC; }
 
/* ada overrides */
.code.ada .co1 { color: #adadad; font-style: italic; }
.code.ada .kw1 { color: #00007f; }
.code.ada .kw2 { color: #0000ff; }
.code.ada .kw3 { color: #46aa03; font-weight:bold; }
.code.ada .me1 { color: #202020; }
.code.ada .nu0 { color: #ff0000; }
.code.ada .st0 { color: #7f007f; }
 
/* apache overrides */
.code.apache .co1 { color: #adadad; font-style: italic; }
.code.apache .kw1 { color: #00007f; }
.code.apache .kw2 { color: #0000ff; }
.code.apache .nu0 { color: #ff0000; }
.code.apache .st0 { color: #7f007f; }
 
/* asm overrides */
.code.asm .co1 { color: #adadad; font-style: italic; }
.code.asm .kw1 { color: #00007f; }
.code.asm .kw2 { color: #0000ff; }
.code.asm .kw3 { color: #46aa03; font-weight:bold; }
.code.asm .kw4 { color: #0000ff; }
.code.asm .nu0 { color: #ff0000; }
.code.asm .re0 { color: #ff0000; }
.code.asm .st0 { color: #7f007f; }
 
/* asp overrides */
.code.asp .br0 { color: #006600; font-weight:bold }
.code.asp .co1 { color: #008000; }
.code.asp .co2 { color: #ff6600; }
.code.asp .coMULTI { color: #008000; }
.code.asp .kw1 { color: #990099; font-weight: bold; }
.code.asp .kw2 { color: #0000ff; font-weight: bold; }
.code.asp .kw3 { color: #330066; }
.code.asp .me1 { color: #9900cc; }
.code.asp .nu0 { color: #800000; }
.code.asp .st0 { color: #cc0000; }
.code.asp .sy0 { color: #006600; font-weight: bold }
 
/* autoit overrides */
.code.autoit .br0 { color: #FF0000; font-weight: bold; }
.code.autoit .co0 { font-style: italic; color: #009933; }
.code.autoit .coMULTI { font-style: italic; color: #669900; }
.code.autoit .kw1 { color: #0000FF; font-weight: bold; }
.code.autoit .kw2 { color: #800000; font-weight: bold; }
.code.autoit .kw3 { color: #000080; font-style: italic; font-weight: bold; }
.code.autoit .kw4 { color: #0080FF; font-style: italic; font-weight: bold; }
.code.autoit .kw5 { color: #F000FF; font-style: italic; }
.code.autoit .kw6 { color: #A00FF0; font-style: italic; }
.code.autoit .me1 { color: #0000FF; font-style: italic; font-weight: bold; }
.code.autoit .nu0 { color: #AC00A9; font-style: italic; font-weight: bold; }
.code.autoit .re0 { font-weight: bold; color: #AA0000; }
.code.autoit .st0 { font-weight: bold; color: #008080; }
.code.autoit .sy0 { color: #FF0000; font-weight: bold; }
 
/* bash overrides */
.code.bash .re1 { color: #0000ff; }
.code.bash .re2 { color: #0000ff; }
.code.bash .re3 { color: #808080; font-style: italic; }
.code.bash .re4 { color: #0000ff; }
 
/* blitzbasic overrides */
.code.blitzbasic .br0 { color: #000066; }
.code.blitzbasic .co1 { color: #D9D100; font-style: italic; }
.code.blitzbasic .kw1 { color: #000066; font-weight: bold; }
.code.blitzbasic .kw2 { color: #0000ff; }
.code.blitzbasic .nu0 { color: #CC0000; }
.code.blitzbasic .st0 { color: #009900; }
.code.blitzbasic .sy0 { color: #000066; }
 
/* bnf overrides */
.code.bnf .re0 { color: #007; }
.code.bnf .re1 { color: #099; }
.code.bnf .re2 { color: #060; }
.code.bnf .re3 { color: #909; }
.code.bnf .st0 { color: #a00; }
.code.bnf .st1 { color: #a00; }
.code.bnf .sy0 { color: #000066; font-weight: bold; }
 
/* c overrides */
.code.c .co2 { color: #339933; }
.code.c .me1 { color: #202020; }
.code.c .me2 { color: #202020; }
 
/* c_mac overrides */
.code.c_mac .br0 { color: #000000; }
.code.c_mac .co1 { color: #ff0000; }
.code.c_mac .co2 { color: #339900; }
.code.c_mac .coMULTI { color: #ff0000; font-style: italic; }
.code.c_mac .es0 { color: #666666; font-weight: bold; }
.code.c_mac .kw1 { color: #0000ff; }
.code.c_mac .kw2 { color: #0000ff; }
.code.c_mac .kw3 { color: #0000dd; }
.code.c_mac .kw4 { color: #0000ff; }
.code.c_mac .me1 { color: #00eeff; }
.code.c_mac .me2 { color: #00eeff; }
.code.c_mac .nu0 { color: #0000dd; }
.code.c_mac .st0 { color: #666666; }
.code.c_mac .sy0 { color: #000000; }
 
/* cfdg overrides */
.code.cfdg .kw1 { color: #717100; }
.code.cfdg .kw3 { color: #006666; }
 
/* cfm overrides */
.code.cfm .br0 { color: #0000FF; }
.code.cfm .coMULTI { color: #808080; font-style: italic; background-color:#FFFF99; }
.code.cfm .kw1 { color: #990000; }
.code.cfm .kw3 { color: #0000FF; }
.code.cfm .kw4 { color: #000000; font-weight: bold; }
.code.cfm .kw5 { color: #0000FF; }
.code.cfm .kw6 { color: #0000FF }
.code.cfm .nu0 { color: #FF0000; }
.code.cfm .sc0 { color: #00bbdd; }
.code.cfm .sc1 { color: #0000FF; }
.code.cfm .sc2 { color: #000099; }
.code.cfm .sc3 { color: #333333; }
.code.cfm .st0 { color: #009900; }
.code.cfm .sy0 { color: #0000FF; }
 
/* cpp overrides */
.code.cpp .br0 { color: #000000; }
.code.cpp .co1 { color: #ff0000; }
.code.cpp .co2 { color: #339900; }
.code.cpp .coMULTI { color: #ff0000; font-style: italic; }
.code.cpp .es0 { color: #666666; font-weight: bold; }
.code.cpp .kw1 { color: #0000ff; }
.code.cpp .kw2 { color: #0000ff; }
.code.cpp .kw3 { color: #0000dd; }
.code.cpp .kw4 { color: #0000ff; }
.code.cpp .me1 { color: #00eeff; }
.code.cpp .me2 { color: #00eeff; }
.code.cpp .nu0 { color: #0000dd; }
.code.cpp .st0 { color: #666666; }
.code.cpp .sy0 { color: #000000; }
 
/* cpp-qt overrides */
.code.cpp-qt .br0 { color: #000000; }
.code.cpp-qt .co1 { color: #ff0000; }
.code.cpp-qt .co2 { color: #339900; }
.code.cpp-qt .coMULTI { color: #ff0000; font-style: italic; }
.code.cpp-qt .es0 { color: #666666; font-weight: bold; }
.code.cpp-qt .kw1 { color: #0000ff; }
.code.cpp-qt .kw2 { color: #0000ff; }
.code.cpp-qt .kw3 { color: #0000dd; }
.code.cpp-qt .kw4 { color: #0000ff; }
.code.cpp-qt .kw5 { color: #0000ee; }
.code.cpp-qt .me1 { color: #00eeff; }
.code.cpp-qt .me2 { color: #00eeff; }
.code.cpp-qt .nu0 { color: #0000dd; }
.code.cpp-qt .st0 { color: #666666; }
.code.cpp-qt .sy0 { color: #000000; }
 
/* csharp overrides */
.code.csharp .br0 { color: #000000; }
.code.csharp .co1 { color: #008080; font-style: italic; }
.code.csharp .co2 { color: #008080; }
.code.csharp .coMULTI { color: #008080; font-style: italic; }
.code.csharp .es0 { color: #008080; font-weight: bold; }
.code.csharp .kw1 { color: #0600FF; }
.code.csharp .kw2 { color: #FF8000; font-weight: bold; }
.code.csharp .kw3 { color: #008000; }
.code.csharp .kw4 { color: #FF0000; }
.code.csharp .kw5 { color: #000000; }
.code.csharp .me1 { color: #0000FF; }
.code.csharp .me2 { color: #0000FF; }
.code.csharp .nu0 { color: #FF0000; }
.code.csharp .st0 { color: #808080; }
.code.csharp .sy0 { color: #008000; }
 
/* css overrides */
.code.css .co1 { color: #a1a100; }
.code.css .kw1 { color: #000000; font-weight: bold; }
.code.css .kw2 { color: #993333; }
.code.css .re0 { color: #cc00cc; }
.code.css .re1 { color: #6666ff; }
.code.css .re2 { color: #3333ff; }
.code.css .re3 { color: #933; }
.code.css .re4 { color: #933; }
 
/* d overrides */
.code.d .co2 { color: #a1a100; }
.code.d .kw3 { color: #aaaadd; font-weight: bold; }
 
/* delphi overrides */
.code.delphi .kw1 { color: #000000; font-weight: bold; }
.code.delphi .re0 { color: #9ac; }
 
/* diff overrides */
.code.diff .kw1 { color: #aaaaaa; font-style: italic; }
.code.diff .kw2 { color: #dd6611; }
.code.diff .re0 { color: #440088; }
.code.diff .re1 { color: #991111; }
.code.diff .re2 { color: #00b000; }
.code.diff .re3 { color: #888822; }
.code.diff .re4 { color: #888822; }
.code.diff .re5 { color: #0011dd; }
.code.diff .re6 { color: #440088; }
.code.diff .re7 { color: #991111; }
.code.diff .re8 { color: #00b000; }
.code.diff .re9 { color: #888822; }
 
/* div overrides */
.code.div .br0 { color: #44aa44; }
.code.div .kw1 { color: #0040b1; }
.code.div .kw2 { color: #000000; }
.code.div .kw3 { color: #000066; font-weight: bold; }
.code.div .me0 { color: #202020; }
.code.div .sy0 { color: #44aa44; }
 
/* dos overrides */
.code.dos .kw1 { color: #00b100; font-weight: bold; }
.code.dos .kw3 { color: #b1b100; font-weight: bold; }
.code.dos .kw4 { color: #0000ff; font-weight: bold; }
.code.dos .re0 { color: #b100b1; font-weight: bold; }
.code.dos .re1 { color: #448844; }
.code.dos .re2 { color: #448888; }
.code.dos .sy0 { color: #33cc33; }
.code.dos .sy1 { color: #33cc33; }
 
/* eiffel overrides */
.code.eiffel .br0 { color: #FF0000; }
.code.eiffel .co1 { color: #008000; font-style: italic; }
.code.eiffel .es0 { color: #005070; font-weight: bold; }
.code.eiffel .kw1 { color: #0600FF; font-weight: bold; }
.code.eiffel .kw2 { color: #0600FF; font-weight: bold; }
.code.eiffel .kw3 { color: #800080; }
.code.eiffel .kw4 { color: #800000 }
.code.eiffel .kw5 { color: #603000; }
.code.eiffel .me1 { color: #000060; }
.code.eiffel .me2 { color: #000050; }
.code.eiffel .nu0 { color: #FF0000; }
.code.eiffel .st0 { color: #0080A0; }
.code.eiffel .sy0 { color: #600000; }
 
/* fortran overrides */
.code.fortran .co2 { color: #339933; }
.code.fortran .me1 { color: #202020; }
.code.fortran .me2 { color: #202020; }
 
/* freebasic overrides */
.code.freebasic .co1 { color: #808080; }
.code.freebasic .co2 { color: #339933; }
.code.freebasic .es0 { color: #000099; }
.code.freebasic .me0 { color: #66cc66; }
 
/* gml overrides */
.code.gml .br0 { color: #000000; }
.code.gml .co1 { font-style: italic; color: green; }
.code.gml .coMULTI { font-style: italic; color: green; }
.code.gml .kw1 { font-weight: bold; color: #000000; }
.code.gml .kw2 { font-weight: bold; color: #000000; }
.code.gml .kw3 { color: navy; }
.code.gml .kw4 { color: brown }
.code.gml .me1 { color: #202020; }
.code.gml .sy0 { color: #66cc66; font-weight: bold; }
 
/* groovy overrides */
.code.groovy .co2 { color: #a1a100; }
.code.groovy .kw3 { color: #aaaadd; font-weight: bold; }
.code.groovy .kw5 { color: #663399; }
.code.groovy .kw6 { color: #CC0099; }
.code.groovy .kw7 { color: #FFCC33; }
.code.groovy .kw8 { color: #993399; }
.code.groovy .kw9 { color: #993399; font-weight: bold; }
 
/* html4strict overrides */
.code.html4strict .sc0 { color: #00bbdd; }
.code.html4strict .sc1 { color: #ddbb00; }
.code.html4strict .sc2 { color: #009900; }
 
/* idl overrides */
.code.idl .br0 { color: #808080; }
.code.idl .co1 { color: #3f7f5f; }
.code.idl .co2 { color: #808080; }
.code.idl .coMULTI { color: #4080ff; font-style: italic; }
.code.idl .es0 { color: #666666; font-weight: bold; }
.code.idl .kw1 { color: #990078; font-weight: bold }
.code.idl .kw2 { color: #36dd1c; }
.code.idl .kw3 { color: #990078; font-weight: bold }
.code.idl .kw4 { color: #0000ec; }
.code.idl .nu0 { color: #0000dd; }
 
/* ini overrides */
.code.ini .co0 { color: #666666; font-style: italic; }
.code.ini .re0 { color: #000066; font-weight:bold; }
.code.ini .re1 { color: #000099; }
.code.ini .re2 { color: #660066; }
.code.ini .st0 { color: #933; }
.code.ini .sy0 { color: #000066; font-weight:bold; }
 
/* inno overrides */
.code.inno .co1 { color: #33FF00; font-style: italic; }
.code.inno .coMULTI { color: #33FF00; font-style: italic; }
.code.inno .kw1 { color: #000000; font-weight: bold; }
.code.inno .kw2 { color: #000000;font-style: italic; }
.code.inno .kw3 { color: #0000FF; }
.code.inno .kw4 { color: #CC0000; }
.code.inno .sy0 { color:  #000000; font-weight: bold; }
 
/* java overrides */
.code.java .co2 { color: #a1a100; }
.code.java .kw3 { color: #aaaadd; font-weight: bold; }
 
/* java5 overrides */
.code.java5 .kw10 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw100 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw101 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw102 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw103 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw104 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw105 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw106 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw107 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw108 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw109 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw11 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw110 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw111 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw112 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw113 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw114 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw115 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw116 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw117 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw118 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw119 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw12 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw120 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw121 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw122 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw123 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw124 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw125 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw126 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw127 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw128 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw129 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw13 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw130 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw131 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw132 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw133 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw134 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw135 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw136 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw137 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw138 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw139 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw14 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw140 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw141 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw142 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw143 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw144 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw145 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw146 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw147 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw148 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw149 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw15 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw150 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw151 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw152 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw153 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw154 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw155 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw156 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw157 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw158 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw159 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw16 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw160 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw161 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw162 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw163 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw164 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw165 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw166 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw17 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw18 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw19 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw20 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw21 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw22 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw23 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw24 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw25 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw26 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw27 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw28 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw29 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw3 { color: #993333; }
.code.java5 .kw30 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw31 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw32 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw33 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw34 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw35 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw36 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw37 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw38 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw39 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw4 { color: #b13366; }
.code.java5 .kw40 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw41 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw42 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw43 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw44 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw45 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw46 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw47 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw48 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw49 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw5 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw50 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw51 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw52 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw53 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw54 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw55 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw56 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw57 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw58 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw59 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw6 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw60 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw61 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw62 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw63 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw64 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw65 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw66 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw67 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw68 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw69 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw7 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw70 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw71 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw72 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw73 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw74 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw75 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw76 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw77 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw78 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw79 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw8 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw80 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw81 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw82 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw83 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw84 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw85 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw86 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw87 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw88 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw89 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw9 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw90 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw91 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw92 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw93 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw94 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw95 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw96 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw97 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw98 { color: #aaaadd; font-weight: bold; }
.code.java5 .kw99 { color: #aaaadd; font-weight: bold; }
 
/* javascript overrides */
.code.javascript .co1 { color: #009900; font-style: italic; }
.code.javascript .coMULTI { color: #009900; font-style: italic; }
.code.javascript .kw1 { color: #000066; font-weight: bold; }
.code.javascript .kw2 { color: #003366; font-weight: bold; }
.code.javascript .nu0 { color: #CC0000; }
.code.javascript .re0 { color: #0066FF; }
.code.javascript .st0 { color: #3366CC; }
 
/* latex overrides */
.code.latex .re1 { color: #00A000; font-weight: bold; }
.code.latex .re10 { color: #0000D0; font-weight: bold; }
.code.latex .re11 { color: #0000D0; font-weight: bold; }
.code.latex .re2 { color: #800000; font-weight: normal; }
.code.latex .re3 { color: #2222D0; font-weight: normal; }
.code.latex .re4 { color: #2222D0; font-weight: normal; }
.code.latex .re5 { color: #00A000; font-weight: normal; }
.code.latex .re6 { color: #F00000; font-weight: normal; }
.code.latex .re7 { color: #F00000; font-weight: normal; }
.code.latex .re8 { color: #F00000; font-weight: normal; }
 
/* lisp overrides */
.code.lisp .me0 { color: #555; }
.code.lisp .me1 { color: #555; }
 
/* lua overrides */
.code.lua .me0 { color: #b1b100; }
 
/* matlab overrides */
.code.matlab .br0 { color: #080; }
.code.matlab .co1 { color: #228B22; }
.code.matlab .kw1 { color: #0000FF; }
.code.matlab .kw2 { color: #0000FF; }
.code.matlab .nu0 { color: #33f; }
.code.matlab .re0 { color:#A020F0; }
.code.matlab .sy0 { color: #080; }
 
/* mirc overrides */
.code.mirc .br0 { color: #FF0000; }
.code.mirc .kw1 { color: #994444; }
.code.mirc .re0 { color: #000099; }
.code.mirc .re1 { color: #990000; }
.code.mirc .re2 { color: #888800; }
.code.mirc .re3 { color: #888800; }
.code.mirc .re4 { color: #000099; }
.code.mirc .re5 { color: #000099; }
.code.mirc .sy0 { color: #FF0000; }
 
/* mpasm overrides */
.code.mpasm .co1 { color: #adadad; font-style: italic; }
.code.mpasm .kw1 { color: #00007f; }
.code.mpasm .kw2 { color: #0000ff; }
.code.mpasm .kw3 { color: #007f00; }
.code.mpasm .kw4 { color: #46aa03; font-weight:bold; }
.code.mpasm .kw5 { color: #7f0000; }
.code.mpasm .kw6 { color: #7f0000; }
.code.mpasm .nu0 { color: #ff0000; }
.code.mpasm .re0 { color: #ff0000; }
.code.mpasm .st0 { color: #7f007f; }
 
/* mysql overrides */
.code.mysql .kw1 { color: #993333; font-weight: bold; }
.code.mysql .kw2 { color: #aa9933; font-weight: bold; }
.code.mysql .kw3 { color: #aa3399; font-weight: bold; }
.code.mysql .kw4 { color: #33aa99; font-weight: bold; }
.code.mysql .kw5 { color: #993333; font-weight: bold; }
 
/* nsis overrides */
.code.nsis .co1 { color: #666666; font-style: italic; }
.code.nsis .co2 { color: #666666; font-style: italic; }
.code.nsis .coMULTI { color: #666666; font-style: italic; }
.code.nsis .es0 { color: #660066; font-weight: bold; }
.code.nsis .kw1 { color: #000066; font-weight:bold; }
.code.nsis .kw10 { color: #006600; }
.code.nsis .kw11 { color: #006600; }
.code.nsis .kw12 { color: #006600; }
.code.nsis .kw13 { color: #006600; }
.code.nsis .kw14 { color: #006600; }
.code.nsis .kw15 { color: #006600; }
.code.nsis .kw16 { color: #006600; }
.code.nsis .kw2 { color: #000066; }
.code.nsis .kw3 { color: #003366; }
.code.nsis .kw4 { color: #000099; }
.code.nsis .kw5 { color: #ff6600; }
.code.nsis .kw6 { color: #ff6600; }
.code.nsis .kw7 { color: #006600; }
.code.nsis .kw8 { color: #006600; }
.code.nsis .kw9 { color: #006600; }
.code.nsis .re0 { color: #660000; }
.code.nsis .re1 { color: #660000; }
.code.nsis .re2 { color: #660000; }
.code.nsis .re3 { color: #660000; }
.code.nsis .re4 { color: #660000; }
.code.nsis .re5 { color: #660000; }
.code.nsis .re6 { color: #660000; }
.code.nsis .re7 { color: #000099; }
.code.nsis .re8 { color: #003399; }
.code.nsis .st0 { color: #660066; }
 
/* objc overrides */
.code.objc .br0 { color: #002200; }
.code.objc .co1 { color: #ff0000; }
.code.objc .co2 { color: #339900; }
.code.objc .coMULTI { color: #ff0000; font-style: italic; }
.code.objc .es0 { color: #666666; font-weight: bold; }
.code.objc .kw1 { color: #0000ff; }
.code.objc .kw2 { color: #0000ff; }
.code.objc .kw3 { color: #0000dd; }
.code.objc .kw4 { color: #0000ff; }
.code.objc .kw6 { color: #0000ff; }
.code.objc .nu0 { color: #0000dd; }
.code.objc .st0 { color: #666666; }
.code.objc .sy0 { color: #002200; }
 
/* ocaml overrides */
.code.ocaml .br0 { color: #6c6; }
.code.ocaml .coMULTI { color: #5d478b; font-style: italic; }
.code.ocaml .kw1 { color: #06c; font-weight: bold; }
.code.ocaml .me1 { color: #060; }
.code.ocaml .nu0 { color: #c6c; }
.code.ocaml .st0 { color: #3cb371; }
.code.ocaml .sy0 { color: #a52a2a; }
 
/* ocaml-brief overrides */
.code.ocaml-brief .br0 { color: #6c6; }
.code.ocaml-brief .coMULTI { color: #5d478b; font-style: italic; }
.code.ocaml-brief .kw1 { color: #06c; font-weight: bold; }
.code.ocaml-brief .me1 { color: #060; }
.code.ocaml-brief .nu0 { color: #c6c; }
.code.ocaml-brief .st0 { color: #3cb371; }
.code.ocaml-brief .sy0 { color: #a52a2a; }
 
/* oobas overrides */
.code.oobas .co1 { color: #808080; }
.code.oobas .es0 { color: #000099; }
 
/* oracle8 overrides */
.code.oracle8 .kw1 { color: #993333; font-weight: bold; text-transform: uppercase; }
.code.oracle8 .me1 { color: #ff0000; }
 
/* pascal overrides */
.code.pascal .co2 { color: #339933; }
.code.pascal .me1 { color: #202020; }
 
/* php overrides */
.code.php .re1 { color: #ff0000 }
 
/* plsql overrides */
.code.plsql .br0 { color: #00F; }
.code.plsql .co1 { color: #080; font-style: italic; }
.code.plsql .coMULTI { color: #080; font-style: italic; }
.code.plsql .es0 { color: #000; font-weight: bold; }
.code.plsql .kw1 { color: #00F; }
.code.plsql .kw2 { color: #000; }
.code.plsql .kw3 { color: #00F; }
.code.plsql .kw4 { color: #F00; }
.code.plsql .kw5 { color: #800; }
.code.plsql .me0 { color: #0F0; }
.code.plsql .nu0 { color: #800; }
.code.plsql .sc0 { color: #0F0; }
.code.plsql .st0 { color: #F00; }
.code.plsql .sy0 { color: #00F; }
 
/* python overrides */
.code.python .br0 { color: black; }
.code.python .kw1 { color: #ff7700;font-weight:bold; }
.code.python .kw2 { color: #008000; }
.code.python .kw3 { color: #dc143c; }
.code.python .kw4 { color: #0000cd; }
.code.python .me1 { color: black; }
.code.python .nu0 { color: #ff4500; }
.code.python .st0 { color: #483d8b; }
 
/* qbasic overrides */
.code.qbasic .co1 { color: #808080; }
.code.qbasic .co2 { color: #808080; }
.code.qbasic .es0 { color: #000099; }
.code.qbasic .kw1 { color: #a1a100; }
 
/* rails overrides */
.code.rails .br0 { color:#006600; font-weight:bold; }
.code.rails .co1 { color:#008000; font-style:italic; }
.code.rails .coMULTI { color:#000080; font-style:italic; }
.code.rails .es0 { color:#000099; }
.code.rails .kw1 { color:#9966CC; font-weight:bold; }
.code.rails .kw2 { color:#0000FF; font-weight:bold; }
.code.rails .kw3 { color:#CC0066; font-weight:bold; }
.code.rails .kw4 { color:#CC00FF; font-weight:bold; }
.code.rails .kw5 { color:#5A0A0A; font-weight:bold; }
.code.rails .me1 { color:#9900CC; }
.code.rails .nu0 { color:#006666; }
.code.rails .re0 { color:#ff6633; font-weight:bold; }
.code.rails .re1 { color:#0066ff; font-weight:bold; }
.code.rails .st0 { color:#996600; }
.code.rails .sy0 { color:#006600; font-weight:bold; }
 
/* reg overrides */
.code.reg .br0 { color: #000000; }
.code.reg .co1 { color: #009900; }
.code.reg .kw1 { color: #00CCFF; }
.code.reg .kw2 { color: #0000FF; }
.code.reg .re1 { color: #0000FF; }
.code.reg .re4 { color: #0000FF; }
.code.reg .re9 { color: #FF6600; }
.code.reg .st0 { color: #009900; }
.code.reg .sy0 { color: #000000; }
 
/* ruby overrides */
.code.ruby .br0 { color:#006600; font-weight:bold; }
.code.ruby .co1 { color:#008000; font-style:italic; }
.code.ruby .coMULTI { color:#000080; font-style:italic; }
.code.ruby .es0 { color:#000099; }
.code.ruby .kw1 { color:#9966CC; font-weight:bold; }
.code.ruby .kw2 { color:#0000FF; font-weight:bold; }
.code.ruby .kw3 { color:#CC0066; font-weight:bold; }
.code.ruby .kw4 { color:#CC00FF; font-weight:bold; }
.code.ruby .me1 { color:#9900CC; }
.code.ruby .nu0 { color:#006666; }
.code.ruby .re0 { color:#ff6633; font-weight:bold; }
.code.ruby .re1 { color:#0066ff; font-weight:bold; }
.code.ruby .st0 { color:#996600; }
.code.ruby .sy0 { color:#006600; font-weight:bold; }
 
/* sas overrides */
.code.sas .co1 { color: #006400; font-style: italic; }
.code.sas .coMULTI { color: #006400; font-style: italic; }
.code.sas .kw1 { color: #0000ff; }
.code.sas .kw2 { color: #0000ff; }
.code.sas .kw3 { color: #0000ff; }
.code.sas .kw4 { color: #0000ff; }
.code.sas .kw6 { color: #000080; font-weight: bold; }
.code.sas .kw7 { color: #ff0000; }
.code.sas .kw8 { color: #00ff00; }
.code.sas .kw9 { color: #0000ff; }
.code.sas .nu0 { color: #2e8b57; font-weight: bold; }
.code.sas .re0 { color: #0000ff; font-weight: bold; }
.code.sas .re1 { color: #000080; font-weight: bold; }
.code.sas .re2 { color: #006400; font-style: italic; }
.code.sas .re3 { color: #006400; font-style: italic; }
.code.sas .re4 { color: #006400; font-style: italic; }
.code.sas .re5 { color: #ff0000; font-weight: bold; }
.code.sas .re6 { color: #00ff00; font-style: italic; }
.code.sas .re7 { color: #0000ff; font-style: normal; }
.code.sas .re8 { color: #b218b2; font-weight: bold; }
.code.sas .re9 { color: #b218b2; font-weight: bold; }
.code.sas .st0 { color: #a020f0; }
 
/* scheme overrides */
.code.scheme .me0 { color: #202020; }
 
/* sdlbasic overrides */
.code.sdlbasic .co1 { color: #808080; }
.code.sdlbasic .co2 { color: #808080; }
.code.sdlbasic .co4 { color: #808080; }
.code.sdlbasic .es0 { color: #000099; }
.code.sdlbasic .me0 { color: #66cc66; }
 
/* smalltalk overrides */
.code.smalltalk .coMULTI { color: #007f00; font-style: italic; }
.code.smalltalk .kw1 { color: #7f007f; }
.code.smalltalk .nu0 { color: #7f0000; }
.code.smalltalk .re1 { color: #7f0000; }
.code.smalltalk .re2 { color: #7f0000; }
.code.smalltalk .re3 { color: #00007f; }
.code.smalltalk .re4 { color: #7f007f; }
.code.smalltalk .re5 { color: #00007f; }
.code.smalltalk .re6 { color: #00007f; }
.code.smalltalk .st0 { color: #7f0000; }
.code.smalltalk .sy0 { color: #000066; font-weight:bold; }
 
/* smarty overrides */
.code.smarty .br0 { color: #D36900; }
.code.smarty .coMULTI { color: #008080; font-style: italic; }
.code.smarty .kw1 { color: #0600FF; }
.code.smarty .kw2 { color: #008000; }
.code.smarty .kw3 { color: #0600FF; }
.code.smarty .kw4 { color: #804040; }
.code.smarty .kw5 { color: #008000; }
.code.smarty .kw6 { color: #6A0A0A; }
.code.smarty .kw7 { color: #D36900; }
.code.smarty .sy0 { color: #D36900; }
 
/* sql overrides */
.code.sql .kw1 { color: #993333; font-weight: bold; }
 
/* tcl overrides */
.code.tcl .br0 { color: black; }
.code.tcl .kw1 { color: #ff7700;font-weight:bold; }
.code.tcl .kw2 { color: #008000; }
.code.tcl .kw3 { color: #dc143c; }
.code.tcl .kw4 { color: #0000cd; }
.code.tcl .me1 { color: black; }
.code.tcl .nu0 { color: #ff4500; }
.code.tcl .re0 { color: #ff3333; }
.code.tcl .st0 { color: #483d8b; }
 
/* thinbasic overrides */
.code.thinbasic .br0 { color: #333333; }
.code.thinbasic .co1 { color: #008000; }
.code.thinbasic .es0 { color: #000099; }
.code.thinbasic .kw1 { color: #0000FF; font-weight: bold; }
.code.thinbasic .kw2 { color: #993333; font-style: italic; font-weight: bold; }
.code.thinbasic .me1 { color: #66cc66; }
.code.thinbasic .nu0 { color: #CC0000; }
.code.thinbasic .st0 { color: #800080; }
.code.thinbasic .sy0 { color: #333333; }
 
/* tsql overrides */
.code.tsql .br0 { color: #808080; }
.code.tsql .co1 { color: #008080; }
.code.tsql .coMULTI { color: #008080; }
.code.tsql .kw1 { color: #0000FF; }
.code.tsql .kw2 { color: #FF00FF; }
.code.tsql .kw3 { color: #AF0000; }
.code.tsql .kw4 { color: #AF0000; }
.code.tsql .me1 { color: #202020; }
.code.tsql .me2 { color: #202020; }
.code.tsql .nu0 { color: #000; }
.code.tsql .st0 { color: #FF0000; }
.code.tsql .sy0 { color: #808080; }
 
/* vb overrides */
.code.vb .co1 { color: #808080; }
.code.vb .es0 { color: #000099; }
.code.vb .me1 { color: #66cc66; }
 
/* vbnet overrides */
.code.vbnet .br0 { color: #000000; }
.code.vbnet .co1 { color: #008080; font-style: italic; }
.code.vbnet .coMULTI { color: #008080; font-style: italic; }
.code.vbnet .es0 { color: #008080; font-weight: bold; }
.code.vbnet .kw1 { color: #0600FF; }
.code.vbnet .kw2 { color: #FF8000; }
.code.vbnet .kw3 { color: #008000; }
.code.vbnet .kw4 { color: #FF0000; }
.code.vbnet .kw5 { color: #804040; }
.code.vbnet .kw6 { color: #0600FF; }
.code.vbnet .kw7 { color: #0600FF; }
.code.vbnet .kw8 { color: #0600FF; }
.code.vbnet .me1 { color: #0000FF; }
.code.vbnet .nu0 { color: #FF0000; }
.code.vbnet .st0 { color: #808080; }
.code.vbnet .sy0 { color: #008000; }
 
/* vhdl overrides */
.code.vhdl .co1 { color: #adadad; font-style: italic; }
.code.vhdl .kw1 { color: #000000; font-weight: bold; }
.code.vhdl .kw2 { color: #aa0000; }
.code.vhdl .nu0 { color: #ff0000; }
.code.vhdl .re0 { color: #ff0000; }
.code.vhdl .re2 { color: #ff0000; }
.code.vhdl .re3 { color: #ff0000; }
.code.vhdl .st0 { color: #7f007f; }
 
/* visualfoxpro overrides */
.code.visualfoxpro .br0 { color: blue; }
.code.visualfoxpro .co1 { color: green; font-style: italic; }
.code.visualfoxpro .co2 { color: green; font-style: italic; }
.code.visualfoxpro .kw1 { color: blue; }
.code.visualfoxpro .kw2 { color: blue; }
.code.visualfoxpro .kw3 { color: blue; }
.code.visualfoxpro .kw4 { color: blue; }
.code.visualfoxpro .sy0 { color: blue; }
 
/* winbatch overrides */
.code.winbatch .co1 { color: #008000; font-style: italic; }
.code.winbatch .co2 { color: #FF1010; font-weight: bold; }
.code.winbatch .kw1 { color: #800080; }
.code.winbatch .kw2 { color: #0080FF; font-weight: bold; }
.code.winbatch .kw3 { color: #0000FF; }
.code.winbatch .kw4 { color: #FF00FF; }
.code.winbatch .kw5 { color: #008000; }
.code.winbatch .me0 { color: #006600; }
 
/* xml overrides */
.code.xml .re0 { color: #000066; }
.code.xml .re1 { font-weight: bold; color: black; }
.code.xml .re2 { font-weight: bold; color: black; }
.code.xml .sc0 { color: #00bbdd; }
.code.xml .sc1 { color: #ddbb00; }
.code.xml .sc2 { color: #339933; }
.code.xml .sc3 { color: #009900; }
 
/* xpp overrides */
.code.xpp .br0 { color: #000000; }
.code.xpp .co1 { color: #007f00; }
.code.xpp .coMULTI { color: #007f00; font-style: italic; }
.code.xpp .es0 { color: #000000; }
.code.xpp .kw1 { color: #0000ff; }
.code.xpp .kw2 { color: #0000ff; }
.code.xpp .kw3 { color: #0000ff; }
.code.xpp .kw4 { color: #0000ff; }
.code.xpp .me1 { color: #000000; }
.code.xpp .me2 { color: #000000; }
.code.xpp .nu0 { color: #000000; }
.code.xpp .sy0 { color: #00007f; }
 
/* z80 overrides */
.code.z80 .br0 { color: #0000ff; }
.code.z80 .co1 { color: #adadad; font-style: italic; }
.code.z80 .kw1 { color: #0000ff; font-weight:bold; }
.code.z80 .kw2 { color: #0000ff; }
.code.z80 .kw3 { color: #46aa03; font-weight:bold; }
.code.z80 .nu0 { color: #dd22dd; }
.code.z80 .re0 { color: #22bbff; }
.code.z80 .re1 { color: #22bbff; }
.code.z80 .re2 { color: #993333; }
.code.z80 .st0 { color: #7f007f; }
.code.z80 .sy0 { color: #008000; }
tips/code_css.txt · Last modified: 2016-09-13 02:58 by 2001:620:618:194:1:80b2:9415:1