diff --git a/web/embedded.css b/web/embedded.css new file mode 100644 index 00000000..84ff3806 --- /dev/null +++ b/web/embedded.css @@ -0,0 +1,15 @@ +/* Embedded into website */ + +#mcmap { + width: 100%; + height: 500px; +} + +.dynmap .sidebar { + width: 140px; /* original width 200px */ + margin-right: -143px; /* original margin 203px, sidebar width +2xborder 1px +1px to hide */ +} + +.dynmap .hitbar { + right: 140px; /* width of sidebar */ +} \ No newline at end of file diff --git a/web/index.html b/web/index.html index d87bcf22..6fa6557f 100644 --- a/web/index.html +++ b/web/index.html @@ -10,6 +10,7 @@ + diff --git a/web/standalone.css b/web/standalone.css index f8eed6e1..9343aa08 100644 --- a/web/standalone.css +++ b/web/standalone.css @@ -1,8 +1,7 @@ -/******************* - * Page setup - */ +/* Standalone Document */ html { + width: 100%; height: 100% } @@ -21,4 +20,17 @@ body { /* Chat Balloons */ -#content { color: #000; } \ No newline at end of file +#content { color: #000; } + +#mcmap { + height: 100%; +} + +.dynmap .sidebar { + width: 200px; /* original width 200px */ + margin-right: -203px; /* original margin 203px, sidebar width +2xborder 1px +1px to hide */ +} + +.dynmap .hitbar { + right: 200px; /* width of sidebar */ +} \ No newline at end of file