/* * As you may have guessed, a little custom css is part of our project. */ body { padding-top: 5rem; } .content-box { padding: 3rem 1.5rem; text-align: center; } .chart-box { border: 1px solid grey; } /* This container will allow scaling svg, so we don't need to care about it in d3.js */ .svg-container { display: inline-block; position: relative; width: 100%; padding-bottom: 100%; /* aspect ratio */ vertical-align: top; overflow: hidden; } .svg-content-responsive { display: inline-block; position: absolute; top: 0; /* not 10px, but 0 instead */ left: 0; } .line { fill: none; stroke-width: 2px; } .frame { width: 100%; height: 160px; padding: 0; } .frame .slidee { margin: 0; padding: 0; height: 100%; list-style: none; } .frame .slidee li { float: left; margin: 0 5px 0 0; padding: 0; width: 120px; height: 100%; } .scrollbar { width: 100%; height: 10px; background-color: hsl(0, 0%, 94.1%); } .scrollbar .handle { width: 100px; /* overriden if dynamicHandle: 1 */ height: 100%; background: #222; } .slidee li { border: 1px solid black; }