#graph { background-color: #EEE; } #events { transform: scaleY(-1) translateY(-100%); } text { dominant-baseline: central; } #days { stroke: grey; stroke-width: 30; stroke-dasharray: 0.01, 0.99; } line { stroke: black; stroke-width: 0.4; } line.error { stroke: red; } line:hover { stroke-width: 0.6; }