summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-05-23 18:53:09 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-05-23 18:53:09 +0200 |
commit | 74ec028d95331b2a66723bf891fa28e6b47239a7 (patch) | |
tree | 788cab6edb3628266e123b463c368647c578df7c /src/battlemap/www/style.css | |
parent | f52e0f4ee19c21eb05c4f46f35178af49579f49b (diff) |
Puts some armor on the characters.
Also adds a file missing from the previous commit.
Diffstat (limited to 'src/battlemap/www/style.css')
-rw-r--r-- | src/battlemap/www/style.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/battlemap/www/style.css b/src/battlemap/www/style.css index ffd32d5..e2b5151 100644 --- a/src/battlemap/www/style.css +++ b/src/battlemap/www/style.css @@ -224,6 +224,27 @@ height: 100px; } +.battlemap-character-portrait * +{ + box-sizing: border-box; + background-size: 100% 100%; + width: inherit; + height: inherit; +} + +.battlemap-character-portrait-body +{ + z-index: 1; +} + +.battlemap-character-portrait-armor +{ + position: relative; + z-index: 1; + top: -100%; + background-size: 200% 100%; +} + .battlemap-timeline-element, .battlemap-characters-element { |