mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-22 11:16:35 +10:00
133 lines
5.8 KiB
JavaScript
133 lines
5.8 KiB
JavaScript
webpackJsonp([70,202],{
|
|
|
|
/***/ 1030:
|
|
/***/ function(module, exports, __webpack_require__) {
|
|
|
|
'use strict';
|
|
|
|
var _react = __webpack_require__(1);
|
|
|
|
var _react2 = _interopRequireDefault(_react);
|
|
|
|
var _reactDom = __webpack_require__(2);
|
|
|
|
var _reactDom2 = _interopRequireDefault(_reactDom);
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
module.exports = {
|
|
"content": ["article", {}, ["h2", "字体家族"], ["ul", ["li", ["p", "中文字体族:"], ["p", " ", ["img", {
|
|
"src": "https://os.alipayobjects.com/rmsportal/OKbesWXtRMCNGmO.png",
|
|
"width": "100%"
|
|
}]]], ["li", ["p", "英文文字体族:"], ["p", " ", ["img", {
|
|
"src": "https://t.alipayobjects.com/images/T1bcXhXfNeXXXXXXXX.png",
|
|
"width": "100%"
|
|
}]]]], ["p", "字体家族 css 代码如下:"], ["pre", {
|
|
"lang": "css",
|
|
"highlighted": "<span class=\"token property\" >font-family</span><span class=\"token punctuation\" >:</span> <span class=\"token string\" >\"Helvetica Neue\"</span>,Helvetica,<span class=\"token string\" >\"PingFang SC\"</span>,<span class=\"token string\" >\"Hiragino Sans GB\"</span>,<span class=\"token string\" >\"Microsoft YaHei\"</span>,<span class=\"token string\" >\"微软雅黑\"</span>,Arial,sans-serif<span class=\"token punctuation\" >;</span>"
|
|
}, ["code", "font-family: \"Helvetica Neue\",Helvetica,\"PingFang SC\",\"Hiragino Sans GB\",\"Microsoft YaHei\",\"微软雅黑\",Arial,sans-serif;"]], ["h2", "字体使用规范"], ["div", {
|
|
"class": "ant-row"
|
|
}, ["div", {
|
|
"class": "ant-col ant-col-12"
|
|
}, ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "主标题"], ["h1", ["span", "我是标题"], ["span", "加粗"], ["span", "#666"], ["span", "16px"]]], ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "次级标题"], ["h2", ["span", "我是标题"], ["span", "加粗"], ["span", "#666"], ["span", "14px"]]], ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "小标题"], ["h3", ["span", "我是标题"], ["span", "加粗"], ["span", "#666"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "正文"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "我是正文"], ["span", "#666"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type help-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "辅助文字"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "我是辅助文字"], ["span", "#999"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type disabled-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "失效文字"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "我是失效文字"], ["span", "#ccc"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type link-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "链接文字"], ["p", {
|
|
"class": "font-text"
|
|
}, ["a", {
|
|
"href": "#"
|
|
}, ["span", "我是链接文字"], ["span", "#2db7f5"], ["span", "12px"]]]]], ["div", {
|
|
"class": "ant-col ant-col-12"
|
|
}, ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Main Head"], ["h1", ["span", "I am example text"], ["span", "bold"], ["span", "#666"], ["span", "16px"]]], ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Sub Head"], ["h2", ["span", "I am example text"], ["span", "bold"], ["span", "#666"], ["span", "14px"]]], ["div", {
|
|
"class": "font-type"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Small Head"], ["h3", ["span", "I am example text"], ["span", "bold"], ["span", "#666"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Text"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "I am example text"], ["span", "#666"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type help-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Help Text"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "I am example text"], ["span", "#999"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type disabled-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Disabled Text"], ["p", {
|
|
"class": "font-text"
|
|
}, ["span", "I am example text"], ["span", "#ccc"], ["span", "12px"]]], ["div", {
|
|
"class": "font-type link-text"
|
|
}, ["div", {
|
|
"class": "font-title"
|
|
}, "Link Text"], ["p", {
|
|
"class": "font-text"
|
|
}, ["a", {
|
|
"href": "#"
|
|
}, ["span", "I am example text"], ["span", "#2db7f5"], ["span", "12px"]]]]]], ["style", "\n.font-type {\n margin: 20px 0;\n overflow: hidden;\n font-size: 12px;\n}\n.font-type h1,\n.font-type h2,\n.font-type h3,\n.font-type p {\n margin: 0;\n color: #666;\n}\n.font-type > * {\n display: inline-block;\n}\n.font-title {\n font-size: 14px;\n width: 100px;\n}\n.font-type h1,\n.font-type h2,\n.font-type h3,\n.font-type .font-text {\n width: 300px;\n}\n.font-type h1 span,\n.font-type h2 span,\n.font-type h3 span,\n.font-type .font-text span {\n margin-right: 0.6em;\n}\n.font-type h1 {\n font-size: 16px;\n}\n.font-type h2 {\n font-size: 14px;\n}\n.font-type h3 {\n font-size: 12px;\n}\n.disabled-text .font-text {\n color: #ccc;\n}\n.help-text .font-text {\n color: #999;\n}\n"]],
|
|
"meta": {
|
|
"category": {
|
|
"zh-CN": "设计基础",
|
|
"en-US": "Design Fundamental"
|
|
},
|
|
"order": 0,
|
|
"title": {
|
|
"zh-CN": "字体",
|
|
"en-US": "Font"
|
|
},
|
|
"filename": "docs/spec/font.md"
|
|
},
|
|
"description": ["section", ["p", "跨平台的字体设定,力求在各个操作系统下都有最佳展示效果。"]],
|
|
"toc": ["ul", ["li", ["a", {
|
|
"href": "#字体家族"
|
|
}, "字体家族"]], ["li", ["a", {
|
|
"href": "#字体使用规范"
|
|
}, "字体使用规范"]]]
|
|
};
|
|
|
|
/***/ }
|
|
|
|
}); |