Commit Graph

46 Commits

Author SHA1 Message Date
tangjinzhou
0cea934cac add ecosystem menu 2019-03-11 11:19:43 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
afc163
2c6ee4caa1 site: update button transition style 2018-10-23 19:56:32 +08:00
afc163
ead460afe4 site: tweak header transition style 2018-09-16 17:49:07 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +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
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque (#10299) 2018-04-29 10:42:45 +08:00
Benjy Cui
e444dc5e39
chore: add ad for yuque (#10182) 2018-04-22 18:58:40 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
1190f0b009 Add algolia search 2018-01-05 10:32:49 +08:00
afc163
b02aa7bddc site: tweak logo text 2017-12-04 23:18:53 +08:00
afc163
ebcf7b43e8 site: update ant design logo 2017-12-04 11:47:03 +08:00
afc163
4dc310c331 site: fix logo wrap in IE11 2017-12-04 09:59:22 +08:00
afc163
5e48badbb7 Improve home page style 2017-12-01 20:27:44 +08:00
ddcat1115
5458c6a40c fix style and favicon 2017-12-01 11:25:13 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +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
04a00e6e14 update logo 2017-11-28 11:18:18 +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
1117de7c6f site: fix version select width 2017-11-15 13:32:13 +08:00
afc163
32b2c21145 site: fix header button style 2017-11-03 15:29:25 +08:00
afc163
ace590273a Add pro link 2017-10-31 16:32:09 +08:00
Manweill
dc1d0af64e 官网首页的搜索框,当按下键盘s的时候,会获取焦点 (#7267)
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点

* use AutoComplete

* 移除 this.state.focused

* bugfix
2017-08-31 11:47:53 +08:00
afc163
3202d28cb9 Add mobile.ant.design link in menu, close #3079 2017-06-12 10:41:11 +08:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
9bb7e3d10c site: improve responsive layout 2017-02-21 23:26:10 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
afc163
9fede4a5cd site: adjust component select style 2017-02-15 15:55:35 +08:00
ddcat1115
16ad027988 change version slector position (#4799) 2017-02-09 19:46:23 +08:00
afc163
cf22bb926a site: update footer style 2017-02-07 19:54:30 +08:00
afc163
5a8d15333d site: update header style 2017-01-20 20:52:12 +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
42b4df295c update site for primary-color change 2016-11-18 14:24:50 +08:00
afc163
847e40eac0 Adjust site layout 2016-10-07 14:33:08 +08:00
afc163
d90bf42fd5 update site font 2016-09-29 11:21:19 +08:00
afc163
e34d5c57c5 update font-family 2016-09-10 14:19:46 +08:00
afc163
75da5a358a fix some site style 2016-07-26 19:45:55 +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