summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r--src/battlemap/www/style.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css
index 96c7317..5fc6ae5 100644
--- a/src/battlemap/www/style.css
+++ b/src/battlemap/www/style.css
@@ -310,9 +310,21 @@
{
box-sizing: border-box;
border-radius: 5px;
+}
+
+.battlemap-character-icon *
+{
+ position: absolute;
+ left: 0;
+ top: 0;
background-size: 100% 100%;
+ width: inherit;
+ height: inherit;
}
+.battlemap-character-icon-head { z-index: 1; }
+.battlemap-character-icon-body { z-index: 0; }
+
.battlemap-character-ally
{
}