]> git.sesse.net Git - ultimatescore/blobdiff - score.css
Stop changing video rates unneededly; it causes frequent wakeups.
[ultimatescore] / score.css
index c1234b8e5134b74416a10a35929e0b8214286fa3..307a1ada284155ce097c68c1ac2c4bf5405f4e5e 100644 (file)
--- a/score.css
+++ b/score.css
@@ -14,8 +14,8 @@ body {
   transform-origin: top left; */
 }
 body {
-  font-family: 'Lato', sans-serif;
-  color: white;
+  font-family: 'Exo', sans-serif;
+  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,24 +38,26 @@ 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! */
 }
 
 /* Clock, to the right of score */
@@ -66,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;
@@ -94,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;
@@ -123,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;
@@ -133,6 +135,7 @@ body {
   /* padding-top: 20px; */
   display: flex;
   align-items: center;
+  vertical-align: middle;
 }
 .lowerthird-headline-hidden {
   width: 0px;
@@ -148,6 +151,7 @@ body {
 .lowerthird-headline-content {
   padding-left: 20px;
   position: absolute;
+  padding-top: 4px;  /* needs to be adjusted per-font! */
 }
 .lowerthird-headline-content-hidden {
   clip: rect(0px,0px,200px,0px);
@@ -166,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); */
@@ -192,6 +196,7 @@ body {
 .lowerthird-subheading-content {
   position: absolute;
   padding-left: 20px;
+  padding-top: 2px;  /* needs to be adjusted per-font! */
 }
 .lowerthird-subheading-content-hidden {
   width: 0px;
@@ -290,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;
 }
@@ -402,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 {
@@ -427,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;