mirror of
https://github.com/mfocko/blog.git
synced 2024-12-22 09:41:22 +01:00
fix(css): use CDN instead of static
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
c68cd08576
commit
4fe5d12ecb
4 changed files with 7 additions and 27 deletions
|
@ -83,7 +83,6 @@ const config = {
|
|||
theme: {
|
||||
customCss: [
|
||||
require.resolve("./src/css/custom.css"),
|
||||
require.resolve("./src/css/Hack Nerd Font.css"),
|
||||
],
|
||||
},
|
||||
}),
|
||||
|
@ -117,6 +116,11 @@ const config = {
|
|||
"sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM",
|
||||
crossorigin: "anonymous",
|
||||
},
|
||||
{
|
||||
href: "https://cdn.jsdelivr.net/npm/hack-font/build/web/hack.min.css",
|
||||
type: "text/css",
|
||||
crossorigin: "anonymous",
|
||||
}
|
||||
],
|
||||
|
||||
themeConfig:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
FONT="'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack Nerd Font', monospace"
|
||||
FONT="'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack', monospace"
|
||||
|
||||
for pic in $(find ./static/files -name '*.dot' -print); do
|
||||
SVG_NAME=".$(echo $pic | cut -d'.' -f2)"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
|
||||
pre, code, kbd, var, tt {
|
||||
font-family: 'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack Nerd Font', monospace;
|
||||
font-family: 'Iosevka', 'Cascadia Code', 'JetBrains Mono', 'Fira Code', 'Hack', monospace;
|
||||
}
|
||||
|
||||
[data-theme='light'] img[src$='#gh-dark-mode-only'],
|
||||
|
|
Loading…
Reference in a new issue