@tangchao
2018-03-07T17:21:21.000000Z
字数 1492
阅读 439
工作经验
file -> preference -> open customer folder
找到你选择的皮肤的 css 文件,加上以下代码即可使用
.typora-node #outline-dropmenu {
width: 400px !important;
left: -400px;
}
#write {
left: 400px !important;
}
.outline-h1>.outline-item {
color: #ea8bd1;
}
.outline-h2>.outline-item {
color: #968BEA;
}
.outline-h3>.outline-item {
color: #8BEAB6;
}
.outline-h4>.outline-item {
color: #9A8DBF;
}
.outline-h5>.outline-item {
color: #8DB3BF;
}
.outline-item::before,
.outline-item::after {
display: none;
}
.outline-h2 {
counter-increment: m2;
}
.outline-h2 .outline-label::before {
content: counter(m2) !important;
padding-right: 4px;
}
.outline-h3 {
counter-increment: m3;
}
.outline-h3 .outline-label::before {
content: counter(m3) !important;
padding-right: 4px;
}
.outline-h4 {
counter-increment: m4;
}
.outline-h4 .outline-label::before {
content: counter(m4) !important;
padding-right: 4px;
}
.outline-h5 {
counter-increment: m5;
}
.outline-h5 .outline-label::before {
content: counter(m5) !important;
padding-right: 4px;
}
#write h1 {
counter-increment: c1;
counter-reset: c2;
font-size: 40px;
color: #ea8bd1;
}
#write h1::before {
content: counter(c1);
}
#write h2 {
counter-increment: c2;
counter-reset: c3;
font-size: 36px;
color: #968BEA;
}
#write h2::before {
content: counter(c2);
}
#write h3 {
counter-increment: c3;
counter-reset: c4;
font-size: 30px;
color: #8BEAB6;
}
#write h3::before {
content: counter(c3);
}
#write h4, {
counter-increment: c4;
counter-reset: c5;
font-size: 26px;
color: #9A8DBF;
}
#write h4::before {
content: counter(c4);
}
#write h5 {
counter-increment: c5;
font-size: 22px;
color: #8DB3BF;
}
#write h5::before {
content: counter(c5);
}