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
Wei Zhu
bb29c46cda
Update ErrorBoundary.js
6 years ago
afc163
0587804fb1
Fix kcard.alipay.com issue, close #11349
6 years ago
afc163
e397c094bb
site: Add ErrorBoundary for live demo, ref #11553
6 years ago
afc163
7ec566928d
site: improve code style
6 years ago
Ilan Hasanov
68ce09be4e
🐛 fix icons page 100% cpu usage
6 years ago
afc163
6be189aa0f
site: styling API Tables
6 years ago
afc163
18d85141e1
site: update document title in home page
Tribute to material-ui.com and 😉
6 years ago
Wei Zhu
f22353cd2b
Use npm package for offline-plugin
tnpm don't support git dependency
6 years ago
jim
306389273a
Improve documentation
7 years ago
afc163
5fe25d9c23
site: fix collapse all button and import it, close #11113
6 years ago
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
7 years ago
afc163
7e2ba7e6d3
site: fix code demo icon style in IE
7 years ago
Wei Zhu
05c5115991
site: fix lint
7 years ago
Wei Zhu
c2d94ad84d
Don't cache badge since they don't allow cor
7 years ago
Wei Zhu
7149d1fdff
Add offline support ( #10738 )
* site: add offline support
* test update
* Revert "test update"
This reverts commit e1cb2fba80
.
* use reduce
7 years ago
afc163
0fc5a0ece5
site: add alt to images
7 years ago
afc163
6458280cb3
site: add alt to images
7 years ago
afc163
0f73b5d3f7
site: upgrade analytics code
7 years ago
afc163
14beee1fe1
site: add baidu tongji
7 years ago
Zohaib Ijaz
df7ef9a833
site: Repalced generateColorLess script with antd-theme-generator
* Repalced generateColorLess script with antd-theme-generator which allows to dynamically change theme for all color variables
* Updated antd-theme-generator version
* Updated Ant styles directory path
7 years ago
afc163
9b17a943f5
site: use correct locale for component
7 years ago
afc163
d5d0501ac7
site: change footer ui
7 years ago
afc163
77e21d33ea
site: fix link
7 years ago
afc163
bdb4483ef5
site: add kitchen link in footer
7 years ago
afc163
bc8353729c
site: add kitchen homepage
7 years ago
afc163
5e0b8df412
site: fix button align of home page
7 years ago
afc163
35b751da15
site: better responsive
7 years ago
afc163
fbf09e86af
site: show version info in home page
7 years ago
afc163
74e36325a2
site: tweak style
7 years ago
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque ( #10299 )
7 years ago
afc163
8b02a21d36
site: valid primary color range
7 years ago
afc163
be43e56835
site: fix color tool, close #10265
7 years ago
afc163
8ab4aeb9c4
site: fix ad flush
7 years ago
Benjy Cui
e444dc5e39
chore: add ad for yuque ( #10182 )
7 years ago
Wei Zhu
163f2aae64
site: fix typo
7 years ago
偏右
a7f898e4b2
Update zh-CN.js
7 years ago
afc163
134e60fe2b
site: fix color index
7 years ago
jljsj
a7107c6adf
fix site icon hover transition
7 years ago
afc163
e400ef6d30
site: fix extra space in page bottom
7 years ago
afc163
1abe1517d8
Add deer tracking code
7 years ago
afc163
99cc5b9607
site: add search input in home page
7 years ago
afc163
e7ba4fb3f0
remove unused comment
7 years ago
afc163
fc99a6a436
site: use ant-design-palettes
7 years ago
afc163
468a7629e7
site: fix intersection-observer polyfill
7 years ago
afc163
a2018e7c44
site: fix scroll to current hash in chrome
7 years ago
愚指导
2548a4bcf9
add polyfill for ie ( #9444 )
7 years ago
afc163
d4a5d2c188
site: fix home button align
7 years ago
afc163
5294a69296
site: fix home page style
7 years ago
afc163
ec399ba27f
site: update link description
7 years ago