Oprava a optimalizace fontů
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emil Miler 2022-10-17 09:52:52 +02:00
parent c0150be47e
commit 1d0adb33f2
12 changed files with 23 additions and 2 deletions

View File

@ -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');
} }

View File

@ -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;
} }

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.