summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-23 22:37:26 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-10-23 22:37:26 +0200
commitf2a1d30e4ec6c0c8a285176c5bc40d84cd08f7a1 (patch)
tree4dd6e2e85087aa90ce3f074fca8c2cd223cfabf1
parent394a1869195671b37242f296f80ba1d9728e951f (diff)
Attempts to fix the CSS...
-rw-r--r--Makefile3
-rw-r--r--src/battlemap/www/index.html33
2 files changed, 25 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 6f65c2d..7fd0709 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,9 @@ MODULES_WWW = $(addprefix $(WWW_DIR)/,$(MODULES))
all: build $(WWW_DIR) $(MODULES_WWW)
+upload_demo:
+ scp -r $(WWW_DIR)/* dreamhost:~/tacticians.online/
+
build:
for module in $(MODULES_SRC) ; do \
$(MAKE) -C $$module build ; \
diff --git a/src/battlemap/www/index.html b/src/battlemap/www/index.html
index 35c7e75..1c4969d 100644
--- a/src/battlemap/www/index.html
+++ b/src/battlemap/www/index.html
@@ -16,12 +16,32 @@
left: 0;
}
+ .battlemap
+ {
+ display: flex;
+ flex-flow: column;
+ align-content: stretch;
+ justify-content: stretch;
+ }
+
+ .battlemap-header
+ {
+ text-align: center;
+ flex: 0;
+ }
+
.battlemap-container
{
overflow: auto;
- resize: vertical;
width: inherit;
- height: 70%;
+ flex: 1;
+ }
+
+ .battlemap-footer
+ {
+ display: flex;
+ flex: 0;
+ max-height: 30%;
}
.battlemap-actual
@@ -142,23 +162,14 @@
content: "x";
}
- .battlemap-footer
- {
- display: flex;
- }
.battlemap-footer-tabmenu
{
flex: 1;
-
- display: flex;
- flex-direction: column;
}
.battlemap-footer-tabmenu-selector
{
- flex: 1;
-
display: flex;
flex-direction: row;
justify-content: space-between;