body { background-color: #ffffff; font-size: 14px; font-family: "Helvetica Neue", Helvetica; } #body { margin: 0 auto; position: relative; } #header { font-size: 40px; font-weight: bold; top: 20px; text-align: center; } .dark-Mode{ background-color: #000; color: #fff; .node text { fill: #fff; } .legend{ color: #fff; } path.link{ stroke: #444; } } .legend { position: absolute; top: 0px; right: 0; width: 330px; font-size: 11px; color: #000; } .node { cursor: pointer; } .node circle { cursor: pointer; fill: #fff; stroke: steelblue; stroke-width: 1.5px; } .node text { font-size: 12px; fill: rgb(0, 0, 0); } path.link { fill: none; stroke: #ccc; stroke-width: 1px; }