afc163
ead460afe4
site: tweak header transition style
6 years ago
afc163
8fee0fd567
site: update heading font
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
Benjy Cui
cd6ad64cab
chore: remove advertisement for yuque ( #10299 )
7 years ago
Benjy Cui
e444dc5e39
chore: add ad for yuque ( #10182 )
7 years ago
jljsj
f948b9fb54
add 3.0 landing page
7 years ago
Wei Zhu
7210bde371
Tweak style
7 years ago
Wei Zhu
1190f0b009
Add algolia search
7 years ago
afc163
b02aa7bddc
site: tweak logo text
7 years ago
afc163
ebcf7b43e8
site: update ant design logo
7 years ago
afc163
4dc310c331
site: fix logo wrap in IE11
7 years ago
afc163
5e48badbb7
Improve home page style
7 years ago
ddcat1115
5458c6a40c
fix style and favicon
7 years ago
afc163
f7a8d02f09
update home page style, close #8238
7 years ago
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
* upgrade devDeps and fix lint
* Fix stylelint problems
7 years ago
ddcat1115
49a49adae3
change lang-button pos & improve footer responsive
7 years ago
ddcat1115
721a5621c8
reset text-color and etc.
7 years ago
ddcat1115
04a00e6e14
update logo
7 years ago
ddcat1115
daf596a898
Upgrade antd 3.0 site style ( #8324 )
* 3.0 site update
* update footer
* improve
7 years ago
afc163
1117de7c6f
site: fix version select width
7 years ago
afc163
32b2c21145
site: fix header button style
7 years ago
afc163
ace590273a
Add pro link
7 years ago
Manweill
dc1d0af64e
官网首页的搜索框,当按下键盘s的时候,会获取焦点 ( #7267 )
* 官方首页的搜索框,当按下键盘s的时候,会获取焦点
* use AutoComplete
* 移除 this.state.focused
* bugfix
7 years ago
afc163
3202d28cb9
Add mobile.ant.design link in menu, close #3079
8 years ago
afc163
b526083fa6
set monospaced font-family for number
8 years ago
afc163
05b20c6a9f
fix stylelint problems of site
8 years ago
afc163
9bb7e3d10c
site: improve responsive layout
8 years ago
afc163
c3748a60f4
site: improve responsive design
8 years ago
afc163
9fede4a5cd
site: adjust component select style
8 years ago
ddcat1115
16ad027988
change version slector position ( #4799 )
8 years ago
afc163
cf22bb926a
site: update footer style
8 years ago
afc163
5a8d15333d
site: update header style
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
afc163
42b4df295c
update site for primary-color change
8 years ago
afc163
847e40eac0
Adjust site layout
8 years ago
afc163
d90bf42fd5
update site font
8 years ago
afc163
e34d5c57c5
update font-family
8 years ago
afc163
75da5a358a
fix some site style
8 years ago
RaoHai
ff31a5b555
Revert "Revert "refactor with bisheng""
This reverts commit 7a07b128d1
.
9 years ago
RaoHai
7a07b128d1
Revert "refactor with bisheng"
9 years ago
Benjy Cui
a031271384
site: refactor home & 404 with bisheng
9 years ago
afc163
b28e80c156
fix header margin
9 years ago
Benjy Cui
f884a6d260
site: add button to change language
9 years ago
Benjy Cui
6f04b6404b
site: add i18n for website
9 years ago
afc163
5b921b6960
Fix combobox focus style, close #1684
9 years ago
afc163
3487e06f28
fix detail site style
9 years ago
afc163
2cda36a7c4
improve header site style
9 years ago
afc163
2102c253fe
fix site style
9 years ago
afc163
84f904d03c
fix(site): some style
9 years ago
Benjy Cui
e8b9c5d2a2
chore: update website
9 years ago