mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Update code font family
This commit is contained in:
parent
221fe81221
commit
73e11d9165
@ -23,12 +23,6 @@
|
||||
font-family: "Helvetica Neue",Helvetica,"Hiragino Sans GB","STHeitiSC-Light","Microsoft YaHei","微软雅黑",Arial,sans-serif;
|
||||
```
|
||||
|
||||
代码字体:
|
||||
|
||||
```css
|
||||
font-family: "PT Mono",Menlo,Consolas,"Courier New",monospace;
|
||||
```
|
||||
|
||||
## 字体使用规范
|
||||
|
||||
<div class="row">
|
||||
|
@ -98,3 +98,10 @@ a {
|
||||
.invisible {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: @code-family;
|
||||
}
|
||||
|
@ -11,7 +11,7 @@
|
||||
@body-background : #fff;
|
||||
|
||||
@font-family : "Helvetica Neue",Helvetica,"Hiragino Sans GB","STHeitiSC-Light","Microsoft YaHei","微软雅黑",Arial,sans-serif;
|
||||
@code-family : "PT Mono",Menlo,Consolas,"Courier New",monospace;
|
||||
@code-family : Consolas,Menlo,Courier,monospace;
|
||||
@text-color : #666;
|
||||
@font-size-base : 12px;
|
||||
@line-height-base : 1.5;
|
||||
|
Loading…
Reference in New Issue
Block a user