1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/webroot/rsrc/css/font/font-aleo.css
Chad Little 2ca269cb31 Replace Roboto Slab with Aleo for PHUIDocumentView
Summary: These fonts are functionally very similar, but in diagnosing a problem with mobile Safari/Chrome, it turned out that our use of "bold" with the "normal" font build created a "semibold" look when on desktop and a "normal" look on mobile. The "semibold" feel is more important, so finding a lighter "bold" font was the impetus for this font switch. As it turns out **Aleo** is built by the same author as **Lato** (our other font) and is intended as it's companion. So stylistically, this is the more correct font.

Test Plan:
Test Phriction, Legalpad, Diviner, Desktop and Mobile

{F938013}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D14391
2015-11-02 20:02:42 -08:00

40 lines
1.2 KiB
CSS

/**
* @provides font-aleo
* @requires phui-fontkit-css
*/
@font-face {
font-family: 'Aleo';
font-weight: bold;
font-style: normal;
src: url(/rsrc/externals/font/aleo/aleo-bold.eot);
src: url(/rsrc/externals/font/aleo/aleo-bold.eot?#iefix)
format('embedded-opentype'),
url(/rsrc/externals/font/aleo/aleo-bold.woff2)
format('woff2'),
url(/rsrc/externals/font/aleo/aleo-bold.woff)
format('woff'),
url(/rsrc/externals/font/aleo/aleo-bold.ttf)
format('truetype'),
url(/rsrc/externals/font/aleo/aleo-bold.svg#aleo-bold)
format('svg');
}
@font-face {
font-family: 'Aleo';
font-weight: normal;
font-style: normal;
src: url(/rsrc/externals/font/aleo/aleo-regular.eot);
src: url(/rsrc/externals/font/aleo/aleo-regular.eot?#iefix)
format('embedded-opentype'),
url(/rsrc/externals/font/aleo/aleo-regular.woff2)
format('woff2'),
url(/rsrc/externals/font/aleo/aleo-regular.woff)
format('woff'),
url(/rsrc/externals/font/aleo/aleo-regular.ttf)
format('truetype'),
url(/rsrc/externals/font/aleo/aleo-regular.svg#aleo-regular)
format('svg');
}