1
0
mirror of https://github.com/byReqz/nils.lol.git synced 2024-11-22 02:01:16 +00:00

add custom font

This commit is contained in:
Nils 2021-02-15 20:25:09 +00:00 committed by GitHub
parent 0e5f86a4e0
commit 3802ea644d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 70 additions and 1 deletions

BIN
fonts/hack-bold-subset.woff Normal file

Binary file not shown.

Binary file not shown.

BIN
fonts/hack-bold.woff Normal file

Binary file not shown.

BIN
fonts/hack-bold.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
fonts/hack-bolditalic.woff Normal file

Binary file not shown.

BIN
fonts/hack-bolditalic.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
fonts/hack-italic.woff Normal file

Binary file not shown.

BIN
fonts/hack-italic.woff2 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
fonts/hack-regular.woff Normal file

Binary file not shown.

BIN
fonts/hack-regular.woff2 Normal file

Binary file not shown.

34
hack.css Normal file
View File

@ -0,0 +1,34 @@
/*!
* Hack typeface https://github.com/source-foundry/Hack
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
*/
/* FONT PATHS
* -------------------------- */
@font-face {
font-family: 'Hack';
src: url('fonts/hack-regular.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular.woff?sha=3114f1256') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-bold.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold.woff?sha=3114f1256') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-italic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic.woff?sha=3114f1256') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-bolditalic.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic.woff?sha=3114f1256') format('woff');
font-weight: 700;
font-style: italic;
}

34
hack.css.in Normal file
View File

@ -0,0 +1,34 @@
/*!
* Hack typeface https://github.com/source-foundry/Hack
* License: https://github.com/source-foundry/Hack/blob/master/LICENSE.md
*/
/* FONT PATHS
* -------------------------- */
@font-face {
font-family: 'Hack';
src: url('fonts/hack-regular.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-regular.woff?sha={{ ink }}') format('woff');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-bold.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-bold.woff?sha={{ ink }}') format('woff');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-italic.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-italic.woff?sha={{ ink }}') format('woff');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Hack';
src: url('fonts/hack-bolditalic.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-bolditalic.woff?sha={{ ink }}') format('woff');
font-weight: 700;
font-style: italic;
}

View File

@ -10,6 +10,7 @@
<meta name="MobileOptimized" content="320"/>
<title>nils.lol</title>
<link rel="stylesheet" href="./sp.css">
<link rel="stylesheet" href="./hack.css">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
</head>
<body>
@ -55,7 +56,7 @@ EOF
#!/bin/sh
printf "\e[35mHi, it seems like you found me"'!'"\n\e[0m"
printf "\e[1;33;mI'm \e[4;5mNils\n\e[0m"
printf "\e[4;1;34mYou can find me here:\n\e[0m"
printf "\e[4;1;34mYou can also find me here:\n\e[0m"
printf "web: \e[1;35mhttps://nils.lol\n\e[0m"
printf "git: \e[1;35mhttps://git.nils.lol\n\e[0m"
printf "github: \e[1;35mhttps://github.com/byreqz\n\e[0m"