@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; } @light: #d3cbd0; @dark: #594a54; @accent: #f69f8f; // pink * { box-sizing: border-box; font-family: "rubikregular", sans-serif; text-align: center; } html, body { background-color: @dark; color: @light; } a { color: @accent; } canvas { image-rendering: pixelated; } input[type="color"] { &[disabled] { opacity: 0.5; } width: 2em; height: 2em; margin: 0; padding: 0; border: none; background: none; } input[type="file"] { padding: 1em 0; width: 256px; } input[type="text"], button { width: 14em; margin: 1em; padding: 0.25em; font-size: 1em; } table { margin: 0 auto; td, th { width: 50%; } td { text-align: left; } th { text-align: right; } } textarea { .box256; font-family: monospace; } textarea, input { text-align: left; } .box256 { height: 256px; width: 256px; } .centre { margin: 0 auto; } .croppie-container { height: auto; } .flex-container { background-color: @light; display: flex; flex-flow: row wrap; } // make this just for desktop view? // put sections in a single column on mobile/etc? .section { .centre; background-color: @light; color: @dark; width: 256px; //height: 512px; } #brightness { width: 256px; } #threshold { width: 150px; } #brightness, #threshold { + label{ .centre; } // todo make this match the croppie slider or vice versa } #palettes { .box256; overflow-y: scroll; } #preview, #room-output { .centre; width: 256px; } #save { margin-top: 0; }