summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi')
-rw-r--r--cgi/index.pl1
-rw-r--r--cgi/templates/display.html.ep2
2 files changed, 2 insertions, 1 deletions
diff --git a/cgi/index.pl b/cgi/index.pl
index df66039..6bd475b 100644
--- a/cgi/index.pl
+++ b/cgi/index.pl
@@ -285,6 +285,7 @@ sub render_html {
'display',
title => "vrr-fakedisplay v${VERSION}",
departures => $departures,
+ scale => $self->param('scale') || '4.3',
);
return;
diff --git a/cgi/templates/display.html.ep b/cgi/templates/display.html.ep
index b61dabf..234068b 100644
--- a/cgi/templates/display.html.ep
+++ b/cgi/templates/display.html.ep
@@ -14,7 +14,7 @@
font-family: VRRR;
background-color: #000000;
color: #ffd000;
- font-size: 430%;
+ font-size: <%= $scale * 100 %>%;
}
div.outer {