ant-design/docs/spec
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
..
alignment.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
alignment.zh-CN.md Update english version image 2018-01-05 12:41:24 +08:00
cases.en-US.md Update cases.en-US.md 2018-06-07 11:57:11 +08:00
cases.zh-CN.md Update cases.zh-CN.md 2018-06-07 11:58:16 +08:00
colors.en-US.md Update English version 2018-01-05 10:32:00 +08:00
colors.zh-CN.md docs: Add zhihu article link 2018-07-30 16:21:59 +08:00
contrast.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
contrast.zh-CN.md Update contrast.zh-CN.md 2018-01-05 10:33:59 +08:00
copywriting.md fix doc style 2018-01-07 18:51:26 +08:00
data-display.md Update 2018-01-05 11:06:54 +08:00
data-entry.md Update data-entry.md 2018-01-05 10:33:59 +08:00
direct.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
direct.zh-CN.md Update english version image 2018-01-05 12:41:24 +08:00
download.en-US.md site: add kitchen link in footer 2018-05-14 19:52:51 +08:00
download.zh-CN.md site: add kitchen link in footer 2018-05-14 19:52:51 +08:00
feedback.md Update feedback.md 2018-01-05 11:47:17 +08:00
font.en-US.md Use tabular-nums font variant instead of switching to Tahoma for figures 2018-08-04 11:28:14 +08:00
font.zh-CN.md docs: translate font.md (#9587) 2018-03-12 13:43:56 +08:00
icon.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
icon.zh-CN.md Update icon.zh-CN.md 2018-01-05 10:33:59 +08:00
introduce.en-US.md docs: add vue-antd-ui link (#10463) 2018-05-10 23:56:22 +08:00
introduce.zh-CN.md Update introduce.zh-CN.md 2018-06-03 22:58:59 +08:00
invitation.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
invitation.zh-CN.md Update invitation.zh-CN.md 2018-01-05 10:33:59 +08:00
layout.en-US.md docs: add layout.md translation (#9593) 2018-03-12 13:50:45 +08:00
layout.zh-CN.md docs: add layout.md translation (#9593) 2018-03-12 13:50:45 +08:00
lightweight.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
lightweight.zh-CN.md Update lightweight.zh-CN.md 2018-01-05 10:33:59 +08:00
motion.md Typo 2018-01-05 10:32:00 +08:00
navigation.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
navigation.zh-CN.md Update navigation.zh-CN.md 2018-01-05 10:33:59 +08:00
overview.md Update overview.md 2018-01-05 11:17:41 +08:00
proximity.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
proximity.zh-CN.md Update proximity.zh-CN.md 2018-01-05 10:33:59 +08:00
reaction.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
reaction.zh-CN.md 图片描述与内容不符 (#10755) 2018-06-04 10:41:47 +08:00
reference.en-US.md some details 2018-01-05 23:06:29 +08:00
reference.zh-CN.md some details 2018-01-05 23:06:29 +08:00
repetition.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
repetition.zh-CN.md Update repetition.zh-CN.md 2018-01-05 10:33:59 +08:00
stay.en-US.md Update english version image 2018-01-05 12:41:24 +08:00
stay.zh-CN.md Update english version image 2018-01-05 12:41:24 +08:00
transition.en-US.md Update Guidelines 2017-07-24 03:15:07 +07:00
transition.zh-CN.md Update transition.zh-CN.md 2018-01-05 10:32:00 +08:00
values.en-US.md Docs: Fix spelling (#11316) 2018-07-18 09:43:40 +08:00
values.zh-CN.md Update values.zh-CN.md 2018-01-23 11:18:39 +08:00
visual.md Update visual.md 2018-07-17 14:09:36 +08:00
work-with-us.en-US.md site: add search input in home page 2018-03-26 15:32:48 +08:00
work-with-us.zh-CN.md Update work-with-us.zh-CN.md 2018-06-12 17:22:16 +08:00