Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit

Permalink
覆盖部分 wxparse 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
myvin committed Sep 4, 2018
1 parent 9f99fda commit 46f97ba
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 32 deletions.
32 changes: 0 additions & 32 deletions pages/post/post.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -41,36 +41,4 @@
}
.others .time {
margin-right: 12rpx;
}
.wxParse-p {
margin-top: 44rpx;
margin-bottom: 44rpx;
line-height: 52rpx;
}
.wxParse-h1 {
font-size: 48rpx;
}
.wxParse-h2 {
font-size: 40rpx;
padding-bottom: 24rpx;
border-bottom: 1rpx solid #ececec;
}
.wxParse-a {
color: #0269c8;
border-bottom: 1rpx solid #d1e9ff;
}
.wxParse-li-circle {
border-radius: 50%;
margin-right: 30rpx;
}
.wxParse-li-text {
line-height: 52rpx;
}
.wxParse-hr {
border-top: 1rpx solid #ddd;
border-bottom: none;
border-left: none;
border-right: none;
margin-top: 32rpx;
margin-bottom: 32rpx;
}
33 changes: 33 additions & 0 deletions wxParse/wxParse.wxss
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,36 @@ view{
.wxParse-figure {
overflow: hidden;
}
/* 自定义覆盖样式 */
.wxParse-p {
margin-top: 44rpx;
margin-bottom: 44rpx;
line-height: 52rpx;
}
.wxParse-h1 {
font-size: 48rpx;
}
.wxParse-h2 {
font-size: 40rpx;
padding-bottom: 24rpx;
border-bottom: 1rpx solid #ececec;
}
.wxParse-a {
color: #0269c8;
border-bottom: 1rpx solid #d1e9ff;
}
.wxParse-li-circle {
border-radius: 50%;
margin-right: 30rpx;
}
.wxParse-li-text {
line-height: 52rpx;
}
.wxParse-hr {
border-top: 1rpx solid #ddd;
border-bottom: none;
border-left: none;
border-right: none;
margin-top: 32rpx;
margin-bottom: 32rpx;
}

0 comments on commit 46f97ba

Please sign in to comment.