node-framework
Version:
node-framework
65 lines (53 loc) • 1.07 kB
CSS
/**
* @file wiki.css
* @author wangyisheng@baidu.com (wangyisheng)
* @description
* 自定义样式
**/
.content {
font-family: Helvetica, Arial, 'Hiragino Sans GB', 'WenQuanYi Micro Hei', 'Microsoft Yahei', sans-serif;
}
.content code {
font-family: 'Consolas', monospace;
}
.content table {
width: 100%;
border: 1px solid #d0d6d7;
border-collapse: collapse;
margin: 10px 0 20px;
}
.content table tr th,
.content table tr td {
padding: 10px;
border: 1px solid #d0d6d7;
text-align: center;
vertical-align: middle;
line-height: 30px;
}
.content table tr th {
background-color: #e4f0f1;
font-weight: bold;
}
.type {
display: inline-block;
padding: 0 0.3em;
border-radius: 3px;
background-color: #0e6471;
color: #fff;
line-height: 20px;
}
.type-boolean {
background-color: #58db67;
}
.type-string {
background-color: #17cbe3;
}
.type-number {
background-color: #ab58db;
}
.type-object {
background-color: #30c9ad;
}
.type-array {
background-color: #0b8fa2;
}