-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathindex.html
60 lines (56 loc) · 1.06 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
html {
margin: 0;
padding: 0;
height: 100%;
}
body {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
svg#mindmap {
width: 100%;
height: 100%;
}
#mindmap .markmap-depth-0 image,
#mindmap .markmap-depth-1 image,
#mindmap .markmap-depth-2 image{
width: 30px;
height: 30px;
}
#mindmap .markmap-depth-3 image,
#mindmap .markmap-depth-4 image{
width: 30px;
height: 15px;
}
.opts{
position:fixed;
bottom: 0;
right: 0;
margin: 0;
padding: 3px;
color: #ccc;
font-size: 14px;
background-color: #fff;
}
.opts a{
color: #ccc;
}
.opts a:hover{
color: #ccc;
}
</style>
</head>
<body>
<svg id="mindmap"></svg>
<p class="opts">scroll to zoom | <a id="J_expand" href="javascript:;">expand all</a></p>
<script src="bundle.js?e0fef85e4b2bb5ae9bee"></script></body>
</html>