Hide HTML h tag of table of content.

This commit is contained in:
liding 2024-06-28 22:51:34 +08:00
parent 05c1b0d29b
commit 3ed03f0496

View File

@ -49,6 +49,10 @@ const articlePrettyName = article!.id.split("/").pop()!.replace(".md", "");
margin: 1em 0 1em 0;
padding: 0 0 0 20px;
}
/* hide TOC headint */
:global(.article-title ~ h2:nth-of-type(1)) {
display: none;
}
/* font for all code */
:global(.article code) {
font-family: "Consolas", "Tahoma", sans-serif;