Spaces:
Building
Building
/* 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; | |
} | |