|
@@ -73,15 +73,19 @@ h6 {
|
|
|
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4);
|
|
content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+.pcd_md_editor h1,
|
|
|
.pcd_article h1 {
|
|
.pcd_article h1 {
|
|
|
margin-top: 1em;
|
|
margin-top: 1em;
|
|
|
font-size: 27px !important;
|
|
font-size: 27px !important;
|
|
|
border-bottom: 1px solid gray;
|
|
border-bottom: 1px solid gray;
|
|
|
counter-increment: h1;
|
|
counter-increment: h1;
|
|
|
}
|
|
}
|
|
|
|
|
+.pcd_md_editor h1 + h2,
|
|
|
.pcd_article h1 + h2 {
|
|
.pcd_article h1 + h2 {
|
|
|
counter-set: h2 1;
|
|
counter-set: h2 1;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+.pcd_md_editor h2,
|
|
|
.pcd_article h2 {
|
|
.pcd_article h2 {
|
|
|
margin-top: 1em;
|
|
margin-top: 1em;
|
|
|
font-size: 24px !important;
|
|
font-size: 24px !important;
|
|
@@ -89,18 +93,22 @@ h6 {
|
|
|
counter-reset: h3;
|
|
counter-reset: h3;
|
|
|
counter-increment: h2;
|
|
counter-increment: h2;
|
|
|
}
|
|
}
|
|
|
|
|
+.pcd_md_editor h2 + h3,
|
|
|
.pcd_article h2 + h3 {
|
|
.pcd_article h2 + h3 {
|
|
|
counter-set: h3 1;
|
|
counter-set: h3 1;
|
|
|
}
|
|
}
|
|
|
|
|
+.pcd_md_editor h3,
|
|
|
.pcd_article h3 {
|
|
.pcd_article h3 {
|
|
|
margin-top: 0.5em;
|
|
margin-top: 0.5em;
|
|
|
font-size: 22px !important;
|
|
font-size: 22px !important;
|
|
|
counter-increment: h3;
|
|
counter-increment: h3;
|
|
|
counter-reset: h4;
|
|
counter-reset: h4;
|
|
|
}
|
|
}
|
|
|
|
|
+.pcd_md_editor h3 + h4,
|
|
|
.pcd_article h3 + h4 {
|
|
.pcd_article h3 + h4 {
|
|
|
counter-set: h4 1;
|
|
counter-set: h4 1;
|
|
|
}
|
|
}
|
|
|
|
|
+.pcd_md_editor h4,
|
|
|
.pcd_article h4 {
|
|
.pcd_article h4 {
|
|
|
font-size: 20px !important;
|
|
font-size: 20px !important;
|
|
|
counter-increment: h4;
|
|
counter-increment: h4;
|