From 85a40f68cbcf6607e6aee13a8462e876fa58f1f3 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Mon, 24 Feb 2014 16:41:33 +0100 Subject: [PATCH] Style update --- css/main.css | 4 ---- js/main.js | 6 +++--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/css/main.css b/css/main.css index 8946bdfa..b38b4960 100644 --- a/css/main.css +++ b/css/main.css @@ -98,10 +98,6 @@ body, html { { width: 60px; } -.forecast-table .temp-min -{ - width: 60px; -} .forecast-table .day { diff --git a/js/main.js b/js/main.js index e8aa5a6a..0935fc9c 100644 --- a/js/main.js +++ b/js/main.js @@ -125,7 +125,7 @@ jQuery(document).ready(function($) { var temp_max = roundTemp(json.main.temp_max); var iconClass = iconTable[json.weather[0].icon]; - var icon = $('').addClass('icon').addClass(iconClass); + var icon = $('').addClass('icon').addClass('dimmed').addClass(iconClass); $('.temp').updateWithText(icon.outerHTML()+temp+'°', 1000); // var forecast = 'Min: '+temp_min+'°, Max: '+temp_max+'°'; @@ -178,8 +178,8 @@ jQuery(document).ready(function($) { var row = $(''); row.append($('').addClass('day').html(dayAbbr[dt.getDay()])); - row.append($('').addClass('temp-max').html(roundTemp(forecast.temp_max)+'°')); - row.append($('').addClass('temp-min').html(roundTemp(forecast.temp_min)+'°')); + row.append($('').addClass('temp-max').html(roundTemp(forecast.temp_max))); + row.append($('').addClass('temp-min').html(roundTemp(forecast.temp_min))); forecastTable.append(row); }