From a4f1287b575e6dc2f6101caaccee22c39592f4b0 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 12 Jan 2017 19:15:34 +0100 Subject: tweaked nexstshow css for screen in studio diff --git a/www/js/nextshows.js b/www/js/nextshows.js index b831e86..94b12d3 100644 --- a/www/js/nextshows.js +++ b/www/js/nextshows.js @@ -160,7 +160,7 @@ rh.ShowView.prototype.render = function(now) { function nextshows_init() { var url = parseLocationHref(); - var maxlen = 5; + var maxlen = 3; if(url.path.length > 1) { var tmp = parseInt(url.path[1], 10); if(!isNaN(tmp) && tmp > 0) { diff --git a/www/styles/nextshows.css b/www/styles/nextshows.css index d354c8d..5c3733b 100644 --- a/www/styles/nextshows.css +++ b/www/styles/nextshows.css @@ -23,7 +23,7 @@ body { font-family: "Droid Sans", Helvetica, Arial, Sans; margin: 0; padding: 0; - font-size: 48px; + font-size: 42px; } @@ -34,7 +34,7 @@ body { } #clock { - padding: 0.1em; + padding: 0.05em; width: 100%; height: 100%; vertical-align: middle; @@ -51,19 +51,19 @@ body { } #clock span.clock-date { - padding: 0.1em; + padding: 0.05em; font-weight: bold; } #clock span.clock-time { - padding: 0.1em; + padding: 0.05em; font-weight: bold; } #shows div.show { - padding: 0.1em 0; + padding: 0.05em 0; } #shows div:nth-child(odd) { @@ -76,7 +76,7 @@ body { div.show span { font-weight: bold; - margin: 0.1em 0.22em; + margin: 0.05em 0.22em; } div.show span.show-start, div.show span.show-end { @@ -102,11 +102,11 @@ span.show-title { } #shows div:first-child { - padding-bottom: 0.5em; + padding-bottom: 0.3em; } #shows div:first-child span.show-title { - font-size: 1.2em; + font-size: 1.3em; } .soon { -- cgit v0.10.2