feat: 样式调整
This commit is contained in:
@@ -105,8 +105,9 @@ export default {
|
||||
p: `
|
||||
margin:4px 0;
|
||||
font-size: 15px;
|
||||
line-height:1.55;
|
||||
line-height:1.85;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
color: ${fontColor};
|
||||
`,
|
||||
// 一级标题
|
||||
@@ -115,7 +116,7 @@ export default {
|
||||
font-size: 20px;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
font-weight: 900;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
padding:6px 10px 4px;
|
||||
@@ -127,11 +128,11 @@ export default {
|
||||
h2: `
|
||||
margin:6px 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
line-height: 1.85;
|
||||
text-align:center;
|
||||
color:${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:bolder;
|
||||
font-weight:800;
|
||||
padding-left:10px;
|
||||
// border:1px solid ${themeColor};
|
||||
`,
|
||||
@@ -139,9 +140,10 @@ export default {
|
||||
h3: `
|
||||
margin:6px 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.85;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:700;
|
||||
padding-left:10px;
|
||||
border-left:3px solid ${themeColor};
|
||||
`,
|
||||
@@ -150,6 +152,7 @@ export default {
|
||||
margin:4px 0;
|
||||
font-size:15px;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
color: #777777;
|
||||
border-left: 4px solid #dddddd;
|
||||
padding: 0 10px;
|
||||
@@ -157,11 +160,13 @@ export default {
|
||||
// 列表
|
||||
ul: `
|
||||
font-size: 14px;
|
||||
font-weight:500;
|
||||
margin: 4px 0;
|
||||
color: ${fontSubColor};
|
||||
`,
|
||||
li: `
|
||||
font-size: 14px;
|
||||
font-weight:500;
|
||||
margin: 4px 0;
|
||||
color: ${fontSubColor};
|
||||
`,
|
||||
@@ -171,13 +176,14 @@ export default {
|
||||
`,
|
||||
// 加粗
|
||||
strong: `
|
||||
font-weight: border;
|
||||
font-weight: bold;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
`,
|
||||
// 斜体
|
||||
em: `
|
||||
font-size: 14px;
|
||||
font-weight:500;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
letter-spacing:0.3em;
|
||||
@@ -227,8 +233,9 @@ export default {
|
||||
p: `
|
||||
margin:4px 0;
|
||||
font-size: 15px;
|
||||
line-height:1.55;
|
||||
line-height:1.85;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
color: ${fontColor};
|
||||
`,
|
||||
// 一级标题
|
||||
@@ -238,22 +245,25 @@ export default {
|
||||
line-height: 1.6;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:900;
|
||||
`,
|
||||
// 二级标题
|
||||
h2: `
|
||||
margin:6px 0;
|
||||
font-size: 18px;
|
||||
line-height: 1.55;
|
||||
line-height: 1.85;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:800;
|
||||
`,
|
||||
// 三级标题
|
||||
h3: `
|
||||
margin:6px 0;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.85;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:700;
|
||||
`,
|
||||
// 四级标题
|
||||
h4: `
|
||||
@@ -261,6 +271,7 @@ export default {
|
||||
font-size: 15px;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:600;
|
||||
`,
|
||||
// 五级标题
|
||||
h5: `
|
||||
@@ -268,6 +279,7 @@ export default {
|
||||
font-size: 14px;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
`,
|
||||
// 六级标题
|
||||
h6: `
|
||||
@@ -275,6 +287,7 @@ export default {
|
||||
font-size: 12px;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
`,
|
||||
// 引用
|
||||
blockquote: `
|
||||
@@ -284,16 +297,21 @@ export default {
|
||||
border-left: 4px solid #dddddd;
|
||||
padding: 0 10px;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
`,
|
||||
// 列表
|
||||
ul: `
|
||||
margin: 4px 0;
|
||||
font-size: 14px;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
color: ${fontSubColor};
|
||||
`,
|
||||
li: `
|
||||
margin: 4px 0;
|
||||
font-size: 14px;
|
||||
font-family: ${fontFamily};
|
||||
font-weight:500;
|
||||
color: ${fontSubColor};
|
||||
`,
|
||||
// 链接
|
||||
@@ -302,12 +320,15 @@ export default {
|
||||
`,
|
||||
// 加粗
|
||||
strong: `
|
||||
font-weight: border;
|
||||
font-weight: bold;
|
||||
color: ${themeColor};
|
||||
font-family: ${fontFamily};
|
||||
`,
|
||||
// 斜体
|
||||
em: `
|
||||
font-size: 14px;
|
||||
font-weight:500;
|
||||
font-family: ${fontFamily};
|
||||
color: ${themeColor};
|
||||
letter-spacing:0.3em;
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user