1
0
mirror of https://github.com/byReqz/nils.lol.git synced 2026-05-19 06:47:29 +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
19 changed files with 70 additions and 1 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+34
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
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;
}
+2 -1
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"