Commit Graph

61 Commits

Author SHA1 Message Date
陈帅
b03e93d061 docs: Add contributors list in each documentation (#20135)
* site: add contributors list

* style: change ContributorsList to end

* style: change spin to Skeleton

* 💄 optimize contributors list UI
2019-12-17 17:58:58 +08:00
偏右
5fabb45d9d
📖 fix site scrollbar problem (#20086)
close #20081
may related to #19988
2019-12-04 19:42:49 +08:00
afc163
53eee985f0 🐛 docs: fix scrollama error
https://github.com/russellgoldenberg/scrollama/pull/106
2019-11-29 10:13:38 +08:00
Ilya Bondarenko
8846122060 feat: Add visible to filterDropdown function (#17614)
* Add visible to filterDropdown function

* Update tests
2019-09-17 14:22:16 +08:00
afc163
a9a24d0d39 📝 Add components count in component page 2019-07-17 19:52:21 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
偏右
c5a4eef414 💄 Enhance component demo (#15511) 2019-03-21 09:48:50 +08:00
偏右
0c6a3b3975
💄 Fix hotjar emoji color (#15521) 2019-03-20 19:34:07 +08:00
jljsj33
7401d1622b fix firefox window.scroll invalid 2019-03-18 15:49:12 +08:00
ycjcl868
f607872e51 💄 scroll smooth 2019-03-11 12:29:07 +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
ztplz
46a7a048dc Replace text-decoration-skip: ink to text-decoration-skip-ink: auto 2019-01-14 01:01:50 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
afc163
01a59880e8 site: primary color for hotjar and nprogress 2018-10-28 17:59:34 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +08:00
HeskeyBaozi
96b38dd3ec use svg icon in introduce 2018-08-21 18:33:52 +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
e400ef6d30 site: fix extra space in page bottom 2018-03-26 16:53:02 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +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
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
ddcat1115
eeb642e2bd fix menu style 2017-11-29 14:39:56 +08:00
ddcat1115
0710f826f3 fix menu text color 2017-11-28 17:59:28 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
afc163
b2810f2fa9 site: fix menu z-index 2017-11-27 16:51:59 +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
jiang
8260e32d1d fix mobile menu (#8252) 2017-11-21 11:18:31 +08:00
jiang
a5bf187271 update menu responsive, ref #4682 (#8226)
* update menu responsive, ref #4682

* update popover menu style
2017-11-17 19:17:37 +08:00
afc163
e77108c775 site: update page background 2017-09-08 13:44:52 +08:00
afc163
fb8fec6d3a site: remove font smoothing style 2017-09-08 13:36:10 +08:00
afc163
352e0f7ce4 tweak link text-decoration style 2017-04-05 14:58:41 +08:00
Kenaniah Cerny
ed434c57e9 improves link navigation 2017-04-01 04:06:34 -07:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
偏右
84e3aa2a37 New design docs (#5370)
* refactor design documentations

* update color document

* Add icon

* Fix images in documentation

* fix some documentation style

* Finish icon doc

* Add copywriting doc

* Add layout.md and navigation.md

* Add more docs

* Fix error color

* improve markdown doc width

* update some details

* fix doc detail

* Add motion.md
2017-03-17 18:56:37 +08:00
afc163
d55ff63587 site: add smooth font render back 2017-03-06 17:36:58 +08:00
afc163
c94a8d7ddc site: remove font smoothing style 2017-03-02 13:38:33 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
d44a0ece3f site: improve styles 2017-02-26 15:09:52 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
afc163
04a94a691e site: update sider menu order 2017-01-22 19:16:54 +08:00
afc163
e90189db8d site: improve style of component demo toc 2017-01-19 15:09:03 +08:00
afc163
c3a2b44f58 Fix strong site anchor truncation in IE
screenshot:
https://zos.alipayobjects.com/rmsportal/jtXxUhVBfEslRIpDvwhP.png
2017-01-14 16:59:02 +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
Benjy Cui
60da9909d3 site: improve loading performance (#4112)
* site: should generate html file for both of en and cn, ref: #3934

* site: remove loading animation

* site: fix header menu highlight

* site: improve detail

* deps: update
2016-12-09 13:02:16 +08:00
Benjy Cui
4ee2b9d930 site: SSR for official website (#3903)
* site: ssr for Layout

* site: SSR for site

* fix: ssr for Anchor

* chore: add ssr test

* chore: update deploy script

* site: udpate detail

* site: revert animation for site

* site: fix loading animation
2016-11-21 14:39:15 +08:00
afc163
42b4df295c update site for primary-color change 2016-11-18 14:24:50 +08:00