Typography: Declare Merriweather @font-faces
This commit is contained in:
parent
199731551e
commit
7fd398bd01
1 changed files with 15 additions and 0 deletions
|
@ -19,6 +19,21 @@
|
|||
|
||||
@import url("https://use.typekit.net/fji8aoy.css");
|
||||
|
||||
{{ with resources.Get "fonts/merriweather.woff2" -}}
|
||||
@font-face {
|
||||
font-family: "merriweather";
|
||||
src: url("{{ .Permalink }}");
|
||||
}
|
||||
{{- end }}
|
||||
|
||||
{{ with resources.Get "fonts/merriweather-italic.woff2" -}}
|
||||
@font-face {
|
||||
font-family: "merriweather";
|
||||
font-style: italic;
|
||||
src: url("{{ .Permalink }}");
|
||||
}
|
||||
{{- end }}
|
||||
|
||||
:root {
|
||||
--font-family-body: system-ui, Arial, sans-serif;
|
||||
/* --font-family-heading: "rockwell", serif; */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue