Commit 670542ad authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

something something centering

parent ba773e82
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -479,6 +479,12 @@ div.candidatelist div.errshort {
	color: #aaaaaa;
}

.container {
	max-width: 40em;
	margin-left: auto;
	margin-right: auto;
}

pre {
	margin-bottom: 2em;
}
@@ -499,7 +505,7 @@ div.field {

input, select, .button {
	display: inline-block;
	width: 20em;
	width: 50em;
	max-width: 100%;
	min-height: 1.8em;
	border-radius: 4px;
@@ -513,10 +519,11 @@ input, select, .button {
}

input[type="text"] {
	width: 19em;
	width: 49em;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: left;
	box-sizing: border-box;
}

select {
+2 −0
Original line number Diff line number Diff line
% if (stash 'show_intro') {
<div class="container">
<p>
  Diese Seite ist ein inoffizielles Frontend zum Abfahrtsmonitor
  der DB. Sie kann wahlweise die vor Ort montierten Anzeigen nachahmen oder
@@ -13,4 +14,5 @@ Alle Angaben ohne Gewähr.
<p>
Oder hier angeben:
</p>
</div>
% }
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
<body style="<%= (stash('hide_opts') ? 'margin: 0; padding: 0;' : q{}) %>">

% if (my $error = stash 'error') {
<div class="container">
<div class="error">Backend-Fehler:</div>
<div>
<pre>
@@ -40,11 +41,13 @@
% elsif (stash('stationlist')) {
<div class="error">Mehrdeutige Eingabe</div>
<div>Bitte eine Station aus der Liste auswählen</div>
</div>
% }

%= content

% if (not stash('hide_opts')) {
<div class="container">
<div class="input-field">


@@ -187,6 +190,8 @@ nur Züge via Bochum oder Hamm)</li>
</ul>
</div> <!-- notes -->

</div> <!-- container -->

<div class="about">
<a href="https://finalrewind.org/projects/db-fakedisplay/">db-infoscreen</a>
v<%= stash('version') // '???' %><br/>