mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 09:12:41 +01:00
270916a26e
Summary: - Allow Celerity to map and serve WOFF files. - Add Source Sans Pro, Source Sans Pro Bold, and the corresponding LICENSE. - Add a `font-source-sans-pro` resource for the font. Test Plan: - Changed body `font-face` to `'Source Sans Pro'`. - Added `require_celerity_resource('font-source-sans-pro')` in StandardPageView. Works in Firefox/Chrome/Safari, at least: {F123296} {F123297} {F123298} Reviewers: btrahan, chad Reviewed By: chad CC: chad, aran Differential Revision: https://secure.phabricator.com/D8430
23 lines
526 B
CSS
23 lines
526 B
CSS
/**
|
|
* @provides font-source-sans-pro
|
|
*/
|
|
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Source Sans Pro'),
|
|
local('SourceSansPro-Regular'),
|
|
url(/rsrc/externals/font/SourceSansPro.woff)
|
|
format('woff');
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
src: local('Source Sans Pro Bold'),
|
|
local('SourceSansPro-Bold'),
|
|
url(/rsrc/externals/font/SourceSansProBold.woff)
|
|
format('woff');
|
|
}
|