1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-13 08:11:04 +01:00
phorge-phorge/webroot/rsrc/css/phui/phui-fontkit.css
Chad Little d961a15d07 Swap Source Sans Bold for Semibold
Summary: Testing this out, feels much less heavy and more readable for me, but open to other feedback. I've also corrected/normalize the header sizes and heights.

Test Plan:
Copied some real Phriction documents to my local install, read them all. Checked header sizes and make sure px are used for more absolute control over sizes.

{F387327}

{F387328}

{F387329}

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T7963

Differential Revision: https://secure.phabricator.com/D12587
2015-04-28 07:19:16 -07:00

109 lines
2.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,
.conpherence-durable-column-body,
.conpherence-durable-column-body .remarkup-assist-textarea {
font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
font-weight: 400;
font-size: 14px;
line-height: 18px;
}
.PhabricatorMonospaced .phui-document-view .phui-font-source-sans,
.phui-document-view .phui-font-source-sans .phabricator-remarkup
.remarkup-code-block .remarkup-code {
font-size: 11px;
line-height: 1.3em;
}
.platform-windows .PhabricatorMonospaced .phui-document-view
.phui-font-source-sans,
.platform-windows .phui-document-view .phui-font-source-sans
.phabricator-remarkup .remarkup-code-block .remarkup-code {
font-size: 12px;
line-height: 1.3em;
}
.phui-font-source-sans .phabricator-remarkup h1.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h2.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h3.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h4.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h5.remarkup-header,
.phui-font-source-sans .phabricator-remarkup h6.remarkup-header {
color: {$bluetext};
font-weight: 600;
}
.phui-font-source-sans .phabricator-remarkup h2.remarkup-header {
padding: 24px 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;
font-weight: normal;
}
.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;
}