lj_sketch_front/style.css

83 lines
1.2 KiB
CSS

body {
margin: 0px;
padding: 0px;
background: #222;
color: #ddd;
font-family: monospace;
}
.drawApp {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
grid-auto-rows: minmax(100px, auto);
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
margin: 2em;
}
.drawApp > * > canvas {
margin: 0 auto;
display: block;
height: 100%;
aspect-ratio: 1/1;
}
.drawApp > * > canvas:hover {
cursor: crosshair;
}
.drawApp > .toolbox {
display: inline-block;
margin: 0 auto;
width: 128px;
padding: 1em;
}
.drawApp > .toolbox > input {
display: inline-block;
width: 64px;
height: 64px;
font-size: 64px;
}
.drawApp > .toolbox > .button2x {
width: 128px !important;
height: 128px !important;
}
.drawApp > .toolbox > .color {
display: inline-block;
width: 64px;
height: 64px;
}
.drawApp > * > .footer {
display: block;
text-align: center;
}
#errorBox {
border: thick solid #990000;
background: #dd0000;
position: fixed;
bottom: 0px;
right: 0px;
text-align: center;
padding: 1em;
font-size: x-large;
}
.visible {
display: block;
}
.invisible {
display: none;
}