1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-21 04:50:55 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-fontkit.css
Chad Little 1236043472 Make base font a Celerity CSS variable
Summary: For consistency, we switch back to base font in a few places when using alternate fonts like source-sans or monospace, this makes sure the base font is consistently reset.

Test Plan: Review a Document, a Diff, and a Legalpad form

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11891
2015-02-26 09:26:36 -08:00

81 lines
1.9 KiB
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.conpherence-message-pane,
.phui-font-source-sans.conpherence-message-pane .remarkup-assist-textarea {
font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 18px;
}
.phui-font-source-sans .phabricator-remarkup h2.remarkup-header {
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 ol li.remarkup-list-item,
.phui-font-source-sans .phabricator-remarkup ul li.remarkup-list-item {
margin-bottom: 4px;
}
.phui-font-source-sans .phabricator-remarkup tt.remarkup-monospaced {
font-size: 13px;
padding: 1px 3px 2px;
}
.diviner-view .phui-font-source-sans .phui-property-list-section,
.legalpad .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-text-content {
background: {$lightgreybackground};
padding: 0;
}
.phui-font-source-sans .phui-property-list-container {
padding-bottom: 6px;
font: {$basefont};
line-height: 16px;
}
.phui-font-source-sans .phabricator-action-view {
font: {$basefont};
font-size: 12px;
}
.phui-font-source-sans a.atom-ref,
.phui-font-source-sans a.remarkup-link {
color: {$blue};
}
body .phui-font-source-sans
.phui-header-shell.phui-bleed-header .phui-header-view {
font-size: 18px;
}
.phui-font-source-sans .phui-form-view {
font: {$basefont};
font-weight: normal;
}
.phui-font-source-sans .phui-tag-shade .phui-icon-view {
font-size: 13px;
top: 4px;
left: 6px;
}