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
tips:code_css [2008-08-10 15:29] chitips:code_css [2016-09-13 02:58] (current) – replaced link to cssoptimize.com which is a fake (redirects to a car parts shop...) 2001:620:618:194:1:80b2:9415:1
Line 10: Line 10:
 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).
  
-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.+Note that you may need a space between the ''.code'' and the ''.language'' selectorsFor example,\\ 
 +''.code .dos .kw1 { color: #00b100; font-weight: bold; }''
  
-<code css>+If you want **all** those overrides you should run it through [[http://www.cssportal.com/css-optimize/|a CSS optimization tool]], which is a little bit more effective than DokuWiki's builtin compressor. 
 + 
 +<code css geshi.css>
 /* actionscript overrides */ /* actionscript overrides */
 .code.actionscript .kw3 { color: #0066CC; } .code.actionscript .kw3 { color: #0066CC; }
Line 843: Line 846:
 .code.visualfoxpro .br0 { color: blue; } .code.visualfoxpro .br0 { color: blue; }
 .code.visualfoxpro .co1 { color: green; font-style: italic; } .code.visualfoxpro .co1 { color: green; font-style: italic; }
-.code.visualfoxpro .co2 { color: green font-style: italic; }+.code.visualfoxpro .co2 { color: greenfont-style: italic; }
 .code.visualfoxpro .kw1 { color: blue; } .code.visualfoxpro .kw1 { color: blue; }
 .code.visualfoxpro .kw2 { color: blue; } .code.visualfoxpro .kw2 { color: blue; }
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