mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
52 lines
1.1 KiB
CSS
52 lines
1.1 KiB
CSS
body, h1, h2, h3, h4, h5, h6 {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
|
|
SimSun, sans-serif;
|
|
}
|
|
.markdown-body h1, .markdown-body h2 {
|
|
padding-bottom: .75em;
|
|
margin-top: 3em;
|
|
}
|
|
|
|
.doc-img {
|
|
width: 50%;
|
|
display: block;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.list-index {
|
|
padding: 6px;
|
|
background-color: #ff561b;
|
|
color: #fff;
|
|
font:italic bold 18px arial,sans-serif;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
width: 2.2em;
|
|
height: 2.2em;
|
|
line-height: 1.6em;
|
|
margin-right: .6em;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
border-left: 4px solid #ff561b;
|
|
background-color: #f8f8f8;
|
|
padding: .12rem .24rem;
|
|
position: relative;
|
|
}
|
|
.markdown-body blockquote:before {
|
|
content: '!';
|
|
display: block;
|
|
position: absolute;
|
|
left: -.12rem;
|
|
top: .12rem;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: #ff561b;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
text-align: center;
|
|
font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
|
|
}
|