Tentative de corriger le téléchargement de fontes, encore.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -38,7 +38,7 @@ $fg: $fg1;
|
||||
|
||||
// Body.
|
||||
body {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka", "monospace";
|
||||
font-size: 1.2rem;
|
||||
color: $fg;
|
||||
background-color: $bg;
|
||||
@@ -50,7 +50,7 @@ body {
|
||||
// Firefox a tendance à proposer sa propre fonte à taille fixe sur <code>, donc
|
||||
// on la force ici pour être homogène avec <body>.
|
||||
code {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka", "monospace";
|
||||
}
|
||||
|
||||
// Links.
|
||||
|
||||
@@ -7,40 +7,40 @@
|
||||
<style>
|
||||
{{ with resources.Get "fonts/IosevkaTermSS04-Regular.woff2" }}
|
||||
@font-face {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka";
|
||||
src:
|
||||
url("{{ .RelPermalink }}"),
|
||||
url("{{ .RelPermalink }}") format('woff2'),
|
||||
local("Courier New");
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "fonts/IosevkaTermSS04-Italic.woff2" }}
|
||||
@font-face {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka";
|
||||
font-style: italic;
|
||||
src:
|
||||
url("{{ .RelPermalink }}"),
|
||||
url("{{ .RelPermalink }}") format('woff2'),
|
||||
local("Courier New");
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "fonts/IosevkaTermSS04-Bold.woff2" }}
|
||||
@font-face {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka";
|
||||
font-weight: bold;
|
||||
src:
|
||||
url("{{ .RelPermalink }}"),
|
||||
url("{{ .RelPermalink }}") format('woff2'),
|
||||
local("Courier New");
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
{{ with resources.Get "fonts/IosevkaTermSS04-BoldItalic.woff2" }}
|
||||
@font-face {
|
||||
font-family: "monospace";
|
||||
font-family: "Iosevka";
|
||||
font-style: italic;
|
||||
font-weight: bold;
|
||||
src:
|
||||
url("{{ .RelPermalink }}"),
|
||||
url("{{ .RelPermalink }}") format('woff2'),
|
||||
local("Courier New");
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user