:root { --main-color: #c1b19f; --link-color: #808db0; --link-hover-color: #c5cfeb; --highlight-color: #dd7e7e; --input-bg-color: #262523; --bg-color: rgba(0,0,0,.7); } html, body { margin: 0; background: #2b2b2b; color: var(--main-color); height: 100%; font-family: sans-serif; } a { color: var(--link-color); text-decoration: none; } a:hover { color: var(--link-hover-color); } .scores { position: absolute; right: 0; background: var(--bg-color); padding: 5px; border: solid 1px black; box-shadow: 0 0 10px 0 rgba(0,0,0,.7); } .menu { position: absolute; left: 50%; transform: translateX(-50%); background: var(--bg-color); padding: 5px; border: solid 1px black; box-shadow: 0 0 10px 0 rgba(0,0,0,.7); z-index: 2; } .closed { display: none; } .layer { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--bg-color); padding: 5px; border: solid 1px black; box-shadow: 0 0 10px 0 rgba(0,0,0,.7); z-index: 1; } .overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--bg-color); } .preview { position: absolute; top: 20px; left: 20px; bottom: 20px; right: 20px; } .preview .img { height: 100%; width: 100%; position: absolute; background-repeat: no-repeat; background-position: center; background-size: contain; } .menu .opener { display: inline-block; margin-right: 10px; color: var(--link-color); } .menu .opener:last-child { margin-right: 0; } .menu .opener:hover { color: var(--link-hover-color); cursor: pointer; } canvas { cursor: none; } input { background: #333230; border-radius: 4px; color: var(--main-color); padding: 6px 10px; border: solid 1px black; box-shadow: 0 0 3px rgba(0, 0,0,0.3) inset; } input:focus { border: solid 1px #686767; background: var(--input-bg-color); } .btn { font: 15px sans-serif; display: inline-block; background: var(--input-bg-color); color: var(--link-color); border: solid 1px black; padding: 5px 10px; box-shadow: 1px 1px 2px rgba(0,0,0,.5), 0 0 1px rgba(150,150,150,.4) inset; border-radius: 4px; user-select: none; } .btn:hover { background: #2f2e2c; color: var(--link-hover-color); border: solid 1px #111; box-shadow: 0 0 1px rgba(150,150,150,.4) inset; cursor: pointer; } .btn:disabled { background: #2f2e2c; color: #8c4747 !important; border: solid 1px #111; box-shadow: 0 0 1px rgba(150,150,150,.4) inset; cursor: not-allowed; }