a:link, a:hover, a:active, a:visited{color: #000;} html, body{margin: 0; padding: 0; height: 100%; width: 100%;} canvas{margin: 0; padding: 0; border: none; display: block;} button:hover{cursor: pointer;} @font-face{ font-family: "Rametto"; src: url("data/styles/font.ttf"); } *{ font-family: "Rametto", serif; color: #000; font-size: 17px; } :root{ --width: 100vw; --height: 100vh; } /** * Standard styles */ #canvas-holder{ position: relative; width: 100vh; height: 100vh; float: left; } #canvas-holder canvas{ position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: inherit; } #p5_loading{ display: none; } /** * Interface */ #interface{ width: calc(100% - 100vh); height: 80vh; padding: 10vh 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; float: left; background-color: rgb(40, 40, 40); } #interface > *{ margin: 10px; width: 300px; text-align: center; } span, label, select{ color: rgb(0, 0, 0); } button{ background-color: rgb(50, 200, 50); border: 2px solid #000; } button:hover{ background-color: rgb(20, 100, 20); }