| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2017-10-19 15:33:41 +0200 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2017-10-19 15:33:41 +0200 | 
| commit | 4ca4778bad6f586b38e41df9e571a9331e73b2f1 (patch) | |
| tree | c8b49d84045c43cd16047335d746725ea223d4b8 /src/battlemap/www | |
| parent | e008855086d124f0de14eacc858ecb57d23e371c (diff) | |
Adds colors to see the battlemap.
Navigator seems borked, though.
Diffstat (limited to 'src/battlemap/www')
| -rw-r--r-- | src/battlemap/www/index.html | 67 | 
1 files changed, 67 insertions, 0 deletions
| diff --git a/src/battlemap/www/index.html b/src/battlemap/www/index.html index f630b80..e8bff19 100644 --- a/src/battlemap/www/index.html +++ b/src/battlemap/www/index.html @@ -1,6 +1,73 @@  <!DOCTYPE html>  <html>     <head> +   <style> +      .battlemap-container +      { +         position: relative; +      } + +      .battlemap-tiled +      { +         position: absolute; +         height: 32px; +         width: 32px; +      } + +      .battlemap-tile-icon +      { +         z-index: 0; +      } + +      .asset-tile-\"0\" +      { +         background-color: green; +      } + +      .asset-tile-\"1\" +      { +         background-color: yellow; +      } + +      .asset-tile-\"2\" +      { +         background-color: red; +      } + +      .battlemap-character-icon +      { +         z-index: 2; +      } + +      .asset-character-icon-Icon0 +      { +         background-color: cyan; +      } + +      .asset-character-icon-Icon1 +      { +         background-color: blue; +      } + +      .asset-character-icon-Icon2 +      { +         background-color: darkblue; +      } + +      .battlemap-marker-icon +      { +         z-index: 1; +      } +      .asset-marker-icon-can-go-to +      { +         background-color:rgba(0,0,0,0.5); +      } + +      .asset-marker-icon-can-attack +      { +         background-color:rgba(0,0,0,0.7); +      } +   </style>     </head>     <body>        <script src="script/main.js"></script> | 


