diff --git a/css/scss/style.scss b/css/scss/style.scss index e67ab60..9a9f7f1 100644 --- a/css/scss/style.scss +++ b/css/scss/style.scss @@ -155,6 +155,8 @@ h1 { padding-left: 21mm; margin-top: -1mm; + counter-increment: chapter; + string-set: chapter content(), chapter-number countent(before); color: white; &::before { font-size: 7.3mm; @@ -162,7 +164,6 @@ h1 { left: -6mm; top: 0.25mm; content: "第" counter(chapter) "章"; - counter-increment: chapter; } } diff --git a/css/style.css b/css/style.css index e1e8097..48eece6 100644 --- a/css/style.css +++ b/css/style.css @@ -119,6 +119,8 @@ h1 { font-size: 8.2mm; padding-left: 21mm; margin-top: -1mm; + counter-increment: chapter; + string-set: chapter content(), chapter-number countent(before); color: white; } h1::before { @@ -127,7 +129,6 @@ h1::before { left: -6mm; top: 0.25mm; content: "第" counter(chapter) "章"; - counter-increment: chapter; } h2 { diff --git a/css/style.css.map b/css/style.css.map index 5537524..a1e4d18 100644 --- a/css/style.css.map +++ b/css/style.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["scss/style.scss"],"names":[],"mappings":";AAAQ;AAER;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;AAQF;AACE;;AAIF;AACE;EACA;;AAGF;EACE;EACA;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;;AAKJ;EACE;EACA;IACE;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EAGA;IACE;;EAEF;IACE;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EAGA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;;AAKJ;EACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;;AASJ;EACE;EACA;EAEA;EACA;EACA;EACA;EAEA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;;;AAcJ;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;;AACA;EACE;EACA","file":"style.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["scss/style.scss"],"names":[],"mappings":";AAAQ;AAER;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;;AAQF;AACE;;AAIF;AACE;EACA;;AAGF;EACE;EACA;IACE;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;;;AAKJ;EACE;EACA;IACE;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;IACA;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EAGA;IACE;;EAEF;IACE;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EACA;EAGA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;;AAKJ;EACE;EACA;IACE;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE;;;AASJ;EACE;EACA;EAEA;EACA;EACA;EACA;EAEA;EACA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAKJ;EACE;EACA;EACA;EACA;EAEA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAGA;;;AAcJ;EACE;EACA;EACA;EACA;EACA;EAEA;EACA;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAOJ;EACE;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;EACA;EAEA;EACA;EACA;;;AAGF;EACE;EACA;EACA;;AACA;EACE;EACA;EACA;;AACA;EACE;EACA","file":"style.css"} \ No newline at end of file