summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forecast.html.tt9
1 files changed, 9 insertions, 0 deletions
diff --git a/forecast.html.tt b/forecast.html.tt
index 56beb56..cdcf3ab 100644
--- a/forecast.html.tt
+++ b/forecast.html.tt
@@ -21,6 +21,9 @@
'base',now,
'normalize',1).format_duration(dur);
END;
+ MACRO overground_bg(colour) BLOCK;
+ %]background: linear-gradient(to bottom, [% colour %] 0% 25%, #fff 25% 75%, [% colour %] 75% 100%);[%
+ END;
-%]
<html>
<head>
@@ -99,6 +102,12 @@
.piccadilly { background-color: #0019A8; color: #fff; }
.victoria { background-color: #039BE5; color: #fff; }
.waterloo-city { background-color: #76D0BD; color: #fff; }
+ .liberty { [% overground_bg('#5b5f63') %]; }
+ .lioness { [% overground_bg('#fab220') %]; }
+ .mildmay { [% overground_bg('#4a8cd2') %]; }
+ .suffragette { [% overground_bg('#42bb57') %]; }
+ .weaver { [% overground_bg('#cb3091') %]; }
+ .windrush { [% overground_bg('#ee252b') %]; }
div.tube table { font-size: 75% }