Commit Graph

588 Commits

Author SHA1 Message Date
afc163
b99f205cf8 site: clear out new icons which were not new 2018-08-27 22:32:54 +08:00
afc163
0e1b304513 Fix codepen error for react@16 and moment, close #11886 2018-08-27 13:28:41 +08:00
afc163
68959b9a4f site: update yuque description 2018-08-23 23:14:26 +08:00
afc163
d13187ba1e site: tweak script and style tags order 2018-08-20 17:08:07 +08:00
afc163
55d43eb13b site: move script to body bottom 2018-08-17 22:29:36 +08:00
afc163
45ac4872b2 update chinese slogan 2018-08-16 23:32:50 +08:00
afc163
8d873785a7 Add badge above footer kitchen link 2018-08-14 12:26:53 +08:00
afc163
799c7be17e Fix site error in IE10/11 which don't support conditional comments 2018-08-12 00:04:58 +08:00
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
Wei Zhu
bb29c46cda
Update ErrorBoundary.js 2018-08-02 18:10:59 +08:00
afc163
0587804fb1 Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
afc163
e397c094bb site: Add ErrorBoundary for live demo, ref #11553 2018-08-02 16:34:04 +08:00
afc163
7ec566928d site: improve code style 2018-08-02 16:25:47 +08:00
Ilan Hasanov
68ce09be4e 🐛 fix icons page 100% cpu usage 2018-07-28 02:05:02 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
afc163
18d85141e1 site: update document title in home page
Tribute to material-ui.com and 😉
2018-07-21 13:18:23 +08:00
Wei Zhu
f22353cd2b Use npm package for offline-plugin
tnpm don't support git dependency
2018-07-20 11:53:49 +08:00
jim
306389273a Improve documentation 2018-07-13 22:23:12 +08:00
afc163
5fe25d9c23 site: fix collapse all button and import it, close #11113 2018-07-01 12:13:46 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
afc163
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +08:00
Wei Zhu
05c5115991 site: fix lint 2018-06-08 23:21:25 +08:00
Wei Zhu
7149d1fdff Add offline support (#10738)
* site: add offline support

* test update

* Revert "test update"

This reverts commit e1cb2fba80.

* use reduce
2018-06-02 12:46:09 +08:00
afc163
0fc5a0ece5 site: add alt to images 2018-05-21 23:47:22 +08:00
afc163
6458280cb3 site: add alt to images 2018-05-21 23:42:57 +08:00
afc163
0f73b5d3f7 site: upgrade analytics code 2018-05-21 23:27:26 +08:00
afc163
14beee1fe1 site: add baidu tongji 2018-05-21 22:58:12 +08:00
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
2018-05-18 12:01:32 +08:00
afc163
9b17a943f5 site: use correct locale for component 2018-05-18 11:34:26 +08:00
afc163
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +08:00
afc163
77e21d33ea site: fix link 2018-05-14 21:25:38 +08:00
afc163
bdb4483ef5 site: add kitchen link in footer 2018-05-14 19:52:51 +08:00
afc163
bc8353729c site: add kitchen homepage 2018-05-14 13:58:54 +08:00
afc163
5e0b8df412 site: fix button align of home page 2018-05-14 00:07:39 +08:00
afc163
35b751da15 site: better responsive 2018-05-12 14:02:34 +08:00
afc163
fbf09e86af site: show version info in home page 2018-05-09 10:45:45 +08:00
afc163
74e36325a2 site: tweak style 2018-04-29 23:02:07 +08:00
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque (#10299) 2018-04-29 10:42:45 +08:00
afc163
8b02a21d36 site: valid primary color range 2018-04-27 22:09:49 +08:00
afc163
be43e56835 site: fix color tool, close #10265 2018-04-27 21:23:51 +08:00
afc163
8ab4aeb9c4 site: fix ad flush 2018-04-22 22:37:58 +08:00
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +08:00
Wei Zhu
163f2aae64 site: fix typo 2018-04-19 17:49:29 +08:00
偏右
a7f898e4b2
Update zh-CN.js 2018-04-08 00:20:57 +08:00
afc163
134e60fe2b site: fix color index 2018-03-30 11:20:13 +08:00
jljsj
a7107c6adf fix site icon hover transition 2018-03-27 15:40:31 +08:00
afc163
e400ef6d30 site: fix extra space in page bottom 2018-03-26 16:53:02 +08:00
afc163
1abe1517d8 Add deer tracking code 2018-03-26 15:35:39 +08:00
afc163
99cc5b9607 site: add search input in home page 2018-03-26 15:32:48 +08:00
afc163
e7ba4fb3f0 remove unused comment 2018-03-26 15:04:36 +08:00