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
afc163
d5d0501ac7
site: change footer ui
2018-05-15 12:40:15 +08:00
afc163
5e4fed48f6
site: clean footer style code
2018-01-09 15:38:06 +08:00
ddcat1115
2aedc275d4
improve footer style
2017-11-29 00:08:48 +08:00
ddcat1115
49a49adae3
change lang-button pos & improve footer responsive
2017-11-28 17:01:41 +08:00
ddcat1115
721a5621c8
reset text-color and etc.
2017-11-28 16:16:37 +08:00
ddcat1115
daf596a898
Upgrade antd 3.0 site style ( #8324 )
...
* 3.0 site update
* update footer
* improve
2017-11-27 15:36:58 +08:00
afc163
24e2af63f2
site: update footer style
2017-09-04 11:55:45 +08:00
afc163
f230f61c23
Improve docs detail
2017-04-02 14:03:42 +08:00
afc163
c3748a60f4
site: improve responsive design
2017-02-21 12:07:28 +08:00
afc163
d1678711a7
docs: update footer
2017-02-16 16:25:42 +08:00
afc163
cf22bb926a
site: update footer style
2017-02-07 19:54:30 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
afc163
9042e139b3
Remove some unused code
2016-09-15 01:38:32 +08:00
RaoHai
ff31a5b555
Revert "Revert "refactor with bisheng""
...
This reverts commit 7a07b128d1
.
2016-05-27 11:48:08 +08:00
RaoHai
7a07b128d1
Revert "refactor with bisheng"
2016-05-27 11:03:49 +08:00
Benjy Cui
a031271384
site: refactor home & 404 with bisheng
2016-05-27 09:44:07 +08:00