]> git.sesse.net Git - ultimatescore/commitdiff
Change color scheme for NM 2018; less color, flatter.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:58:52 +0000 (11:58 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:59:55 +0000 (11:59 +0100)
The background is based on a CC0 image from https://pixabay.com/p-2398946/?no_redirect.

lowerthird-bg.png
lowerthird-bg2.png
score.css

index ea954d9b9e758deef87a5993f2c22190a28ac059..67a96ec2de16dc5913fee4005277d956fbebc599 100644 (file)
Binary files a/lowerthird-bg.png and b/lowerthird-bg.png differ
index 4b80dffc5f819ac9c9dc982f436c862664ef58e1..d5566ab1a53b03c6d4fabce6105a69bd433cd990 100644 (file)
Binary files a/lowerthird-bg2.png and b/lowerthird-bg2.png differ
index 0810921d72c16517c9a647494bc1e1d2ae703337..307a1ada284155ce097c68c1ac2c4bf5405f4e5e 100644 (file)
--- a/score.css
+++ b/score.css
@@ -15,7 +15,7 @@ body {
 }
 body {
   font-family: 'Exo', sans-serif;
-  color: white;
+  color: #222;
 }
 
 /* Score */
@@ -26,11 +26,11 @@ body {
   top: 10px;
   border-collapse: collapse;
   white-space: nowrap;
-  border: 1px solid black;
+  border: 1px solid #ccc;
   z-index: 1;
 }
 .scorebug td {
-  border: 1px solid #000;
+  border: 1px solid #ccc;
 }
 .team1color, .team2color {
   width: 12px;
@@ -38,23 +38,23 @@ body {
 }
 .team1color {
   background-color: red;
-  background-image: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0));
+  background-image: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0));
 }
 .team2color {
   background-color: green;
-  background-image: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0));
+  background-image: linear-gradient(to left, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0));
 }
 .team1, .team2 {
   font-weight: bold;
   width: 100px;
   text-align: center;
   height: 35px;
-  background: linear-gradient(to bottom, #00a, #008);
+  background: linear-gradient(to bottom, #fff, #eee);
   padding-top: 2px;  /* needs to be adjusted per-font! */
 }
 .score {
   text-align: center;
-  background: linear-gradient(to bottom, #00c, #00a);
+  background: linear-gradient(to bottom, #fff, #eee);
   width: 110px;
   height: 35px;
   padding-top: 2px;  /* needs to be adjusted per-font! */
@@ -68,11 +68,11 @@ body {
   top: 10px;
   border-collapse: collapse;
   white-space: nowrap;
-  border: 1px solid black;
+  border: 1px solid #ccc;
 }
 .clock {
-  border: 1px solid #000;
-  background: linear-gradient(to bottom, #00a, #008);
+  border: 1px solid #ccc;
+  background: linear-gradient(to bottom, #fff, #eee);
   text-align: center;
   height: 35px;
   width: 90px;
@@ -96,11 +96,11 @@ body {
   top: 52px;
   border-collapse: collapse;
   white-space: nowrap;
-  border: 1px solid black;
+  border: 1px solid #ccc;
 }
 .comment {
-  border: 1px solid #000;
-  background: linear-gradient(to bottom, #00a, #008);
+  border: 1px solid #ccc;
+  background: linear-gradient(to bottom, #fff, #eee);
   text-align: center;
   height: 30px;
   width: 334px;
@@ -125,7 +125,7 @@ body {
   top: 520px;
   border-collapse: collapse;
   white-space: nowrap;
-  border: 2px solid #ccc;
+  border: 1px solid #ccc;
   height: 118px;
   font-weight: bold;
   width: 1050px;
@@ -170,10 +170,10 @@ body {
   left: 40px;
   top: 638px;
   height: 40px;
-  width: 500px;
+  width: 600px;
   border-collapse: collapse;
   white-space: nowrap;
-  border: 1px solid black;
+  border: 1px solid #6ad;
   /*display: flex;
   align-items: center; */
   /*background: linear-gradient(to right, #44c, #33a 15px); */
@@ -295,7 +295,7 @@ body {
 }
 #carousel tr {
   /* background: rgba(0, 0, 170, 0.8); */
-  background: linear-gradient(to bottom, rgba(0, 0, 170, 0.9), rgba(0, 0, 130, 0.9));
+  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8));
   /* -webkit-animation: fade-in calc(counter(rowNumber) * 1.0)s ease; */
   -webkit-animation: fade-in calc(counter-value(rowNumber) * 1.0s) ease;
 }
@@ -407,11 +407,11 @@ body {
 @-webkit-keyframes scale-in {
   0% {
     width: 1050px;
-    border: 2px solid #ccc;
+    border: 1px solid #ccc;
   }
   100% {
     width: 0px;
-    border: 2px solid #ccc;
+    border: 1px solid #ccc;
   }
 }
 @-webkit-keyframes scale-in-no-border {
@@ -432,20 +432,20 @@ body {
   }
   20% {
     width: 0px;
-    border: 1px solid black;
+    border: 1px solid #6ad;
   }
   100% {
-    width: 500px;
+    width: 600px;
   }
 }
 @-webkit-keyframes scale-in-small {
   0% {
-    width: 500px;
-    border: 1px solid black;
+    width: 600px;
+    border: 1px solid #6ad;
   }
   80% {
     width: 0px;
-    border: 1px solid black;
+    border: 1px solid #6ad;
   }
   80.01% {
     border: 0px;