summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-05-10 17:01:31 +0200
committerDaniel Friesel <derf@finalrewind.org>2016-05-10 17:01:31 +0200
commit49cc78eecb720b5770ccb4e6627cad0adbb5c060 (patch)
treea5cfc53c09451f26fab730b3d152e0ac2a9d8d7e
parent562e05cfcfcd91b49f07ad48f7ba8533e2523670 (diff)
center entire _auto view
-rw-r--r--public/static/default.css6
-rw-r--r--templates/geolocation.html.ep2
2 files changed, 8 insertions, 0 deletions
diff --git a/public/static/default.css b/public/static/default.css
index e0bb6a4..86642c0 100644
--- a/public/static/default.css
+++ b/public/static/default.css
@@ -404,6 +404,10 @@ div.displaysingle div.info {
color: #0000ff;
}
+div.geolocation {
+ text-align: center;
+}
+
div.candidatestatus {
text-align: center;
color: #999999;
@@ -416,6 +420,8 @@ div.candidatelist a {
padding: 1em;
margin-top: 0.1em;
margin-bottom: 0.1em;
+ margin-left: auto;
+ margin-right: auto;
width: 20em;
text-align: center;
background-color: #dddddd;
diff --git a/templates/geolocation.html.ep b/templates/geolocation.html.ep
index 66e456a..843892d 100644
--- a/templates/geolocation.html.ep
+++ b/templates/geolocation.html.ep
@@ -1,3 +1,5 @@
+<div class="geolocation">
<div class="candidateheader">Nächstgelegene Stationen:</div>
<div class="candidatestatus">Bitte warten…</div>
<div class="candidatelist"></div>
+</div> <!-- geolocation -->