ant-design/site/theme/static
Thibault Derousseaux 43abea3212 Use tabular-nums font variant instead of switching to Tahoma for figures
Using a completely different font for figures leads to inconsistencies: https://github.com/ant-design/ant-design/issues/9422.
Most modern font systems defaults to [tabular figures](https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures).
One exception to this is Apple's San Francisco which defaults to [proportional figures](http://martiancraft.com/blog/2015/10/san-francisco-part-2/#special-features-numerals).
There is, however, an official and clean way to switch to tabular figures. It's the [`font-variant` CSS property](https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric) that can be set to `tabular-nums`.

This commit removes the "Monospaced Number" font altogether and use `font-variant: tabular-nums` instead where it was used.
It also moves closer to the sans-serif and monospace [system font stacks used by GitHub](http://markdotto.com/2018/02/07/github-system-fonts/).
2018-08-04 11:28:14 +08:00
..
colors.less site: valid primary color range 2018-04-27 22:09:49 +08:00
common.less Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
demo.less site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
docsearch.less Add algolia search 2018-01-05 10:32:49 +08:00
footer.less Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
header.less Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
highlight.less reset text-color and etc. 2017-11-28 16:16:37 +08:00
home.less Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
icons.less fix site icon hover transition 2018-03-27 15:40:31 +08:00
index.less remove santa code 2018-01-13 14:01:23 +08:00
markdown.less Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
mock-browser.less Improve iframe demo look 2017-03-18 15:15:00 +08:00
motion.less update logo 2017-11-28 11:18:18 +08:00
new-version-info-modal.less Revert "Revert "refactor with bisheng"" 2016-05-27 11:48:08 +08:00
not-found.less reset text-color and etc. 2017-11-28 16:16:37 +08:00
nprogress.less fix stylelint problems of site 2017-02-26 15:41:50 +08:00
page-nav.less site: fix overflow arrow 2018-01-11 21:29:18 +08:00
preview-img.less Update style 2018-01-05 10:33:59 +08:00
resource.less site: update resource card style 2018-01-13 14:34:50 +08:00
responsive.less site: change footer ui 2018-05-15 12:40:15 +08:00
style.js Improve documentation 2018-07-13 22:23:12 +08:00
template.html Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
theme.less reset text-color and etc. 2017-11-28 16:16:37 +08:00
toc.less Move maxHeight code into anchor, close #8606 2017-12-28 13:20:12 +08:00