devel:css
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:css [2017-06-12 21:10] – [2. Plugins Styles] tightened wording bactram | devel:css [2023-01-26 05:03] (current) – Spent hours not knowing that Google Fonts worked as if magic 184.103.8.4 | ||
---|---|---|---|
Line 79: | Line 79: | ||
These style files are useful to override small portions of template or plugin styles without running into problems on updating those later. | These style files are useful to override small portions of template or plugin styles without running into problems on updating those later. | ||
- | Usercomment: | + | The following |
- | + | < | |
- | <code css> | + | h2, h3 { |
- | + | | |
- | h1 { | + | } |
- | | + | </ |
- | } | + | |
+ | Note that an included feature of DokuWiki allows you to use open-source [[https:// | ||
+ | <code css userall.css> | ||
+ | h1, body { | ||
+ | font-family: | ||
+ | } | ||
+ | pre, code { | ||
+ | font-family: | ||
+ | } | ||
</ | </ | ||
- | |||
- | This has no effect on my headings, please expand this example or point out the shortcoming with detailed example cases. | ||
===== Using IDs ===== | ===== Using IDs ===== | ||
Line 110: | Line 115: | ||
DokuWiki will automatically change the URL, so that the image will be found in the plugin directory, relative to the template directory. | DokuWiki will automatically change the URL, so that the image will be found in the plugin directory, relative to the template directory. | ||
+ | |||
+ | **Notes**: | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== Caching ===== | ||
+ | |||
+ | All CSS files are fetched through a single dispatcher in '' | ||
+ | |||
+ | If you are making changes, ensure that you refresh the cache of your browser by a //Hard reload/ | ||
===== Browser (Internet Explorer) Specific CSS ===== | ===== Browser (Internet Explorer) Specific CSS ===== | ||
Line 125: | Line 140: | ||
</ | </ | ||
- | If you use the dokuwiki_template_starter as the basis for your template, you can use the following #ID's in your CSS file: | + | You will need to edit the files in your template (ie. '' |
- | ^ ID ^ Browser | + | |
- | | #IE8 | IE 8 and earlier | + | |
- | + | ||
- | To use additional IDs, you will need to edit the files in your template (ie. '' | + |
devel/css.txt · Last modified: 2023-01-26 05:03 by 184.103.8.4