# HG changeset patch # User Matti Hamalainen # Date 1479395916 -7200 # Node ID 8e120dadd0a532bc5153cf87f6904f713a37284f # Parent 07530034b2211249b4d681b50d71260c362c3c71 Improve layout and stylesheets slightly. diff -r 07530034b221 -r 8e120dadd0a5 css/mapstyle1.css --- a/css/mapstyle1.css Thu Nov 17 15:42:07 2016 +0200 +++ b/css/mapstyle1.css Thu Nov 17 17:18:36 2016 +0200 @@ -191,24 +191,32 @@ margin: 0px; } -#headcontent h2 { +.subtitle { font-size: 1.5em; padding: 0px; margin: 0px; color: red; } -#headcontent div { - display: inline-block; +.credits { + font-size: 0.75em; + color: white; } -#headcontent div.controls { +.version { +} + +.timestamp { +} + +.controls { position: absolute; + top: 2em; right: 280px; width: auto; } -#headcontent div.controls a { +.controls a { background: rgba(0,0,0,0.5); padding: 0.5em; color: #ddd; @@ -217,7 +225,7 @@ box-shadow: 2px 2px 2px #000; } -#headcontent div.controls a:hover { +.controls a:hover { background: rgba(0,0,0,0.2); color: #fff; border: 1px solid #888; diff -r 07530034b221 -r 8e120dadd0a5 css/mapstyle2.css --- a/css/mapstyle2.css Thu Nov 17 15:42:07 2016 +0200 +++ b/css/mapstyle2.css Thu Nov 17 17:18:36 2016 +0200 @@ -197,24 +197,31 @@ margin: 0px; } -#headcontent h2 { +.subtitle { font-size: 1.5em; padding: 0px; margin: 0px; color: red; } -#headcontent div { - display: inline-block; +.credits { + font-size: 0.75em; + color: white; } -#headcontent div.controls { +.version { +} + +.timestamp { +} + +.controls { position: absolute; right: 280px; width: auto; } -#headcontent div.controls a { +.controls a { background: rgba(0,0,0,0.5); padding: 0.5em; color: #ddd; @@ -223,7 +230,7 @@ box-shadow: 2px 2px 2px #000; } -#headcontent div.controls a:hover { +.controls a:hover { background: rgba(0,0,0,0.2); color: #fff; border: 1px solid #888; diff -r 07530034b221 -r 8e120dadd0a5 css/mapstyle3.css --- a/css/mapstyle3.css Thu Nov 17 15:42:07 2016 +0200 +++ b/css/mapstyle3.css Thu Nov 17 17:18:36 2016 +0200 @@ -198,24 +198,31 @@ margin: 0px; } -#headcontent h2 { +.subtitle { font-size: 1.5em; padding: 0px; margin: 0px; color: red; } -#headcontent div { - display: inline-block; +.credits { + font-size: 0.75em; + color: white; } -#headcontent div.controls { +.version { +} + +.timestamp { +} + +.controls { position: absolute; right: 280px; width: auto; } -#headcontent div.controls a { +.controls a { background: rgba(0,0,0,0.5); padding: 0.5em; color: #ddd; @@ -224,7 +231,7 @@ box-shadow: 2px 2px 2px #000; } -#headcontent div.controls a:hover { +.controls a:hover { background: rgba(0,0,0,0.2); color: #fff; border: 1px solid #888; diff -r 07530034b221 -r 8e120dadd0a5 css/mapstyle4.css --- a/css/mapstyle4.css Thu Nov 17 15:42:07 2016 +0200 +++ b/css/mapstyle4.css Thu Nov 17 17:18:36 2016 +0200 @@ -175,25 +175,36 @@ margin: 0px; } -#headcontent h2 { - font-size: 1.5em; +.subtitle { padding: 0px; margin: 0px; color: red; } +.credits { + color: white; +} + + +.version { + padding-left: 1em; +} + +.timestamp { +} + #headcontent div { display: inline-block; } -#headcontent div.controls { +.controls { position: absolute; top: 3em; right: 0.2em; width: auto; } -#headcontent div.controls a { +.controls a { background: rgba(0,0,0,0.5); padding: 0.5em; color: #ddd; @@ -202,7 +213,7 @@ box-shadow: 2px 2px 2px #000; } -#headcontent div.controls a:hover { +.controls a:hover { background: rgba(0,0,0,0.2); color: #fff; border: 1px solid #888; diff -r 07530034b221 -r 8e120dadd0a5 index.php --- a/index.php Thu Nov 17 15:42:07 2016 +0200 +++ b/index.php Thu Nov 17 17:18:36 2016 +0200 @@ -12,7 +12,6 @@ // $lastMTime = filemtime("markers.json"); $pageCharset = "UTF-8"; -$pageVersion = " [updated ".date("D d.m.Y H:i:s T", $lastMTime)."]"; $pageTitle1 = "BatMUD: The Age of Exiles"; $pageTitle2 = "Google Maps Hack"; @@ -74,9 +73,8 @@

-

-
-
+
+
Updated