From: Cameron Ball Date: Sat, 19 Jan 2019 17:11:18 +0000 (+0800) Subject: Center align week tabs, and misc cleanup X-Git-Url: http://git.cameron1729.xyz/?p=SonOfLokstallBot.git;a=commitdiff_plain;h=0984a07005759811b7121112c08028077373689a Center align week tabs, and misc cleanup --- diff --git a/src/bootstrap.php b/src/bootstrap.php index 097af20..0510a8b 100644 --- a/src/bootstrap.php +++ b/src/bootstrap.php @@ -84,7 +84,8 @@ function doIt() { $completedTasks = file_exists($completedTasksFile) ? lines(trim(file_get_contents($completedTasksFile))) : []; return table(map(function($task) use($completedTasks) { return [getString($task), in_array($task, $completedTasks) ? '👍😄' : '👎😱']; })(getTasksForTheWeek($year, $month, $num, require 'taskMatrix.php'))); })($mondays), - ($year == $today->year && $month == $today->month) ? 'Week ' . $today->weekNum : 'Week 1' + ($year == $today->year && $month == $today->month) ? 'Week ' . $today->weekNum : 'Week 1', + true ); })(range(1,12)), ($year == $today->year) ? strToUpper(getMonthName($today->month)) : 'JANUARY' diff --git a/src/report.php b/src/report.php index 83c76c8..4368b5b 100644 --- a/src/report.php +++ b/src/report.php @@ -25,13 +25,13 @@ padding-bottom: 1rem; } img { - image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */ - image-rendering: -moz-crisp-edges; /* Firefox */ - image-rendering: -o-crisp-edges; /* Opera */ - image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */ - image-rendering: pixelated; /* Chrome */ - image-rendering: optimize-contrast; /* CSS3 Proposed */ - -ms-interpolation-mode: nearest-neighbor; /* IE8+ */ + image-rendering: optimizeSpeed; + image-rendering: -moz-crisp-edges; + image-rendering: -o-crisp-edges; + image-rendering: -webkit-optimize-contrast; + image-rendering: pixelated; + image-rendering: optimize-contrast; + -ms-interpolation-mode: nearest-neighbor; width: 100%; margin-top: 3.5rem; position: sticky;