diff options
| author | Jieiku | 2022-06-26 20:02:56 -0700 |
|---|---|---|
| committer | Jieiku | 2022-06-26 20:02:56 -0700 |
| commit | c2e4ff935b54126ec516f55b5e47ade99c99a1cd (patch) | |
| tree | 84fe1291809c6db7bf9de8a143dc9610c13a0466 /README.md | |
| parent | f29bffad278a0bc14ca9e9fd35681e98283870ec (diff) | |
| download | abridge-1.1.0.tar.gz abridge-1.1.0.tar.bz2 abridge-1.1.0.zip | |
SVG CSS Icons, Load Fonts in Separate css file1.1.0
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -354,9 +354,15 @@ All pages extend to `base.html`, and you can customize them as need. ### Abridge.woff2 Icon Font -The Abridge.woff2 Icon Font is a subset of Font Awesome. +By default Abridge uses SVG icons directly in CSS, `abridge/sass/include/_icons.scss`, this very efficient and results in the least requests, additionally noscript does not block these resources. -This file can be overridden just like any other Zola theme file, by placing your own Abridge.woff2 in your sites root eg: `mysite/static/font/Abridge.woff2` +The Abridge.woff2 Icon Font is a subset of Font Awesome, it is still included but not used by default because noscript addon blocks loading of font resources. + +If you still want to use font icons continue reading: + +Abridge.woff2 Icon Font is a subset of Font Awesome, and can be loaded like any other font by uncommenting the font in the `abridge/sass/font.scss` and including the font.css file in your stylesheet array defined in config.toml: `stylesheets = [ "abridge-switcher.css", "font.css", "iconfont.css" ]` + +Abridge.woff2 file can be overridden just like any other Zola theme file, by placing your own Abridge.woff2 in your sites root eg: `mysite/static/font/Abridge.woff2` To create your own Icon Font with other/more icons you can use the repository here: https://github.com/Jieiku/fontsubset |
