完善文章读取和编辑;

This commit is contained in:
2022-03-05 08:53:14 +08:00
parent 2806c7c204
commit 491d968d40
6 changed files with 190 additions and 80 deletions

View File

@@ -176,6 +176,8 @@
margin-top: 15px;
}
@media screen and (max-width: 768px) {
.nav-left-list {
text-align: left;
@@ -209,4 +211,77 @@
a.post-item:visited{
color: #bbb;
}
.ul-content p{
margin: 15px 0;
}
.ul-content p,
.ul-content li,
.ul-content td,
.ul-content th,
.ul-content blockquote {
white-space: pre-wrap;
line-height: 1.5;
/* 显示空格 */
}
.ul-content h2{
margin:20px 0
}
/* 表格 */
.ul-content table {
border-collapse: collapse;
}
.ul-content table th,
.ul-content table td {
border : 1px solid #ccc;
min-width : 50px;
height : 20px;
text-align: left;
}
.ul-content table th {
background-color: #f1f1f1;
text-align : center
}
/* 引用 */
.ul-content blockquote {
display : block;
border-left : 8px solid #d0e5f2;
padding : 10px 10px;
margin : 10px 0;
background-color: #f1f1f1;
}
/* 列表 */
.ul-content ul,
.ul-content ol {
margin: 10px 0 10px 20px;
}
.ul-content ul li{
list-style: inherit;
}
/* 分割线 */
.ul-content hr {
display : block;
width : 90%;
margin : 20px auto;
border : 0;
height : 1px;
background-color: #ccc;
}
.ul-content img {
max-width: 100%;
}