mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 04:50:55 +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
38 lines
791 B
CSS
38 lines
791 B
CSS
/**
|
|
* @provides phui-fontkit-css
|
|
*/
|
|
|
|
.phui-font-source-sans {
|
|
font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.phui-font-source-sans .phabricator-remarkup h2 {
|
|
padding: 8px 24px 8px 0;
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
color: {$bluetext};
|
|
margin: 0 0 16px;
|
|
}
|
|
|
|
.phui-font-source-sans .phabricator-remarkup tt {
|
|
font-size: 13px;
|
|
padding: 1px 3px 2px;
|
|
}
|
|
|
|
.phui-font-source-sans .phui-property-list-section {
|
|
border-bottom: 1px solid {$thinblueborder};
|
|
margin-bottom: 8px;
|
|
background: {$lightgreybackground};
|
|
}
|
|
|
|
.phui-font-source-sans .phui-property-list-container {
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.phui-font-source-sans a {
|
|
color: {$blue};
|
|
}
|