forked from em/receptty.org
Oprava a optimalizace fontů
This commit is contained in:
parent
c0150be47e
commit
1d0adb33f2
@ -1,4 +1,24 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family:sofia;
|
font-family: sofia;
|
||||||
src:url(fonts/sofia.otf);
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('fonts/sofia-pro-light.woff2') format('woff2'),
|
||||||
|
url('fonts/sofia-pro-light.woff') format('woff'),
|
||||||
|
url('fonts/sofia-pro-light.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: sofia;
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
src: url('fonts/sofia-pro-light-italic.woff2') format('woff2'),
|
||||||
|
url('fonts/sofia-pro-light-italic.woff') format('woff'),
|
||||||
|
url('fonts/sofia-pro-light-italic.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: sofia;
|
||||||
|
font-weight: bold;
|
||||||
|
font-style: normal;
|
||||||
|
src: url('fonts/sofia-pro-medium.woff2') format('woff2'),
|
||||||
|
url('fonts/sofia-pro-medium.woff') format('woff'),
|
||||||
|
url('fonts/sofia-pro-medium.ttf') format('truetype');
|
||||||
}
|
}
|
||||||
|
@ -15,6 +15,7 @@ body {
|
|||||||
background:$body-background-image repeat $body-background;
|
background:$body-background-image repeat $body-background;
|
||||||
color:$body-color;
|
color:$body-color;
|
||||||
font-family: sofia, sans-serif;
|
font-family: sofia, sans-serif;
|
||||||
|
text-rendering: optimizeLegibility;
|
||||||
font-size:1em;
|
font-size:1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
static/fonts/sofia-pro-light-italic.ttf
Normal file
BIN
static/fonts/sofia-pro-light-italic.ttf
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-light-italic.woff
Normal file
BIN
static/fonts/sofia-pro-light-italic.woff
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-light-italic.woff2
Normal file
BIN
static/fonts/sofia-pro-light-italic.woff2
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-light.ttf
Normal file
BIN
static/fonts/sofia-pro-light.ttf
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-light.woff
Normal file
BIN
static/fonts/sofia-pro-light.woff
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-light.woff2
Normal file
BIN
static/fonts/sofia-pro-light.woff2
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-medium.ttf
Normal file
BIN
static/fonts/sofia-pro-medium.ttf
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-medium.woff
Normal file
BIN
static/fonts/sofia-pro-medium.woff
Normal file
Binary file not shown.
BIN
static/fonts/sofia-pro-medium.woff2
Normal file
BIN
static/fonts/sofia-pro-medium.woff2
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user