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/ ).
6 years ago
afc163
d4a5d2c188
site: fix home button align
7 years ago
afc163
5294a69296
site: fix home page style
7 years ago
afc163
80a4ee7731
site: update home button style
7 years ago
nikogu
1329de5ebd
fix home page button text overflow
7 years ago
afc163
70569c6d28
site: improve responsive style
7 years ago
afc163
27a2d68a1b
site: update home page font family
7 years ago
afc163
f0dd8191d4
update home style
7 years ago
jljsj
e09c71f22e
add bnts will-change
7 years ago
afc163
b2af3e2afc
site: tweak home style
7 years ago
Wei Zhu
d7fb63f8c3
site: large github button
7 years ago
afc163
680d28b148
Fix site style
7 years ago
Wei Zhu
4e743ea051
site: tweak github button position
7 years ago
Wei Zhu
9048b042fc
site: tweak home page
7 years ago
afc163
ccaaf8d027
update home style
7 years ago
afc163
97edf48f52
update font family
7 years ago
竹尔
0125ae075f
Update home.less
7 years ago
jljsj
a0814e29c6
add new version video
7 years ago
jljsj
3c74a26758
add en
7 years ago
jljsj
94e05ff3bc
add link
7 years ago
jljsj
44a7837784
re alt
7 years ago
jljsj
f948b9fb54
add 3.0 landing page
7 years ago
afc163
f3df363ec7
update site style
7 years ago
afc163
dd364e3358
site: fix details
7 years ago
jiang
4eb51bcb5c
Update home.less
7 years ago
afc163
3f3fbfbe67
Add promote link for seeconf
7 years ago
afc163
5e48badbb7
Improve home page style
7 years ago
ddcat1115
0b31c256e3
tweak home style
7 years ago
afc163
f7a8d02f09
update home page style, close #8238
7 years ago
ddcat1115
721a5621c8
reset text-color and etc.
7 years ago
afc163
084b444252
Fix home page style
7 years ago
afc163
a65ff1c2df
fix site style
8 years ago
afc163
deebe4d973
site: tweak style
8 years ago
afc163
b526083fa6
set monospaced font-family for number
8 years ago
jiang
00326db74e
fix scrollAnim hideProps header … ( #5506 )
* fix https://github.com/react-component/scroll-anim/issues/19 , header switch
* fix home icon down animation
8 years ago
afc163
05b20c6a9f
fix stylelint problems of site
8 years ago
afc163
98ad1a9186
site: update home
8 years ago
afc163
53b94a5996
site: update start button style
8 years ago
afc163
b7c5fb40ae
update home page style
8 years ago
pd4d10
ca4697be55
doc: Fix star count ( #4610 )
8 years ago
偏右
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
8 years ago
afc163
752392a964
Improve home page style in Mobile device
8 years ago
afc163
109d72ea70
update home button style
8 years ago
jiang
ca881823f2
site: update home ( #3939 )
8 years ago
afc163
42b4df295c
update site for primary-color change
8 years ago
jiang
f703e00c0f
Home fix ( #3807 )
* fix home
* update Banner min height
8 years ago
afc163
c0b0d493de
update site
8 years ago
afc163
d90bf42fd5
update site font
8 years ago
afc163
bd3434de30
fix home link
8 years ago
afc163
6745f469bb
update Home introduce
8 years ago