Commit Graph

73 Commits

Author SHA1 Message Date
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
Benjamin Amelot
f55ccfe81e Remove underlines from focused links (#15759) 2019-03-31 13:46:38 +08:00
米老朱
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
2019-02-15 10:48:07 +08:00
afc163
5ad97a33d1
💄 improve home page style in mobile device 2019-02-06 13:07:52 +08:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
3fcb8fa0b3 💄 Fix stylelint errors 2019-01-28 19:06:38 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
afc163
0ca2b3f41c
💄 fix nested a warning in site code 2018-12-28 18:26:40 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
afc163
98ff831e2e
💄 site: tweak site style 2018-12-07 18:48:07 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
jljsj33
15d3070275 add landing to home Solution 2018-11-09 17:30:35 +08:00
afc163
a93cd4140b site: fix banner responsive bug 2018-10-24 10:43:40 +08:00
afc163
8ccd6b8277 site: add promote link 2018-10-23 12:21:26 +08:00
°))))彡
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