1==== CSS Stylesheets ==== 2 3Most of DokuWiki's presentation can be controlled through CSS stylesheets. DokuWiki defines some very minimal styles itself. The rest of the CSS definitions come from the [[doku>template]] and [[doku>plugins]] used. 4 5All CSS files are fetched through a single dispatcher in [[xref>lib/exe/css.php]] which also handles caching, pattern replacement, [[doku>devel:less|LESS]] preprocessing and optimizing. The loading of the stylesheets amongst other things is done via the ''tpl_metaheaders()'' function, so don't forget to have it within your template. 6 7=== Stylesheet Modes === 8 9There are five types of stylesheet modes: 10 11 * **screen**: This is used when displaying pages in the web browser 12 * **print**: Definitions here will be used for printing pages 13 * **all**: Applied in all display modes 14 * **feed**: Applied when displaying the [[doku>:syndication|feed]] 15 16=== See also === 17 * [[doku>devel:css]] 18