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-wrapper { background: #f7f7f7; padding: 16px; display: inline-block; text-align: center; width: 80%; position: relative; border-radius: 4px; } .doc-img-r { display: block; } .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; } /* 覆盖掉 Interface 下的标题样式 */ .markdown-body blockquote.api { background-color: transparent; } .markdown-body blockquote.api:before { content: ''; display: none; } /* markdown 的注释样式 */ .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; }