UNPKG

travelling-sales-person

Version:
141 lines (118 loc) 2.21 kB
* { padding: 0; margin: 0; font-family: 'Roboto', sans-serif; } body { background-color: rgb(51, 51, 51); color: #999; } .container { display: grid; grid-template-columns: 1fr 2fr; width: 1200px; margin: 0 auto; align-items: center; height: 100vh; } #my-canvas { background-color: rgb(61, 61, 61); box-shadow: 0px 1px 5px rgb(20, 20, 20); border-radius: 4px; } .section { background-color: rgb(61, 61, 61); padding: 1em; margin: 0.7em; color: rgb(240, 240, 240); border-radius: 4px; box-shadow: 0px 1px 5px rgb(20, 20, 20); } h1, h2 { text-align: center; } button { background-color: rgb(97, 97, 97); border: 0; color: rgb(240, 240, 240); padding: 0.5em 1em; font-size: 1em; border-radius: 1em; } button:hover { background-color: rgb(209, 127, 46); cursor: pointer; } button:active { transform: translateY(2px); } button:focus { outline: 0; } .start-stop { text-align: center; margin: 1em; } input[type="number"] { background-color: transparent; border: none; border-bottom: 1px solid #999; font-size: 1em; text-align: center; color: rgb(240, 240, 240); } input[type="number"]:focus { outline-width: 0; border-bottom: 1px solid rgb(240, 240, 240); transition: 0.2s ease-in; } .upload-group { text-align: center; } #upload-problem { text-align: center; } #user-file { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; } #user-file+label { font-size: 1em; font-weight: 700; padding: 0.5em 1em; margin: 0.5em; color: white; border-radius: 1em; background-color: rgb(97, 97, 97); display: inline-block; cursor: pointer; user-select: none; } #user-file:focus+label, #user-file+label:hover { background-color: rgb(209, 127, 46); } #user-file+label:active { transform: translateY(2px); } h3 { margin-bottom: 0.4em; } .red { color: rgb(251, 71, 71); } .green { color: rgb(74, 165, 74); } .img-container { height: 5em; text-align: center; } .img-container img { max-height: 100%; }