We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b1719 commit 34a5ef8Copy full SHA for 34a5ef8
assets/style.css
@@ -189,6 +189,31 @@ html {
189
font-weight: bold;
190
}
191
192
+.toc > ul {
193
+ padding-inline-start: 0;
194
+ counter-reset: cate;
195
+}
196
+
197
+.toc > ul ul{
198
+ padding-inline-start: 2rem;
199
+ counter-reset: sec;
200
+ counter-increment: cate;
201
202
203
+.toc > ul ul li {
204
+ list-style: none;
205
+ counter-increment: sec;
206
207
208
+.toc > ul ul li a::before {
209
+ content: counter(cate) "." counter(sec) ". ";
210
211
212
+.toc li {
213
214
215
216
217
@media screen and (max-width: 800px) {
218
.toc {
219
display: none;
0 commit comments