mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
Revert "langref: add section numbers"
This reverts commit 3542dbf0ea5bc1ddb1c5e1c856745dc07e6c0a18. I don't like them
This commit is contained in:
parent
e9c7ebe79e
commit
a054c01f5c
@ -301,39 +301,6 @@
|
|||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all {
|
|
||||||
main {
|
|
||||||
counter-reset: section-2;
|
|
||||||
}
|
|
||||||
h2 {
|
|
||||||
counter-reset: section-3;
|
|
||||||
}
|
|
||||||
h2::before {
|
|
||||||
counter-increment: section-2;
|
|
||||||
content: counter(section-2) ". ";
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
h3 {
|
|
||||||
counter-reset: section-4;
|
|
||||||
}
|
|
||||||
h3::before {
|
|
||||||
counter-increment: section-3;
|
|
||||||
content: counter(section-2) "." counter(section-3) ". ";
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
h4::before {
|
|
||||||
counter-increment: section-4;
|
|
||||||
content: counter(section-2) "." counter(section-3) "." counter(section-4) ". ";
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
#zig-version::before {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
#table-of-contents::before {
|
|
||||||
content: "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user