@font-face { font-family: 'rubikregular'; src: url('rubik-regular-webfont.woff2') format('woff2'), url('rubik-regular-webfont.woff') format('woff'); font-weight: normal; font-style: normal; } * { box-sizing: border-box; font-family: "rubikregular", sans-serif; text-align: center; } html, body { background-color: #594a54; color: #d3cbd0; } canvas { image-rendering: pixelated; } input[type="color"] { width: 2em; height: 2em; margin: 0; padding: 0; border: none; background: none; } input[type="color"][disabled] { opacity: 0.5; } table { margin: 0 auto; } table td, table th { width: 50%; } table td { text-align: left; } table th { text-align: right; } textarea { height: 256px; width: 256px; margin: 1em; } textarea, input { text-align: left; } .centre { margin: 0 auto; } .section { width: 20vw; height: 20vw; display: table-cell; background-color: #d3cbd0; color: #594a54; } #brightness, #threshold { width: 256px; } #brightness + label, #threshold + label { margin: 0 auto; } #imageUpload { padding: 1em 0; width: 256px; } #preview { margin: 0 auto; width: 256px; }