This commit is contained in:
Junyi Hou 2024-03-04 19:40:18 +08:00
parent 7df9d3d0a1
commit 8009f28d92
2 changed files with 5 additions and 5 deletions

View File

@ -75,7 +75,7 @@ main {
/* Table of Contents */ /* Table of Contents */
.toc { .toc {
cursor: zoom-in; /* cursor: zoom-in; */
display: block; display: block;
margin-top: 1em; margin-top: 1em;
@ -89,10 +89,10 @@ main {
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: bold;
} }
/*
.toc.expanded { .toc.expanded {
cursor: zoom-out; cursor: zoom-out;
} } */
.toc .inner { .toc .inner {
margin: 0px; margin: 0px;

View File

@ -5,7 +5,7 @@
</details> </details>
{{ end }} {{ end }}
<script> <!-- <script>
document.querySelector(".toc").addEventListener("click", function () { document.querySelector(".toc").addEventListener("click", function () {
event.preventDefault(); event.preventDefault();
if (this.open) { if (this.open) {
@ -16,4 +16,4 @@
this.classList.add("expanded"); this.classList.add("expanded");
} }
}); });
</script> </script> -->