aboutsummaryrefslogtreecommitdiffstats
path: root/tiddlers/sidebar-current-tiddler-toc.tid
blob: 9d73d6dd65aef40b45058cf7e7b1ba9bec9075f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
title: $:/plugins/local/current-tiddler-toc/sidebar
type: text/vnd.tiddlywiki
tags: $:/tags/SideBar
caption: 目录
list-after: $:/core/ui/SideBar/More

<style>
.tc-current-tiddler-toc {
	font-size: 0.95em;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
	padding-right: 0.25em;
}

.tc-current-tiddler-toc-group {
	margin: 0 0 1em;
}

.tc-current-tiddler-toc-title {
	display: block;
	width: 100%;
	font-weight: 600;
	margin: 0 0 0.35em;
	padding: 0.2em 0;
	text-align: left;
	overflow-wrap: anywhere;
}

.tc-current-tiddler-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tc-current-tiddler-toc-item {
	margin: 0;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

.tc-current-tiddler-toc-link {
	display: block;
	width: 100%;
	padding: 0.2em 0;
	text-align: left;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.tc-current-tiddler-toc-link:hover,
.tc-current-tiddler-toc-link:focus {
	text-decoration: underline;
}

.tc-current-tiddler-toc-empty {
	color: <<colour muted-foreground>>;
	font-style: italic;
}

.tc-current-tiddler-toc-group-empty {
	padding-left: 1.1em;
	color: <<colour muted-foreground>>;
	font-size: 0.9em;
	font-style: italic;
}
</style>

<$current-tiddler-toc/>