Added web font
This commit is contained in:
parent
9da8e29381
commit
f6709210e0
|
@ -123,6 +123,7 @@
|
|||
|
||||
<style lang="scss">
|
||||
@import "~node_modules/normalize.css/normalize";
|
||||
@import "~styles/fonts";
|
||||
@import "~styles/buttons";
|
||||
@import "~styles/colors";
|
||||
@import "~styles/layout";
|
||||
|
@ -147,7 +148,8 @@
|
|||
body {
|
||||
background: $background-primary;
|
||||
color: $text-color-base;
|
||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
||||
font-family: 'Halis GR', Avenir, Helvetica, Arial, sans-serif;
|
||||
font-weight: normal;
|
||||
font-size: 16px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
|
53
src/styles/fonts.scss
Normal file
53
src/styles/fonts.scss
Normal file
|
@ -0,0 +1,53 @@
|
|||
$fontPath: '/static/fonts/';
|
||||
|
||||
@font-face {
|
||||
font-family: 'Halis GR';
|
||||
src: url($fontPath + 'hinted-HalisGR-BoldItalic.eot');
|
||||
src:
|
||||
local('Halis GR Bold Italic'),
|
||||
local('HalisGR-BoldItalic'),
|
||||
url($fontPath + 'hinted-HalisGR-BoldItalic.eot?#iefix') format('embedded-opentype'),
|
||||
url($fontPath + 'hinted-HalisGR-BoldItalic.woff') format('woff'),
|
||||
url($fontPath + 'hinted-HalisGR-BoldItalic.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Halis GR';
|
||||
src: url($fontPath + 'hinted-HalisGR-Regular.eot');
|
||||
src:
|
||||
local('Halis GR Regular'),
|
||||
local('HalisGR-Regular'),
|
||||
url($fontPath + 'hinted-HalisGR-Regular.eot?#iefix') format('embedded-opentype'),
|
||||
url($fontPath + 'hinted-HalisGR-Regular.woff') format('woff'),
|
||||
url($fontPath + 'hinted-HalisGR-Regular.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Halis GR';
|
||||
src: url($fontPath + 'hinted-HalisGR-RegularItalic.eot');
|
||||
src:
|
||||
local('Halis GR Regular Italic'),
|
||||
local('HalisGR-RegularItalic'),
|
||||
url($fontPath + 'hinted-HalisGR-RegularItalic.eot?#iefix') format('embedded-opentype'),
|
||||
url($fontPath + 'hinted-HalisGR-RegularItalic.woff') format('woff'),
|
||||
url($fontPath + 'hinted-HalisGR-RegularItalic.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Halis GR';
|
||||
src: url($fontPath + 'hinted-HalisGR-Bold.eot');
|
||||
src:
|
||||
local('Halis GR Bold'),
|
||||
local('HalisGR-Bold'),
|
||||
url($fontPath + 'hinted-HalisGR-Bold.eot?#iefix') format('embedded-opentype'),
|
||||
url($fontPath + 'hinted-HalisGR-Bold.woff') format('woff'),
|
||||
url($fontPath + 'hinted-HalisGR-Bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
BIN
static/fonts/hinted-HalisGR-Bold.eot
Normal file
BIN
static/fonts/hinted-HalisGR-Bold.eot
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-Bold.ttf
Normal file
BIN
static/fonts/hinted-HalisGR-Bold.ttf
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-Bold.woff
Normal file
BIN
static/fonts/hinted-HalisGR-Bold.woff
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-BoldItalic.eot
Normal file
BIN
static/fonts/hinted-HalisGR-BoldItalic.eot
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-BoldItalic.ttf
Normal file
BIN
static/fonts/hinted-HalisGR-BoldItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-BoldItalic.woff
Normal file
BIN
static/fonts/hinted-HalisGR-BoldItalic.woff
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-Regular.eot
Normal file
BIN
static/fonts/hinted-HalisGR-Regular.eot
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-Regular.ttf
Normal file
BIN
static/fonts/hinted-HalisGR-Regular.ttf
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-Regular.woff
Normal file
BIN
static/fonts/hinted-HalisGR-Regular.woff
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-RegularItalic.eot
Normal file
BIN
static/fonts/hinted-HalisGR-RegularItalic.eot
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-RegularItalic.ttf
Normal file
BIN
static/fonts/hinted-HalisGR-RegularItalic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/hinted-HalisGR-RegularItalic.woff
Normal file
BIN
static/fonts/hinted-HalisGR-RegularItalic.woff
Normal file
Binary file not shown.
Loading…
Reference in a new issue