1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-fontkit.css
epriestley 270916a26e Support WOFF files in Celerity and add Source Sans Pro
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
2014-03-06 11:28:24 -08:00

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};
}