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

15
web/embedded.css Normal file
View file

@ -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 */
}