pixsy/style.css

68 lines
987 B
CSS
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;
}
* {
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;
}
table {
margin: 0 auto;
}
table td,
table th {
width: 50%;
}
table td {
text-align: left;
}
table th {
text-align: right;
}
textarea {
height: 4em;
}
textarea,
input {
text-align: left;
}
.centre {
margin: 0 auto;
}
.section {
width: 33.33vw;
height: 33.33vw;
display: table-cell;
background-color: #d3cbd0;
color: #594a54;
}
#brightness {
width: 256px;
}
#brightness + label {
margin: 0 auto;
}
#preview {
margin: 0 auto;
width: 256px;
}