mirror of
https://github.com/Spythere/genera-tor.git
synced 2026-05-04 22:18:13 +00:00
refactor: fonts optimization
This commit is contained in:
+32
-23
@@ -1,24 +1,33 @@
|
||||
/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||
/* libre-franklin-regular - latin_latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Libre Franklin';
|
||||
src: url('/fonts/LibreFranklin-Bold.woff2') format('woff2');
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Libre Franklin';
|
||||
src: url('/fonts/LibreFranklin-Regular.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Libre Franklin';
|
||||
src: url('/fonts/LibreFranklin-SemiBold.woff2') format('woff2');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
font-display: swap;
|
||||
font-family: 'Libre Franklin';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('/fonts/libre-franklin-regular.woff2') format('woff2');
|
||||
}
|
||||
/* libre-franklin-500 - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Libre Franklin';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url('/fonts/libre-franklin-500.woff2') format('woff2');
|
||||
}
|
||||
/* libre-franklin-700 - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Libre Franklin';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('/fonts/libre-franklin-700.woff2') format('woff2');
|
||||
}
|
||||
/* libre-franklin-800 - latin_latin-ext */
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Libre Franklin';
|
||||
font-style: normal;
|
||||
font-weight: 800;
|
||||
src: url('/fonts/libre-franklin-800.woff2') format('woff2');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user