Commit Graph

8 Commits

Author SHA1 Message Date
偏右
66e2a3ccc0
🔤 Tweak font family, same as tailwindcss (#20747)
https://tailwindcss.com/docs/font-family/#app
2020-01-08 11:29:15 +08:00
二货机器人
f965d92aa8
docs: Update 4.0 site (#20486)
* adjust docs & logo

* adjust typo

* doc update

* update style & trans

* fix style

* update doc

* update translate
2019-12-28 11:57:41 +08:00
二货机器人
abf215a982
docs: Update 4.0 site (#20290)
* init recommend block

* init design pages

* home frames

* add background banner

* hello, Hitu makes the animation

* add media query

* add images

* update types

* add declare

* preload support

* update ignore

* additional ignore site Home lint

* update ignore

* add hover effect

* adjust alt of bannber

* adjust lang & card shadow

* fix typo

* adjust desc

* hitu in english

* article add link

* Certainty is hitu

* Meaning Hitu

* Growth with Hitu

* Natural Hitu

* slow down of Natural

* adjust speed of icons

* New Meaning animation

* adjust animation duration

* update card link

* update link

* values doc

* replace images

* faster Growth

* update values

* fix lint

* all slow down

* adjust padding

* update icons

* adjust margin

* update images

* adjust montion

* adjust by designer

* update pages

* update design prod

* update articles

* update site style

* update doc

* update images

* update style

* lint fix

* adjust liner color

* github text color update

* adjust margin of title

* mobile design

* update design sub card

* update style

* less lint

* update images

* design card auto height

* update img

* update logo transition

* adjust card style

* adjust style to fix 184

* adjust nav style

* category it

* slow down of logo

* update style

* hide video link

* hitu article

* use img of hitu

* update docs

* style lint

* update Hitu layout doc

* update images

* speed up logo

* update link

* clean up

* clean up

* update doc

* adjust doc

* update images
2019-12-26 15:27:52 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
Andrew Shearer
163140189f Fix quote rendering (#14708)
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.

fix #13095
2019-02-04 11:36:03 +08:00
afc163
97bf3a157a
📝 improve document images 2018-11-22 22:31:48 +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
Junbin Huang
3bca8f3055
docs: translate font.md (#9587) 2018-03-12 13:43:56 +08:00