94 lines
1.3 KiB
CSS
94 lines
1.3 KiB
CSS
@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;
|
|
}
|
|
a {
|
|
color: #f69f8f;
|
|
}
|
|
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;
|
|
}
|
|
input[type="text"],
|
|
button {
|
|
width: 14em;
|
|
margin: 1em;
|
|
padding: 0.25em;
|
|
font-size: 1em;
|
|
}
|
|
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;
|
|
font-family: monospace;
|
|
}
|
|
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,
|
|
#room-output {
|
|
margin: 0 auto;
|
|
width: 256px;
|
|
}
|
|
#save {
|
|
margin-top: 0;
|
|
}
|