mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Change font!
This commit is contained in:
parent
a5f4fb726a
commit
cb055a7f44
23 changed files with 142 additions and 5 deletions
|
@ -132,9 +132,7 @@
|
|||
media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"
|
||||
href="/splash_screens/8.3__iPad_Mini_portrait.png">
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
||||
<link href="//cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack.css" rel="stylesheet" />
|
||||
|
||||
<script src="/config.js"></script>
|
||||
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
|
||||
html,
|
||||
body {
|
||||
@apply bg-background-main font-open-sans text-type-text;
|
||||
@apply bg-background-main font-hack text-type-text;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
font-size: 0.97em;
|
||||
letter-spacing: 0.01em;
|
||||
word-spacing: -0.12em;
|
||||
}
|
||||
|
||||
html[data-full],
|
||||
|
|
BIN
src/assets/web-fonts/fonts/hack-bold-subset.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-bold-subset.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bold-subset.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-bold-subset.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bold.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-bold.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bold.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-bold.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bolditalic-subset.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-bolditalic-subset.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bolditalic-subset.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-bolditalic-subset.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bolditalic.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-bolditalic.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-bolditalic.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-bolditalic.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-italic-subset.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-italic-subset.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-italic-subset.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-italic-subset.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-italic.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-italic.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-italic.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-italic.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-regular-subset.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-regular-subset.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-regular-subset.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-regular-subset.woff2
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-regular.woff
Normal file
BIN
src/assets/web-fonts/fonts/hack-regular.woff
Normal file
Binary file not shown.
BIN
src/assets/web-fonts/fonts/hack-regular.woff2
Normal file
BIN
src/assets/web-fonts/fonts/hack-regular.woff2
Normal file
Binary file not shown.
34
src/assets/web-fonts/hack-subset.css
Normal file
34
src/assets/web-fonts/hack-subset.css
Normal 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-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-regular-subset.woff?sha=3114f1256') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-bold-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bold-subset.woff?sha=3114f1256') format('woff');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-italic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-italic-webfont.woff?sha=3114f1256') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-bolditalic-subset.woff2?sha=3114f1256') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha=3114f1256') format('woff');
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
|
34
src/assets/web-fonts/hack-subset.css.in
Normal file
34
src/assets/web-fonts/hack-subset.css.in
Normal 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-subset.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-regular-subset.woff?sha={{ ink }}') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-bold-subset.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-bold-subset.woff?sha={{ ink }}') format('woff');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-italic-subset.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-italic-webfont.woff?sha={{ ink }}') format('woff');
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Hack';
|
||||
src: url('fonts/hack-bolditalic-subset.woff2?sha={{ ink }}') format('woff2'), url('fonts/hack-bolditalic-subset.woff?sha={{ ink }}') format('woff');
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
|
34
src/assets/web-fonts/hack.css
Normal file
34
src/assets/web-fonts/hack.css
Normal 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
src/assets/web-fonts/hack.css.in
Normal file
34
src/assets/web-fonts/hack.css.in
Normal 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;
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ const config: Config = {
|
|||
|
||||
/* fonts */
|
||||
fontFamily: {
|
||||
"open-sans": "'Open Sans'",
|
||||
"hack": "'Hack'",
|
||||
},
|
||||
|
||||
/* animations */
|
||||
|
|
Loading…
Reference in a new issue