2017-05-26 14:19:27 +08:00
|
|
|
/*************表格样式****************/
|
2018-03-19 15:21:59 +08:00
|
|
|
.editormd-preview-container table {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
border-bottom: none;
|
|
|
|
line-height: 1.5
|
2017-05-26 14:19:27 +08:00
|
|
|
}
|
2018-03-19 15:21:59 +08:00
|
|
|
|
|
|
|
.editormd-preview-container table td,.editormd-preview-container table th {
|
|
|
|
padding: 8px 13px;
|
|
|
|
border: 1px solid #d9d9d9;
|
|
|
|
word-wrap: break-word;
|
|
|
|
text-align: left
|
2017-05-26 14:19:27 +08:00
|
|
|
}
|
|
|
|
.editormd-preview-container-body blockquote,.editormd-preview-container blockquote p {
|
|
|
|
font-size: 14px;
|
2018-03-19 15:21:59 +08:00
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.editormd-preview-container blockquote, .editormd-html-preview blockquote{
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
.editormd-preview-container table th {
|
|
|
|
background-color: #f2f2f2;
|
|
|
|
color: #333;
|
|
|
|
font-weight: 400;
|
|
|
|
word-break: keep-all
|
|
|
|
}
|
|
|
|
|
|
|
|
.editormd-preview-container table tr {
|
|
|
|
background-color: #fff
|
|
|
|
}
|
|
|
|
.editormd-preview-container code {
|
|
|
|
padding: .2em 0;
|
|
|
|
margin-left: 3px;
|
|
|
|
margin-right: 3px;
|
|
|
|
background-color: #eee;
|
|
|
|
border-radius: 3px;
|
|
|
|
font-size: 1em;
|
|
|
|
font-family: Consolas,"Liberation Mono",Menlo,Courier,'Microsoft Yahei',monospace;
|
|
|
|
border: 0;
|
|
|
|
color: #555;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**************TOC*******************/
|
|
|
|
.markdown-toc{
|
|
|
|
padding: 16px 11px 4px;
|
|
|
|
border: 1px solid #f0f0f0;
|
2017-05-26 14:19:27 +08:00
|
|
|
}
|
|
|
|
/***********代码样式*****************/
|
|
|
|
.markdown-body .highlight pre, .markdown-body pre{
|
|
|
|
padding: 0;
|
|
|
|
font-size: 12px;
|
|
|
|
border-radius:0;
|
|
|
|
line-height: 1.4em;
|
|
|
|
}
|
2018-03-26 13:32:02 +08:00
|
|
|
.editormd-preview-container pre.prettyprint, .editormd-html-preview pre.prettyprint {
|
2017-05-26 14:19:27 +08:00
|
|
|
padding: 0;
|
|
|
|
}
|
2018-03-26 13:32:02 +08:00
|
|
|
.hljs{
|
|
|
|
padding: 10px 15px !important;
|
|
|
|
}
|
2017-05-26 14:19:27 +08:00
|
|
|
.editormd-preview-container ol.linenums, .editormd-html-preview ol.linenums{
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
.editormd-preview-container ol.linenums>li:first-child,.editormd-html-preview ol.linenums>li:first-child{
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
.editormd-preview-container ol.linenums>li:last-child ,.editormd-html-preview ol.linenums>li:last-child{
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|