米老朱
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
afc163
d90bf42fd5
update site font
2016-09-29 11:21:19 +08:00
偏右
354759cb17
Redesigned icons ( #3041 )
...
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
2016-09-18 09:54:47 +08:00
afc163
e34d5c57c5
update font-family
2016-09-10 14:19:46 +08:00
afc163
2f308b0f99
update font-family
2016-09-10 11:10:47 +08:00
afc163
f869943c5c
fix link
2016-08-04 17:59:07 +08:00
afc163
29a7df3490
remove loading text after page loaded
2016-06-23 21:10:02 +08:00
afc163
8877fe599a
rm pageEnter
2016-06-09 23:17:14 +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
0ab1d56817
site: refactor resource with bisheng
2016-05-27 09:44:07 +08:00
Benjy Cui
a031271384
site: refactor home & 404 with bisheng
2016-05-27 09:44:07 +08:00