Commit Graph

58 Commits

Author SHA1 Message Date
°))))彡
9aa4172c27 feat(website): add link to ng-zorro-mobile website; (#12619) 2018-10-12 17:09:43 +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
d4a5d2c188 site: fix home button align 2018-02-26 13:54:09 +08:00
afc163
5294a69296 site: fix home page style 2018-02-11 18:10:02 +08:00
afc163
80a4ee7731 site: update home button style 2018-01-31 10:14:25 +08:00
nikogu
1329de5ebd fix home page button text overflow 2018-01-27 22:34:44 +08:00
afc163
70569c6d28 site: improve responsive style 2018-01-27 15:17:43 +08:00
afc163
27a2d68a1b site: update home page font family 2018-01-12 20:47:07 +08:00
afc163
f0dd8191d4 update home style 2018-01-10 13:43:39 +08:00
jljsj
e09c71f22e add bnts will-change 2018-01-10 10:35:34 +08:00
afc163
b2af3e2afc site: tweak home style 2018-01-09 20:42:30 +08:00
Wei Zhu
d7fb63f8c3 site: large github button 2018-01-09 14:28:29 +08:00
afc163
680d28b148 Fix site style 2018-01-08 20:45:33 +08:00
Wei Zhu
4e743ea051 site: tweak github button position 2018-01-08 12:42:45 +08:00
Wei Zhu
9048b042fc site: tweak home page 2018-01-08 12:18:13 +08:00
afc163
ccaaf8d027 update home style 2018-01-06 10:32:42 +08:00
afc163
97edf48f52 update font family 2018-01-05 23:07:45 +08:00
竹尔
0125ae075f
Update home.less 2018-01-05 15:38:48 +08:00
jljsj
a0814e29c6 add new version video 2018-01-05 15:17:22 +08:00
jljsj
3c74a26758 add en 2018-01-05 15:17:13 +08:00
jljsj
94e05ff3bc add link 2018-01-05 15:17:06 +08:00
jljsj
44a7837784 re alt 2018-01-05 15:16:58 +08:00
jljsj
f948b9fb54 add 3.0 landing page 2018-01-05 15:16:49 +08:00
afc163
f3df363ec7 update site style 2017-12-25 14:09:53 +08:00
afc163
dd364e3358 site: fix details 2017-12-21 14:57:56 +08:00
jiang
4eb51bcb5c
Update home.less 2017-12-21 10:26:40 +08:00
afc163
3f3fbfbe67 Add promote link for seeconf 2017-12-18 17:58:45 +08:00
afc163
5e48badbb7 Improve home page style 2017-12-01 20:27:44 +08:00
ddcat1115
0b31c256e3 tweak home style 2017-12-01 14:43:56 +08:00
afc163
f7a8d02f09 update home page style, close #8238 2017-11-30 21:38:48 +08:00
ddcat1115
721a5621c8 reset text-color and etc. 2017-11-28 16:16:37 +08:00
afc163
084b444252 Fix home page style 2017-11-21 19:10:01 +08:00
afc163
a65ff1c2df fix site style 2017-06-26 13:33:59 +08:00
afc163
deebe4d973 site: tweak style 2017-05-28 15:35:49 +08:00
afc163
b526083fa6 set monospaced font-family for number 2017-03-31 13:45:16 +08:00
jiang
00326db74e fix scrollAnim hideProps header … (#5506)
* fix https://github.com/react-component/scroll-anim/issues/19, header switch

* fix home icon down animation
2017-03-27 14:03:28 +08:00
afc163
05b20c6a9f fix stylelint problems of site 2017-02-26 15:41:50 +08:00
afc163
98ad1a9186 site: update home 2017-01-31 21:00:45 +08:00
afc163
53b94a5996 site: update start button style 2017-01-30 17:44:25 +08:00
afc163
b7c5fb40ae update home page style 2017-01-16 12:05:03 +08:00
pd4d10
ca4697be55 doc: Fix star count (#4610) 2017-01-16 10:08:20 +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
752392a964 Improve home page style in Mobile device 2016-12-02 18:17:03 +08:00
afc163
109d72ea70 update home button style 2016-11-22 14:53:35 +08:00
jiang
ca881823f2 site: update home (#3939) 2016-11-21 17:48:39 +08:00
afc163
42b4df295c update site for primary-color change 2016-11-18 14:24:50 +08:00
jiang
f703e00c0f Home fix (#3807)
* fix home

* update Banner min height
2016-11-11 17:56:05 +08:00
afc163
c0b0d493de update site 2016-09-29 15:46:29 +08:00
afc163
d90bf42fd5 update site font 2016-09-29 11:21:19 +08:00
afc163
bd3434de30 fix home link 2016-09-26 12:28:10 +08:00