mirror of
https://github.com/pawroman/zola-theme-terminimal.git
synced 2025-01-09 20:21:06 +01:00
Fix icons by using full Hack font
This commit is contained in:
parent
582749d5e7
commit
20ca6e98a6
|
@ -282,9 +282,12 @@ default_language = "en"
|
||||||
|
|
||||||
### Hack font subset
|
### Hack font subset
|
||||||
|
|
||||||
By default, the theme uses a subset of the Hack font.
|
By default, the theme uses a mixed subset of the Hack font.
|
||||||
|
Normal weight font uses full character set
|
||||||
|
(for Unicode icons and special symbols), but all others
|
||||||
|
(bold, italic etc) use a limited subset.
|
||||||
|
|
||||||
This results in much smaller transfer sizes, but
|
This results in much smaller transfer sizes, but the subset
|
||||||
might not contain all the Unicode characters you need.
|
might not contain all the Unicode characters you need.
|
||||||
|
|
||||||
You can enable full unicode support in `config.toml`:
|
You can enable full unicode support in `config.toml`:
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
* -------------------------- */
|
* -------------------------- */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Hack';
|
font-family: 'Hack';
|
||||||
src: url('fonts/hack-regular-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular-subset.woff?sha=3114f1256') format('woff');
|
/* Use full version (not a subset) for unicode icon support */
|
||||||
|
src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff');
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,8 +74,4 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__icon {
|
|
||||||
font-family: sans-serif;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue