87 lines
1.2 KiB
Plaintext
87 lines
1.2 KiB
Plaintext
|
@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;
|
||
|
|
||
|
* {
|
||
|
box-sizing: border-box;
|
||
|
font-family: "rubikregular", sans-serif;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
html, body {
|
||
|
background-color: @dark;
|
||
|
color: @light;
|
||
|
}
|
||
|
|
||
|
canvas {
|
||
|
image-rendering: pixelated;
|
||
|
}
|
||
|
|
||
|
input[type="color"] {
|
||
|
width: 2em;
|
||
|
height: 2em;
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
border: none;
|
||
|
background: none;
|
||
|
}
|
||
|
|
||
|
table {
|
||
|
margin: 0 auto;
|
||
|
|
||
|
td, th {
|
||
|
width: 50%;
|
||
|
}
|
||
|
|
||
|
td {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
th {
|
||
|
text-align: right;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
textarea {
|
||
|
height: 4em;
|
||
|
}
|
||
|
|
||
|
textarea, input {
|
||
|
text-align: left;
|
||
|
}
|
||
|
|
||
|
.centre {
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
// make this just for desktop view?
|
||
|
// put sections in a single column on mobile/etc?
|
||
|
.section {
|
||
|
width: 33.33vw;
|
||
|
height: 33.33vw;
|
||
|
display: table-cell;
|
||
|
background-color: @light;
|
||
|
color: @dark;
|
||
|
}
|
||
|
|
||
|
#brightness {
|
||
|
+ label{
|
||
|
.centre;
|
||
|
}
|
||
|
|
||
|
// todo make this match the croppie slider or vice versa
|
||
|
width: 256px;
|
||
|
}
|
||
|
|
||
|
#preview {
|
||
|
.centre;
|
||
|
|
||
|
width: 256px;
|
||
|
}
|