Tentative de corriger le téléchargement de fontes, encore.
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-03-20 02:11:14 +01:00
parent 983235c1fb
commit 4c61145399
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -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.
+8 -8
View File
@@ -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 }}