新增代码高亮,完善文章浏览体验

This commit is contained in:
augushong
2020-08-14 13:08:59 +08:00
parent cae557ac0c
commit 2a04ff970c
115 changed files with 10996 additions and 1294 deletions

View File

@@ -59,8 +59,15 @@
margin: 0;
padding: 0;
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
line-height: 3;
font-size: 16px;
line-height: 28px;
color: #222;
word-wrap: break-word;
}
.ql-editor p{
margin: 16px 0;
}
.ql-editor ol,
.ql-editor ul {
padding-left: 1.5em;
@@ -630,14 +637,16 @@
margin-bottom: 5px;
margin-top: 5px;
padding: 5px 10px;
font-size: 90%;
line-height: 2;
}
.ql-snow .ql-editor code {
font-size: 85%;
padding: 2px 4px;
}
.ql-snow .ql-editor pre.ql-syntax {
background-color: #23241f;
color: #f8f8f2;
/* background-color: #23241f;
color: #f8f8f2; */
overflow: visible;
}
.ql-snow .ql-editor img {