Skip to content

Commit

Permalink
Merge pull request james#4 from jwheare/master
Browse files Browse the repository at this point in the history
Timings page improvements
  • Loading branch information
james committed Jun 20, 2012
2 parents 3394b6e + cf78134 commit 9f4c177
Showing 1 changed file with 23 additions and 5 deletions.
28 changes: 23 additions & 5 deletions templates/stop.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,46 @@
background-color:#000;
color:#F00;
font-family: "Courier New", monospace;
font-size:17px;
font-size:1.6em;
font-weight:bold;
}
@media only screen and (min-width : 480px) {
body {
font-size: 3.2em;
}
}
table {
margin:10px auto;
margin:0.2em auto;
}
td.number {
text-align:right;
padding-right:1em;
}
p.stopname {
text-align: center;
color: #999;
font-size:0.5em;
}
p.disclaimer {
font-size:12px;
font-size:0.4em;
text-align:center;
color:#333;
}
p.disclaimer a{
color:#333;
}
p.back {
font-size:12px;
padding: 0.5em 0;
font-size:0.6em;
text-align:center;
color:#333;
}
p.back a {
color: #ddd;
display: block;
padding: 1em 0;
color: #ddd;
text-decoration: none;
background-color: #151515;
}
</style>
<script type="text/javascript" charset="utf-8">
Expand Down Expand Up @@ -68,6 +83,9 @@

<body>
<%= erb :indicator_table %>
<% if @stop %>
<p class="stopname"><%= @stop["name"] %></p>
<% end %>
<p class="back"><a href="/">Search again</a></p>
<p class="disclaimer">Data sucked from <a href="http://countdown.tfl.gov.uk/">TFL</a> without permission.</p>
</body>
Expand Down

0 comments on commit 9f4c177

Please sign in to comment.