mirror of
https://github.com/GuerillaStudio/souvenir.git
synced 2025-01-20 18:50:21 +00:00
style: Setup webfonts
This commit is contained in:
parent
161be77909
commit
fbe2c3bce9
6 changed files with 23 additions and 2 deletions
BIN
public/fonts/Roboto-bold.woff
Executable file
BIN
public/fonts/Roboto-bold.woff
Executable file
Binary file not shown.
BIN
public/fonts/Roboto.woff
Executable file
BIN
public/fonts/Roboto.woff
Executable file
Binary file not shown.
|
@ -7,7 +7,7 @@
|
|||
<script>
|
||||
|
||||
export default {
|
||||
name: 'souvenir',
|
||||
name: 'souvenir'
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,3 +1,21 @@
|
|||
/* ----------------------------------------------------------- */
|
||||
/* == custom fonts */
|
||||
/* ----------------------------------------------------------- */
|
||||
|
||||
@font-face {
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/Roboto.woff") format("woff"), local("Roboto");
|
||||
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-family: "Roboto";
|
||||
src: url("/fonts/Roboto-bold.woff") format("woff"), local("Roboto");
|
||||
|
||||
font-display: swap;
|
||||
}
|
||||
|
|
|
@ -6,6 +6,9 @@ body {
|
|||
background: var(--color-tertiary) url("/img/dotgrid.png");
|
||||
color: var(--color-light-text);
|
||||
font-family: var(--fontstack);
|
||||
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.container {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
:root {
|
||||
--base-font: 14; /* px value (without unit), will be converted in em */
|
||||
--line-height: 1.5;
|
||||
--fontstack: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
--fontstack: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
/* responsive
|
||||
|
|
Loading…
Reference in a new issue