Use local fonts

This commit is contained in:
Boris Kubiak 2018-01-13 20:12:26 +01:00
parent 631f247dac
commit c05bf0cf69
4 changed files with 29 additions and 0 deletions

View file

@ -21,6 +21,12 @@ h1, h2, h3, h4, h5, h6, p, label
[v-cloak]
display: none
a, a:visited, a:hover
color: $grey-text
text-decoration: underline
a:hover
color: $white-text
.header
margin-bottom: 8em
color: $white-text
@ -197,6 +203,29 @@ h1, h2, h3, h4, h5, h6, p, label
margin-left: 15px
word-break: break-all
/*-- Fonts --*/
@font-face
font-family: 'Lato'
font-style: normal
font-weight: 400
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/lato-regular.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215
@font-face
font-family: 'Montserrat'
font-style: normal
font-weight: 400
src: local('Montserrat Regular'), local('Montserrat-Regular'), url(../fonts/montserrat.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215
@font-face
font-family: 'Montserrat'
font-style: normal
font-weight: 700
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(../fonts/montserrat-bold.woff2) format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215
/*-- Responsive design --
@media screen and (max-width: 1280px)

BIN
fonts/lato-regular.woff2 Normal file

Binary file not shown.

BIN
fonts/montserrat-bold.woff2 Normal file

Binary file not shown.

BIN
fonts/montserrat.woff2 Normal file

Binary file not shown.