Commit Graph

302 Commits

Author SHA1 Message Date
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
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
afc163
0587804fb1 Fix kcard.alipay.com issue, close #11349 2018-08-02 17:00:39 +08:00
afc163
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +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
7e2ba7e6d3 site: fix code demo icon style in IE 2018-06-10 23:03:07 +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
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +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
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
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +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
愚指导
2548a4bcf9 add polyfill for ie (#9444) 2018-03-02 11:49:56 +08:00
afc163
d4a5d2c188 site: fix home button align 2018-02-26 13:54:09 +08:00
afc163
5294a69296 site: fix home page style 2018-02-11 18:10:02 +08:00
afc163
80a4ee7731 site: update home button style 2018-01-31 10:14:25 +08:00
nikogu
1329de5ebd fix home page button text overflow 2018-01-27 22:34:44 +08:00
afc163
70569c6d28 site: improve responsive style 2018-01-27 15:17:43 +08:00
jljsj
7b90be6326 update responsive, add home footer style 2018-01-19 18:17:10 +08:00
afc163
8de2b470b0 site: update resource card style 2018-01-13 14:34:50 +08:00
afc163
19c65cece7 remove santa code 2018-01-13 14:01:23 +08:00
afc163
27a2d68a1b site: update home page font family 2018-01-12 20:47:07 +08:00
afc163
ebac0f7675 site: fix overflow arrow 2018-01-11 21:29:18 +08:00
Wei Zhu
3467ba639d site: update grey color value 2018-01-11 10:25:49 +08:00
afc163
f0dd8191d4 update home style 2018-01-10 13:43:39 +08:00
jljsj
e09c71f22e add bnts will-change 2018-01-10 10:35:34 +08:00
afc163
b2af3e2afc site: tweak home style 2018-01-09 20:42:30 +08:00
afc163
5e4fed48f6 site: clean footer style code 2018-01-09 15:38:06 +08:00
Wei Zhu
d7fb63f8c3 site: large github button 2018-01-09 14:28:29 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +08:00
Wei Zhu
4e743ea051 site: tweak github button position 2018-01-08 12:42:45 +08:00
Wei Zhu
9048b042fc site: tweak home page 2018-01-08 12:18:13 +08:00
Wei Zhu
b8608deaed Tweak bottom bar padding 2018-01-06 12:36:54 +08:00
afc163
ccaaf8d027 update home style 2018-01-06 10:32:42 +08:00
afc163
97edf48f52 update font family 2018-01-05 23:07:45 +08:00
竹尔
0125ae075f
Update home.less 2018-01-05 15:38:48 +08:00
jljsj
a0814e29c6 add new version video 2018-01-05 15:17:22 +08:00
jljsj
3c74a26758 add en 2018-01-05 15:17:13 +08:00
jljsj
94e05ff3bc add link 2018-01-05 15:17:06 +08:00
jljsj
44a7837784 re alt 2018-01-05 15:16:58 +08:00