feat: include .woff
and .woff2
versions for text fonts (#49)
This commit is contained in:

committed by
GitHub

parent
b9e18a1510
commit
81956c34b6
BIN
fonts/Lato/Lato-Regular.woff
Normal file
BIN
fonts/Lato/Lato-Regular.woff
Normal file
Binary file not shown.
BIN
fonts/Lato/Lato-Regular.woff2
Normal file
BIN
fonts/Lato/Lato-Regular.woff2
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Black.woff
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Black.woff
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Black.woff2
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Black.woff2
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Bold.woff
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Bold.woff
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Bold.woff2
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Bold.woff2
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Regular.woff
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Regular.woff
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-Regular.woff2
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-Regular.woff2
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-SemiBold.woff
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-SemiBold.woff
Normal file
Binary file not shown.
BIN
fonts/Source_Sans_Pro/SourceSansPro-SemiBold.woff2
Normal file
BIN
fonts/Source_Sans_Pro/SourceSansPro-SemiBold.woff2
Normal file
Binary file not shown.
@ -1 +1,51 @@
|
|||||||
/*! Source Sans Pro */@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:400;font-display:swap;src:url(Source_Sans_Pro/SourceSansPro-Regular.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:600;font-display:swap;src:url(Source_Sans_Pro/SourceSansPro-SemiBold.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:700;font-display:swap;src:url(Source_Sans_Pro/SourceSansPro-Bold.ttf) format('truetype')}@font-face{font-family:'Source Sans Pro';font-style:normal;font-weight:900;font-display:swap;src:url(Source_Sans_Pro/SourceSansPro-Black.ttf) format('truetype')}/*! Lato */@font-face{font-family:Lato;font-style:normal;font-weight:400;font-display:swap;src:url(Lato/Lato-Regular.ttf) format('truetype')}
|
/* Source Sans Pro */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('Source_Sans_Pro/SourceSansPro-Regular.woff2') format('woff2'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Regular.woff') format('woff'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Regular.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 600;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('Source_Sans_Pro/SourceSansPro-SemiBold.woff2') format('woff2'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-SemiBold.woff') format('woff'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-SemiBold.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('Source_Sans_Pro/SourceSansPro-Bold.woff2') format('woff2'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Bold.woff') format('woff'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Bold.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Source Sans Pro';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('Source_Sans_Pro/SourceSansPro-Black.woff2') format('woff2'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Black.woff') format('woff'),
|
||||||
|
url('Source_Sans_Pro/SourceSansPro-Black.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Lato */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Lato';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url('Lato/Lato-Regular.woff2') format('woff2'),
|
||||||
|
url('Lato/Lato-Regular.woff') format('woff'),
|
||||||
|
url('Lato/Lato-Regular.ttf') format('truetype');
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user