Benjamin Amelot
f55ccfe81e
Remove underlines from focused links ( #15759 )
6 years ago
偏右
c5a4eef414
💄 Enhance component demo ( #15511 )
6 years ago
偏右
0c6a3b3975
💄 Fix hotjar emoji color ( #15521 )
6 years ago
jljsj33
7401d1622b
fix firefox window.scroll invalid
6 years ago
ycjcl868
f607872e51
💄 scroll smooth
6 years ago
米老朱
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
6 years ago
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
6 years ago
afc163
3fcb8fa0b3
💄 Fix stylelint errors
6 years ago
ztplz
46a7a048dc
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto
6 years ago
afc163
e047bb166f
✨ site: make document side bar sticky
close #3800
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
afc163
98ff831e2e
💄 site: tweak site style
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
01a59880e8
site: primary color for hotjar and nprogress
6 years ago
afc163
8fee0fd567
site: update heading font
6 years ago
HeskeyBaozi
96b38dd3ec
use svg icon in introduce
6 years ago
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/ ).
6 years ago
afc163
e400ef6d30
site: fix extra space in page bottom
7 years ago
afc163
680d28b148
Fix site style
7 years ago
jljsj
f948b9fb54
add 3.0 landing page
7 years ago
Wei Zhu
7210bde371
Tweak style
7 years ago
afc163
f7a8d02f09
update home page style, close #8238
7 years ago
ddcat1115
eeb642e2bd
fix menu style
7 years ago
ddcat1115
0710f826f3
fix menu text color
7 years ago
ddcat1115
721a5621c8
reset text-color and etc.
7 years ago
afc163
b2810f2fa9
site: fix menu z-index
7 years ago
ddcat1115
daf596a898
Upgrade antd 3.0 site style ( #8324 )
* 3.0 site update
* update footer
* improve
7 years ago
jiang
8260e32d1d
fix mobile menu ( #8252 )
7 years ago
jiang
a5bf187271
update menu responsive, ref #4682 ( #8226 )
* update menu responsive, ref #4682
* update popover menu style
7 years ago
afc163
e77108c775
site: update page background
7 years ago
afc163
fb8fec6d3a
site: remove font smoothing style
7 years ago
afc163
352e0f7ce4
tweak link text-decoration style
8 years ago
Kenaniah Cerny
ed434c57e9
improves link navigation
8 years ago
afc163
b526083fa6
set monospaced font-family for number
8 years ago
偏右
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
8 years ago
afc163
d55ff63587
site: add smooth font render back
8 years ago
afc163
c94a8d7ddc
site: remove font smoothing style
8 years ago
afc163
05b20c6a9f
fix stylelint problems of site
8 years ago
afc163
d44a0ece3f
site: improve styles
8 years ago
afc163
c3748a60f4
site: improve responsive design
8 years ago
afc163
04a94a691e
site: update sider menu order
8 years ago
afc163
e90189db8d
site: improve style of component demo toc
8 years ago
afc163
c3a2b44f58
Fix strong site anchor truncation in IE
screenshot:
https://zos.alipayobjects.com/rmsportal/jtXxUhVBfEslRIpDvwhP.png
8 years ago
偏右
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
8 years ago
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
8 years ago
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
8 years ago
afc163
42b4df295c
update site for primary-color change
8 years ago
afc163
d90bf42fd5
update site font
8 years ago
偏右
354759cb17
Redesigned icons ( #3041 )
* redesigned icons
* change iconfont content
* use same icons
* fix missing icons
* improve icon size
8 years ago
afc163
e34d5c57c5
update font-family
8 years ago