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-family:sofia;
|
||||
src:url(fonts/sofia.otf);
|
||||
font-family: sofia;
|
||||
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;
|
||||
color:$body-color;
|
||||
font-family: sofia, sans-serif;
|
||||
text-rendering: optimizeLegibility;
|
||||
font-size:1em;
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue