css fixes, allow to use dynmap embedded into a website or standalone.

This commit is contained in:
Arthur Mayer 2011-03-07 08:10:30 +01:00
parent f4ba02cd23
commit fe93d372ab
3 changed files with 32 additions and 4 deletions

View file

@ -1,8 +1,7 @@
/*******************
* Page setup
*/
/* Standalone Document */
html {
width: 100%;
height: 100%
}
@ -21,4 +20,17 @@ body {
/* Chat Balloons */
#content { color: #000; }
#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 */
}