You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
964 B
CSS
46 lines
964 B
CSS
.creature canvas {
|
|
width: 64px;
|
|
height: 64px;
|
|
image-rendering: optimizeSpeed;
|
|
image-rendering: -moz-crisp-edges;
|
|
image-rendering: -webkit-optimize-contrast;
|
|
image-rendering: -o-crisp-edges;
|
|
image-rendering: pixelated;
|
|
-ms-interpolation-mode: nearest-neighbor;
|
|
border: none;
|
|
}
|
|
|
|
div.creature {
|
|
display: inline-block;
|
|
width: fit-content;
|
|
text-align: center;
|
|
position: relative;
|
|
margin: 10em;
|
|
}
|
|
div.centerbottom {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 0;
|
|
}
|
|
div.caption {
|
|
/* border: 1px solid black; */
|
|
position: absolute;
|
|
left: -120px;
|
|
width: 240px;
|
|
}
|
|
div.caption .corner {
|
|
width: 11px;
|
|
height: 11px;
|
|
position: absolute;
|
|
top: -9px;
|
|
left: 49%;
|
|
background-image: url("corner.png");
|
|
}
|
|
div.caption div.captiontext {
|
|
/* height: 4em; */
|
|
width: 100%;
|
|
border: 1px solid black;
|
|
/* top | right | bottom | left */
|
|
padding: 0 0.3em 0.3em 0.3em;
|
|
}
|
|
|