| ... | ... | @@ -300,6 +300,40 @@ |
| 300 | 300 | color: #fff; |
| 301 | 301 | } |
| 302 | 302 | } |
| 303 | |
| 304 | @media all { |
| 305 | main { |
| 306 | counter-reset: section-2; |
| 307 | } |
| 308 | h2 { |
| 309 | counter-reset: section-3; |
| 310 | } |
| 311 | h2::before { |
| 312 | counter-increment: section-2; |
| 313 | content: counter(section-2) ". "; |
| 314 | font-weight: normal; |
| 315 | } |
| 316 | h3 { |
| 317 | counter-reset: section-4; |
| 318 | } |
| 319 | h3::before { |
| 320 | counter-increment: section-3; |
| 321 | content: counter(section-2) "." counter(section-3) ". "; |
| 322 | font-weight: normal; |
| 323 | } |
| 324 | h4::before { |
| 325 | counter-increment: section-4; |
| 326 | content: counter(section-2) "." counter(section-3) "." counter(section-4) ". "; |
| 327 | font-weight: normal; |
| 328 | } |
| 329 | #zig-version::before { |
| 330 | content: ""; |
| 331 | } |
| 332 | #table-of-contents::before { |
| 333 | content: ""; |
| 334 | } |
| 335 | } |
| 336 | } |
| 303 | 337 | </style> |
| 304 | 338 | </head> |
| 305 | 339 | <body> |