Mercurial > hg > batmud > gmap2
changeset 221:83cd4448e206 gmap2
Some work on alt style.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 13 Mar 2014 17:18:15 +0200 |
parents | c987ff86b8ce |
children | b88a1e83a667 |
files | css/mapstyle4.css |
diffstat | 1 files changed, 65 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mapstyle4.css Wed Mar 12 20:29:13 2014 +0200 +++ b/css/mapstyle4.css Thu Mar 13 17:18:15 2014 +0200 @@ -5,20 +5,16 @@ #footer { position: absolute; - bottom: 0px; + top: 0px; height: 2em; - left: 0px; - right: 0px; + width: 40em; + right: 280px; margin: 0px; + z-index: 18; } #footercontent { - position: absolute; - - left: 0.2em; - right: 280px; - top: 0.25em; - + text-align: right; padding: 0.5em; color: white; @@ -150,15 +146,74 @@ } #header { +} + +#headcontent { + position: absolute; + top: 0px; + right: 280px; + left: 10em; + height: 5em; + z-index: 20; + + vertical-align: top; + color: white; + padding: 8px; + margin-left: 2em; + + text-shadow: 2px 2px 1px #000; + font-size: 0.7em; +} + +#headlogo { display: none; } +#headcontent h1 { + font-size: 2em; + padding: 0px; + margin: 0px; +} + +#headcontent h2 { + font-size: 1.5em; + padding: 0px; + margin: 0px; + color: red; +} + +#headcontent div { + display: inline-block; +} + +#headcontent div.controls { + position: absolute; + right: 0px; + width: auto; +} + +#headcontent div.controls a { + background: rgba(0,0,0,0.5); + padding: 0.5em; + color: #ddd; + border-radius: 0.5em; + border: 1px solid white; + box-shadow: 2px 2px 2px #000; +} + +#headcontent div.controls a:hover { + background: rgba(0,0,0,0.2); + color: #fff; + border: 1px solid #888; +} + + #map { position: absolute; left: 0px; top: 0px; right: 280px; - bottom: 2em; + bottom: 0px; padding: 0px; margin: 0px; }