File size: 1,117 Bytes
d49f7bc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
70
71
/*  Copyright (c) Meta Platforms, Inc. and affiliates.
    This source code is licensed under the MIT license found in the
    LICENSE file in the root directory of this source tree. */

body {
    font-family: sans-serif;
    color: #333;
  }
  
  svg line {
    pointer-events: none;
  }
  
  svg circle {
    cursor: move;
  }
  
  svg {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .tooltip {
    position: absolute;
    background-color: lightgoldenrodyellow;
    border: 1px solid black;
    padding: 1px 3px;
    top: 5px;
    right: 5px;
    animation: pop 0.2s ease-out 1;
  }
  @keyframes pop {
    0% {
      opacity: 0;
      transform: scale(1.3);
    }
    100% {
      opacity: 1;
    }
  }
  
  .debug {
    position: absolute;
    left: 100%;
    top: 0;
    padding: 0px 10px;
    width: 300px;
    font-family: monospace;
    font-size: 11px;
  }
  
  h3 {
    font-weight: 500;
  }
  
  h1 {
    font-size: 24px;
    font-weight: 400;
  }
  
  code {
    font-size: 16px;
    background-color: #eee;
    padding: 1px 4px;
    white-space: nowrap;
  }
  
  p {
    line-height: 1.4em;
  }