DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:code_css

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips:code_css [2012-03-31 20:08] – old revision restored achtips:code_css [2013-12-15 18:24] – make styles downloadable ChrisS
Line 9: Line 9:
  
 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). 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 [[http://www.cssoptimiser.com|cssoptimiser.com]], which is a little bit more effective than DokuWiki's builtin compressor. If you want **all** those overrides you should run it through [[http://www.cssoptimiser.com|cssoptimiser.com]], which is a little bit more effective than DokuWiki's builtin compressor.
  
-<code css>+<code css geshi.css>
 /* actionscript overrides */ /* actionscript overrides */
 .code.actionscript .kw3 { color: #0066CC; } .code.actionscript .kw3 { color: #0066CC; }
tips/code_css.txt · Last modified: 2016-09-13 02:58 by 2001:620:618:194:1:80b2:9415:1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki