Ajout des fontes Iosevka utilisées pour le site.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,6 +4,48 @@
|
|||||||
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
|
<link rel="{{ .Rel }}" {{ printf "type=%q" .MediaType.Type | safeHTMLAttr }} href="{{ .Permalink }}" title="{{ site.Title }}" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<style>
|
||||||
|
{{ with resources.Get "fonts/IosevkaTermSS04-Regular.woff2" }}
|
||||||
|
@font-face {
|
||||||
|
font-family: "monospace";
|
||||||
|
src:
|
||||||
|
url("{{ .Permalink }}"),
|
||||||
|
local("Courier New");
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with resources.Get "fonts/IosevkaTermSS04-Italic.woff2" }}
|
||||||
|
@font-face {
|
||||||
|
font-family: "monospace";
|
||||||
|
font-style: italic;
|
||||||
|
src:
|
||||||
|
url("{{ .Permalink }}"),
|
||||||
|
local("Courier New");
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with resources.Get "fonts/IosevkaTermSS04-Bold.woff2" }}
|
||||||
|
@font-face {
|
||||||
|
font-family: "monospace";
|
||||||
|
font-weight: bold;
|
||||||
|
src:
|
||||||
|
url("{{ .Permalink }}"),
|
||||||
|
local("Courier New");
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ with resources.Get "fonts/IosevkaTermSS04-BoldItalic.woff2" }}
|
||||||
|
@font-face {
|
||||||
|
font-family: "monospace";
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: bold;
|
||||||
|
src:
|
||||||
|
url("{{ .Permalink }}"),
|
||||||
|
local("Courier New");
|
||||||
|
}
|
||||||
|
{{ end }}
|
||||||
|
</style>
|
||||||
|
|
||||||
{{ range resources.Match "style/*.scss" }}
|
{{ range resources.Match "style/*.scss" }}
|
||||||
{{ with . | toCSS }}
|
{{ with . | toCSS }}
|
||||||
{{ if hugo.IsDevelopment }}
|
{{ if hugo.IsDevelopment }}
|
||||||
|
|||||||
Reference in New Issue
Block a user