Mercurial > hg > batmud > gmap2
changeset 183:a0f377c415ee gmap2
Nicer style / cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 12 Mar 2014 01:22:39 +0200 |
parents | d314c48d16a9 |
children | fc2c2385049b |
files | css/mapstyle1.css index.php |
diffstat | 2 files changed, 39 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mapstyle1.css Wed Mar 12 01:21:50 2014 +0200 +++ b/css/mapstyle1.css Wed Mar 12 01:22:39 2014 +0200 @@ -170,12 +170,39 @@ #headcontent { color: white; background: url(../img/batmud_logo2.png) no-repeat 0px 0px; - font-size: 24pt; height: 100%; padding: 0px; padding-left: 200px; text-shadow: 0px 0px 4px #000; + font-size: 0.7em; +} + +#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 .info { + position: absolute; + right: 280px; + width: auto; +} + +#headcontent a { + color: white; } #map {
--- a/index.php Wed Mar 12 01:21:50 2014 +0200 +++ b/index.php Wed Mar 12 01:22:39 2014 +0200 @@ -2,7 +2,14 @@ require "config.inc.php"; $pageCharset = "UTF-8"; -$pageTitle = "BatMUD: The Age of Exiles - Google Maps hack by Jeskko & Ggr"; + +$pageVersion = "2014-03-12 (alpha)"; + +$pageTitle1 = "BatMUD: The Age of Exiles"; +$pageTitle2 = "Google Maps hack TNG"; +$pageBy = "by Jeskko & Ggr"; +$pageTitle = $pageTitle1." - ".$pageTitle2." ".$pageBy; + $dataCopyrights = "Map data by BAT ry, Ggr, Slobber and Jeskko"; echo @@ -24,8 +31,9 @@ <body> <div id="header"> <div id="headcontent"> - <div>BatMUD GMaps Hack TNG <span style="color: red; font-size: 14pt;">v2014-03-09</span></div> - <div style="font-size: 12pt">By Jeskko & Ggr</div> + <h1><?php echo $pageTitle1 ?></h1> + <h2><?php echo $pageTitle2." v".$pageVersion ?></h2> + <div class="credits"><?php echo $pageBy ?></div> </div> </div> <div id="map"></div>