Skip to content

Commit 3bb3cf5

Browse files
committed
improve Toc
1 parent 3f50861 commit 3bb3cf5

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

assets/css/common/post-single.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@
266266

267267
.toc details summary {
268268
cursor: zoom-in;
269-
margin-inline-start: 20px;
269+
margin-inline-start: 10px;
270+
user-select: none;
270271
}
271272

272273
.toc details[open] summary {
@@ -279,8 +280,9 @@
279280
}
280281

281282
.toc .inner {
282-
margin: 0 20px;
283-
padding: 10px 20px;
283+
margin: 5px 20px 0;
284+
padding: 0 10px;
285+
opacity: 0.9;
284286
}
285287

286288
.toc li ul {

0 commit comments

Comments
 (0)