Commit Graph

49 Commits

Author SHA1 Message Date
afc163
71b8cf7a0c site: tweak style detail 2018-10-28 21:04:11 +08:00
afc163
a669f24afe site: improve hr style 2018-09-16 15:40:05 +08:00
afc163
8fee0fd567 site: update heading font 2018-09-10 15:59:18 +08:00
afc163
5ab199b867 site: fix some icon align styles 2018-09-10 14:51:18 +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
6be189aa0f site: styling API Tables 2018-07-21 15:00:20 +08:00
Wei Zhu
7210bde371 Tweak style 2018-01-05 10:33:59 +08:00
Wei Zhu
0fbd1b4080 Add new design guide 2018-01-05 10:32:00 +08:00
afc163
3162dd3b51 site: improve changelog style 2017-12-04 23:43:44 +08:00
afc163
6836487e18 Fix changelog style 2017-12-04 21:48:42 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +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
偏右
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
2017-09-22 18:33:29 +08:00
afc163
deebe4d973 site: tweak style 2017-05-28 15:35:49 +08:00
afc163
927c55bb4a site: fix style 2017-04-17 22:19:43 +08:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
afc163
85df55df72 site: fix markdown list style 2017-02-27 11:46:45 +08:00
afc163
40b30d8ef9 site: fix markdown list style 2017-02-26 22:56:58 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
b245659887 update API table style 2017-01-15 13:15:30 +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
afc163
65431a3981 update site api style 2016-12-05 13:09:05 +08:00
afc163
42b4df295c update site for primary-color change 2016-11-18 14:24:50 +08:00
afc163
6205118c31 update code font family 2016-11-18 13:55:28 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
afc163
479e975d29 Improve API table style 2016-11-01 15:02:48 +08:00
afc163
2fe4590887 update site markdown style 2016-10-18 00:18:03 +08:00
afc163
950c641016 adjust site style 2016-10-07 20:41:51 +08:00
afc163
e555335568 Merge branch 'master' of github.com:ant-design/ant-design 2016-09-30 14:26:03 +08:00
afc163
36e50ed794 Improve Layout demo style
learn from https://www.iviewui.com/components/layout
2016-09-30 14:24:41 +08:00
Benjy Cui
9de4c7f436 site: remove italic to improve Chinese readability 2016-09-30 13:55: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
f10c7bbfda update markdown style 2016-09-10 14:13:56 +08:00
Benjy Cui
c92827324b site: update edit button style 2016-08-19 16:11:32 +08:00
afc163
c30839c9ac Fix ant.design site detail 2016-08-17 18:33:19 +08:00
afc163
f869943c5c fix link 2016-08-04 17:59:07 +08:00
afc163
75da5a358a fix some site style 2016-07-26 19:45:55 +08:00
afc163
683e0a670f fix site font 2016-07-17 18:21:19 +08:00
afc163
ae3d009ff6 Fix site 2016-07-17 15:20:30 +08:00
afc163
07141b528c update code font 2016-06-15 15:56:31 +08:00
afc163
fbe17bf458 Add es6-shim 2016-06-14 11:53:14 +08:00
afc163
e194a044ac update subtitle style 2016-06-13 14:56:59 +08:00
ddcat1115
4af2731f0c fix #1672 (#1936) 2016-06-06 11:40:54 +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
1a9708febf site: update 2016-05-27 09:44:07 +08:00
Benjy Cui
0ab1d56817 site: refactor resource with bisheng 2016-05-27 09:44:07 +08:00