Center align week tabs, and misc cleanup
authorCameron Ball <cameron@cameron1729.xyz>
Sat, 19 Jan 2019 17:11:18 +0000 (01:11 +0800)
committerCameron Ball <cameron@cameron1729.xyz>
Sat, 19 Jan 2019 17:11:18 +0000 (01:11 +0800)
src/bootstrap.php
src/report.php

index 097af20..0510a8b 100644 (file)
@@ -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'
index 83c76c8..4368b5b 100644 (file)
                 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;