Commit Graph

28 Commits

Author SHA1 Message Date
afc163
fa880907dd 💄 footer style details 2019-09-19 15:55:22 +08:00
afc163
16dff49e46 💄 transfer footer to rc-footer 2019-09-19 15:55:22 +08:00
afc163
7478913e23
💄 improve footer style 2019-04-16 11:32:03 +08:00
afc163
ca778f38dd
💄 Improve ant.design site footer style 2019-03-31 20:34:16 +08:00
偏右
f3c74c3138
💄 Optimize footer of site (#15612) 2019-03-24 23:39:45 +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
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
afc163
4a41dd1848 💄 Tweak site footer padding for more room 2019-01-14 12:11:47 +08:00
afc163
9d260e6e74 📝 site: fix BackTop been covered by footer
close #14093
2019-01-04 22:46:54 +08:00
afc163
e047bb166f
site: make document side bar sticky
close #3800
2018-12-24 15:59:59 +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
d5d0501ac7 site: change footer ui 2018-05-15 12:40:15 +08:00
afc163
5e4fed48f6 site: clean footer style code 2018-01-09 15:38:06 +08:00
ddcat1115
2aedc275d4 improve footer style 2017-11-29 00:08:48 +08:00
ddcat1115
49a49adae3 change lang-button pos & improve footer responsive 2017-11-28 17:01:41 +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
afc163
24e2af63f2 site: update footer style 2017-09-04 11:55:45 +08:00
afc163
f230f61c23 Improve docs detail 2017-04-02 14:03:42 +08:00
afc163
c3748a60f4 site: improve responsive design 2017-02-21 12:07:28 +08:00
afc163
d1678711a7 docs: update footer 2017-02-16 16:25:42 +08:00
afc163
cf22bb926a site: update footer style 2017-02-07 19:54: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
9042e139b3 Remove some unused code 2016-09-15 01:38:32 +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
a031271384 site: refactor home & 404 with bisheng 2016-05-27 09:44:07 +08:00