Mercurial > hg > batmud > gmap2
changeset 49:7fbf21283e2b gmap2
Work on CSS.
author | ccr@tnsp.org |
---|---|
date | Sat, 08 Jan 2011 21:56:23 +0200 |
parents | 5d7e695d0ed8 |
children | 71e517b5dc92 |
files | css/mapstyle1.css |
diffstat | 1 files changed, 28 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mapstyle1.css Sat Jan 08 21:46:33 2011 +0200 +++ b/css/mapstyle1.css Sat Jan 08 21:56:23 2011 +0200 @@ -39,30 +39,37 @@ width: 100%; height: 100%; + z-index: 5; } #sidetop { - background: url(../i/scroll_top.png) no-repeat; + position: absolute; + z-index: 10; + width: 100%; height: 65px; top: -50px; - position: absolute; - z-index: 10; + + background: url(../i/scroll_top.png) no-repeat; } #sidebottom { - background: url(../i/scroll_bot.png) no-repeat; - width: 100%; - height: 10px; - bottom: -35px; position: absolute; z-index: 10; + + width: 100%; + height: 75px; + bottom: -35px; + + background: url(../i/scroll_bot.png) no-repeat; } #sidecontent { position: absolute; + z-index: 15; + top: 80px; - bottom: 16px; + bottom: 32px; right: 16px; left: 16px; @@ -74,6 +81,19 @@ font-family: Times; } +#sidecontent a { + text-decoration: none; + color: black; +} + +#sidecontent div { + padding: 1px; +} + +#sidecontent div:hover { + background: rgba(0,0,0,0.5); +} + #controls { position: absolute;