Change CSS font strategy + better fallback

Fix @cartes.data.gouv.fr/#25

* Only keep useful woff/woff2 fonts: http://davidensinger.com/2014/10/update-your-font-face-file-formats-to-just-use-woff-and-woff2/
* Fallback to system fonts: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
* Declare fonts with correct weight/style to avoid the change to all elements: http://stackoverflow.com/a/21614532
* Switch from Bold to SemiBold to be consistent with the use of Light by default
This commit is contained in:
David Larlet 2017-05-04 17:57:11 -04:00
parent ef024c772d
commit 45b90a35b6
No known key found for this signature in database
GPG key ID: 9062C60D1359EA98
117 changed files with 21 additions and 3066 deletions

BIN
umap/static/umap/font/FiraSans-Light.woff Normal file → Executable file

Binary file not shown.

Binary file not shown.

BIN
umap/static/umap/font/FiraSans-LightItalic.woff Normal file → Executable file

Binary file not shown.

Binary file not shown.

BIN
umap/static/umap/font/FiraSans-SemiBold.woff Normal file → Executable file

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more