Prefer custom WOFF2 fonts if the browser supports them
[ci skip]
This commit is contained in:
parent
948bb655f3
commit
6fd92ad4a9
13 changed files with 20 additions and 4 deletions
BIN
app/assets/fonts/SourceSansPro-Black.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-Black.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-BlackIt.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-BlackIt.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-Bold.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-Bold.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-BoldIt.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-BoldIt.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-ExtraLight.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-ExtraLight.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-ExtraLightIt.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-ExtraLightIt.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-It.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-It.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-Light.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-Light.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-LightIt.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-LightIt.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-Regular.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-Regular.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-Semibold.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-Semibold.ttf.woff2
Executable file
Binary file not shown.
BIN
app/assets/fonts/SourceSansPro-SemiboldIt.ttf.woff2
Executable file
BIN
app/assets/fonts/SourceSansPro-SemiboldIt.ttf.woff2
Executable file
Binary file not shown.
|
@ -3,23 +3,39 @@
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), font-url('SourceSansPro-Light.ttf.woff');
|
src:
|
||||||
|
local('Source Sans Pro Light'),
|
||||||
|
local('SourceSansPro-Light'),
|
||||||
|
font-url('SourceSansPro-Light.ttf.woff2') format('woff2'),
|
||||||
|
font-url('SourceSansPro-Light.ttf.woff') format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
src: local('Source Sans Pro'), local('SourceSansPro-Regular'), font-url('SourceSansPro-Regular.ttf.woff');
|
src:
|
||||||
|
local('Source Sans Pro'),
|
||||||
|
local('SourceSansPro-Regular'),
|
||||||
|
font-url('SourceSansPro-Regular.ttf.woff2') format('woff2'),
|
||||||
|
font-url('SourceSansPro-Regular.ttf.woff') format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), font-url('SourceSansPro-Semibold.ttf.woff');
|
src:
|
||||||
|
local('Source Sans Pro Semibold'),
|
||||||
|
local('SourceSansPro-Semibold'),
|
||||||
|
font-url('SourceSansPro-Semibold.ttf.woff2') format('woff2'),
|
||||||
|
font-url('SourceSansPro-Semibold.ttf.woff') format('woff');
|
||||||
}
|
}
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), font-url('SourceSansPro-Bold.ttf.woff');
|
src:
|
||||||
|
local('Source Sans Pro Bold'),
|
||||||
|
local('SourceSansPro-Bold'),
|
||||||
|
font-url('SourceSansPro-Bold.ttf.woff2') format('woff2'),
|
||||||
|
font-url('SourceSansPro-Bold.ttf.woff') format('woff');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue