afc163
a669f24afe
site: improve hr style
6 years ago
afc163
8fee0fd567
site: update heading font
6 years ago
afc163
5ab199b867
site: fix some icon align styles
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
6be189aa0f
site: styling API Tables
6 years ago
Wei Zhu
7210bde371
Tweak style
7 years ago
Wei Zhu
0fbd1b4080
Add new design guide
7 years ago
afc163
3162dd3b51
site: improve changelog style
7 years ago
afc163
6836487e18
Fix changelog style
7 years ago
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
* upgrade devDeps and fix lint
* Fix stylelint problems
7 years ago
ddcat1115
721a5621c8
reset text-color and etc.
7 years ago
ddcat1115
daf596a898
Upgrade antd 3.0 site style ( #8324 )
* 3.0 site update
* update footer
* improve
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
afc163
deebe4d973
site: tweak style
8 years ago
afc163
927c55bb4a
site: fix style
8 years ago
afc163
b526083fa6
set monospaced font-family for number
8 years ago
afc163
85df55df72
site: fix markdown list style
8 years ago
afc163
40b30d8ef9
site: fix markdown list style
8 years ago
afc163
05b20c6a9f
fix stylelint problems of site
8 years ago
afc163
b245659887
update API table 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
65431a3981
update site api style
8 years ago
afc163
42b4df295c
update site for primary-color change
8 years ago
afc163
6205118c31
update code font family
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
afc163
479e975d29
Improve API table style
8 years ago
afc163
2fe4590887
update site markdown style
8 years ago
afc163
950c641016
adjust site style
8 years ago
afc163
36e50ed794
Improve Layout demo style
learn from https://www.iviewui.com/components/layout
8 years ago
Benjy Cui
9de4c7f436
site: remove italic to improve Chinese readability
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
f10c7bbfda
update markdown style
8 years ago
Benjy Cui
c92827324b
site: update edit button style
8 years ago
afc163
c30839c9ac
Fix ant.design site detail
8 years ago
afc163
f869943c5c
fix link
8 years ago
afc163
75da5a358a
fix some site style
8 years ago
afc163
683e0a670f
fix site font
8 years ago
afc163
ae3d009ff6
Fix site
8 years ago
afc163
07141b528c
update code font
9 years ago
afc163
fbe17bf458
Add es6-shim
9 years ago
afc163
e194a044ac
update subtitle style
9 years ago
ddcat1115
4af2731f0c
fix #1672 ( #1936 )
9 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
1a9708febf
site: update
9 years ago
Benjy Cui
0ab1d56817
site: refactor resource with bisheng
9 years ago
Guan Hao
706190f8f0
文档中 API 参数说明表格字体修改
原本的 `consolas` 在 Mac 系统上会回落至宋体,影响阅读体验
9 years ago
afc163
b06cdd08c3
Fix row-flex-space-around, close #1781
9 years ago
afc163
5ec1ce08e3
update site style
9 years ago