62 lines
740 B
CSS
62 lines
740 B
CSS
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
body {
|
|
background: #eee;
|
|
color: #222;
|
|
font-family: sans-serif;
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
svg.visualization {
|
|
display: block;
|
|
width: 500px;
|
|
height: 500px;
|
|
}
|
|
|
|
rect {
|
|
fill: transparent;
|
|
stroke-width: 1;
|
|
stroke: coral
|
|
}
|
|
|
|
text {
|
|
fill: coral;
|
|
font: 12px sans-serif;
|
|
}
|
|
|
|
input[type=number] {
|
|
text-align: center;
|
|
padding: .3em;
|
|
}
|
|
|
|
.num-rects {
|
|
width: 4em;
|
|
}
|
|
|
|
.rect-dim {
|
|
width: 6em;
|
|
}
|
|
|
|
.inventory li a.delete-items {
|
|
display: none;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.inventory li:hover a.delete-items {
|
|
display: inline;
|
|
}
|