<!DOCTYPE html>
<html>
<head>
<meta name="description" content="MDict JS">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes, maximum-scale=10">
<style>
.mindmap-svg {
min-height: 100vh;
height: 100vh;
width: 100%;
}
.mindmap-svg:focus {
outline: none;
}
.mindmap-node>a {
background: #f5f5f5;
border-radius: 10px;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
color: #212121;
display: inline-block;
font-family: 'Raleway';
font-size: 22px;
margin: 0 auto;
padding: 15px;
text-align: center;
text-decoration: none;
transition: background-color .2s, color .2s ease-out;
}
.mindmap-node>a[href]:hover {
background-color: #f57c00;
color: #fff;
cursor: pointer;
}
.mindmap-node--editable {
cursor: all-scroll;
}
.mindmap-node--editable>a {
pointer-events: none;
}
.mindmap-subnode-group {
align-items: center;
border-left: 4px solid #9e9e9e;
display: flex;
margin-left: 15px;
padding: 5px;
}
.mindmap-subnode-group a {
color: #212121;
font-family: 'Raleway';
font-size: 16px;
padding: 2px 5px;
}
.mindmap-connection {
fill: transparent;
stroke: #9e9e9e;
stroke-dasharray: 10px 4px;
stroke-width: 3px;
}
.mindmap-emoji {
height: 24px;
vertical-align: bottom;
width: 24px;
}
.reddit-emoji {
border-radius: 50%;
}
</style>
</head>
<body>
<svg class="mindmap-svg" viewBox="0 0 1500 2000">
<g id="mindmap-subnodes" transform="translate(7,-205) scale(0.3)"></g>
<g transform="translate(500,600) scale(1)">
<path class="mindmap-connection"
d="M -13 -659 Q -57 -359 , -98 -60">
</path>
</g>
<g transform="translate(500,600) scale(1)">
<foreignObject class="mindmap-node mindmap-node--editable" width="125" height="55" x="-74"
y="-686"><a id="node-undefined"
>python <img class="mindmap-emoji"
title="wiki" ></a>
<title></title>
</foreignObject>
<foreignObject class="mindmap-node mindmap-node--editable" width="88" height="55" x="-140" y="-87">
<a>basics</a>
<title></title>
</foreignObject>
<foreignObject class="mindmap-subnodes" width="113" height="76" x="46" y="-697">
<div class="mindmap-subnode-group" style="border-left-color: rgba(255, 189, 10, 1.0)">
<a><img class="mindmap-emoji reddit-emoji" title="reddit"></a>
<div></div>
</div>
<div class="mindmap-subnode-group" style="border-left-color: rgba(255, 189, 10, 1.0)">
<a>source <img class="mindmap-emoji" title="github"></a>
<div></div>
</div>
</foreignObject>
</g>
</svg>
</body>
</html>
image.png
网友评论