<html lang="en">
    <head>
        <style>
            * {
                box-sizing: border-box;
            }
            body {
                margin: 0;
            }
            .edges {
                display: flex;
                justify-content: flex-end;
            }
            .dot {
                background-color: black;
                border-radius: 50%;
                height: 8mm;
                width: 8mm;
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .bar {
                display: flex;
                flex-direction: column;
                border: 1px solid black;
                height: calc(76.2mm + 8mm);
                justify-content: space-between;
                width: fit-content;
            }
            @page {
                margin-top: 80mm;
                margin-bottom: 80mm;
                margin-left: 30mm;
                margin-right: 30mm;
            }
            @media print {
                #editor {
                    display: none;
                }
            }
        </style>
    </head>
    <body>
        <div class="edges">
            <div class="bar">
                <div class="dot">+</div>
                <div class="dot">+</div>
            </div>
        </div>
        
        <script>
            document.getElementById("circle-size").addEventListener("input", function() {
                const newSize = this.value;
                Array.from(document.getElementsByClassName("dot")).forEach(function (el) {
                    el.style.height = newSize + "mm";
                    el.style.width = newSize + "mm";
                });
            });
            document.getElementById("gap-size").addEventListener("input", function() {
                const newSize = this.value;
                Array.from(document.getElementsByClassName("bar")).forEach(function (el) {
                    el.style.height = newSize + "mm";
                });
            });
            
        </script>
    </body>
</html>