DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:css

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
devel:css [2021-02-03 23:47] – [Browser (Internet Explorer) Specific CSS] The starter template doesn't have any conditional comments anymore achdevel:css [2023-01-26 05:03] (current) – Spent hours not knowing that Google Fonts worked as if magic 184.103.8.4
Line 84: Line 84:
   margin-bottom: 4px;   margin-bottom: 4px;
 } }
 +</code>
  
 +Note that an included feature of DokuWiki allows you to use open-source [[https://fonts.google.com|Google Fonts]] without needing a local copy of the font on your server. For example, if you want to change the font that comes with your template for only the h1 title, body, and pre/code, simply create a ''conf/userall.css'' with the font names you want: 
 +<code css userall.css>
 +h1, body {
 +  font-family: Source Sans Pro;
 +}
 +pre, code {
 +  font-family: Source Code Pro;
 +}
 </code> </code>
 +
 ===== Using IDs ===== ===== Using IDs =====
  
devel/css.1612392425.txt.gz · Last modified: 2021-02-03 23:47 by ach

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