mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
新增代码高亮,完善文章浏览体验
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user