diff --git a/public/index.html b/public/index.html index d385be7..c70fc4c 100644 --- a/public/index.html +++ b/public/index.html @@ -41,13 +41,13 @@ To create a production bundle, use `npm run build` or `yarn build`. --> diff --git a/src/template/markdown/ten.js b/src/template/markdown/ten.js index 37aeea6..a5fa710 100644 --- a/src/template/markdown/ten.js +++ b/src/template/markdown/ten.js @@ -56,6 +56,7 @@ export default `/*自定义样式,实时生效*/ #nice h2 { margin: 10px auto; height: 40px; + color: #fff; // background-color: rgb(251, 251, 251); // border-bottom: 1px solid rgb(246, 246, 246); overflow: hidden; @@ -64,15 +65,15 @@ export default `/*自定义样式,实时生效*/ /* 二级标题内容 */ #nice h2 .content { - margin-left: -10px; + // margin-left: -10px; display: inline-block; width: auto; height: 40px; background-color: rgb(33, 33, 34); // border-bottom-right-radius:100px; color: rgb(255, 255, 255); - padding-right: 30px; - padding-left: 30px; + padding-right: 20px; + padding-left: 20px; line-height: 40px; font-size: 16px; } diff --git a/src/template/markdown/wgh.js b/src/template/markdown/wgh.js index 95bc046..f0171c8 100644 --- a/src/template/markdown/wgh.js +++ b/src/template/markdown/wgh.js @@ -59,6 +59,7 @@ export default `/*自定义样式,实时生效*/ #nice h2 { margin: 10px auto; height: 40px; + color: #fff; // background-color: rgb(251, 251, 251); // border-bottom: 1px solid rgb(246, 246, 246); overflow: hidden; @@ -67,15 +68,15 @@ export default `/*自定义样式,实时生效*/ /* 二级标题内容 */ #nice h2 .content { - margin-left: -10px; + // margin-left: -10px; display: inline-block; width: auto; height: 40px; background-color: rgb(33, 33, 34); // border-bottom-right-radius:100px; color: rgb(255, 255, 255); - padding-right: 30px; - padding-left: 30px; + padding-right: 20px; + padding-left: 20px; line-height: 40px; font-size: 16px; }