使用markdown创建精美的微信公众号文章,需要配合微信Markdown编辑器食用。
注:本示例为微信Markdown编辑器默认样式,无需任何修改即可使用。
h1 {
text-align: center;
color: #3f3f3f;
line-height: 1.75;
font-family: -apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;
font-size: 15.959999999999999px;
font-weight: bold;
display: table;
margin: 2em auto 1em;
padding: 0 1em;
border-bottom: 2px solid rgba(0, 152, 116, 1);
margin-top: 0;
}
p {
text-align: left;
color: rgb(80, 80, 80);
line-height: 1.75;
font-family: PingFangSC-light, PingFangTC-light, Open Sans, Helvetica Neue, sans-serif;
font-size: 1em;
letter-spacing: 0.1em;
display: inline;
}
strong {
text-align: left;
color: rgba(0, 152, 116, 1);
line-height: 1.75;
font-family: -apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;
font-size: 14px;
font-weight: bold;
}
blockquote {
text-align: left;
color: rgb(80, 80, 80);
line-height: 1.75;
font-family: -apple-system-font,BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB , Microsoft YaHei UI , Microsoft YaHei ,Arial,sans-serif;
font-size: 14px;
font-style: normal;
border-left: none;
padding: 1em;
border-radius: 4px;
background: rgba(27,31,35,.05);
margin: 2em 8px;
}