2017-12-22 17:22:08 +00:00
|
|
|
@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;
|
|
|
|
}
|
2017-12-22 19:44:44 +00:00
|
|
|
input[type="color"][disabled] {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2017-12-23 20:41:40 +00:00
|
|
|
input[type="text"],
|
|
|
|
button {
|
|
|
|
width: 14em;
|
|
|
|
margin: 1em;
|
|
|
|
padding: 0.25em;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
2017-12-22 17:22:08 +00:00
|
|
|
table {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
table td,
|
|
|
|
table th {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
table td {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
table th {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
textarea {
|
2017-12-22 19:44:44 +00:00
|
|
|
height: 256px;
|
|
|
|
width: 256px;
|
|
|
|
margin: 1em;
|
2017-12-23 00:14:54 +00:00
|
|
|
font-family: monospace;
|
2017-12-22 17:22:08 +00:00
|
|
|
}
|
|
|
|
textarea,
|
|
|
|
input {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
.centre {
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
.section {
|
2017-12-22 19:44:44 +00:00
|
|
|
width: 20vw;
|
|
|
|
height: 20vw;
|
2017-12-22 17:22:08 +00:00
|
|
|
display: table-cell;
|
|
|
|
background-color: #d3cbd0;
|
|
|
|
color: #594a54;
|
|
|
|
}
|
2017-12-22 19:44:44 +00:00
|
|
|
#brightness,
|
|
|
|
#threshold {
|
2017-12-22 17:22:08 +00:00
|
|
|
width: 256px;
|
|
|
|
}
|
2017-12-22 19:44:44 +00:00
|
|
|
#brightness + label,
|
|
|
|
#threshold + label {
|
2017-12-22 17:22:08 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2017-12-22 19:44:44 +00:00
|
|
|
#imageUpload {
|
|
|
|
padding: 1em 0;
|
|
|
|
width: 256px;
|
|
|
|
}
|
2017-12-23 00:14:54 +00:00
|
|
|
#preview,
|
|
|
|
#room-output {
|
2017-12-22 17:22:08 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
width: 256px;
|
|
|
|
}
|
2017-12-23 20:41:40 +00:00
|
|
|
#save {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|