pixsy/style.less

100 lines
1.4 KiB
Plaintext
Raw Normal View History

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;
}
@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"] {
2017-12-22 19:44:44 +00:00
&[disabled] {
opacity: 0.5;
}
2017-12-22 17:22:08 +00:00
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 {
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;
}
// make this just for desktop view?
// put sections in a single column on mobile/etc?
.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: @light;
color: @dark;
}
2017-12-22 19:44:44 +00:00
#brightness, #threshold {
2017-12-22 17:22:08 +00:00
+ label{
.centre;
}
// todo make this match the croppie slider or vice versa
width: 256px;
}
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
.centre;
width: 256px;
}