]> git.sesse.net Git - ultimatescore/blobdiff - score.css
Change to NM color theme again.
[ultimatescore] / score.css
index 307a1ada284155ce097c68c1ac2c4bf5405f4e5e..a5b5d5b84c22b7b69fa3495de08761f2cfb2c5bb 100644 (file)
--- a/score.css
+++ b/score.css
@@ -16,6 +16,15 @@ body {
 body {
   font-family: 'Exo', sans-serif;
   color: #222;
+
+  /* Needs to be adjusted per-font! 2px/4px is a good choice for Exo. */
+  --main-padding-top-adjust: 2px;
+  --main-padding-top-large-adjust: 4px;
+}
+
+#entire-bug {
+  transform: scale(0.8);
+  transform-origin: top left;
 }
 
 /* Score */
@@ -32,6 +41,18 @@ body {
 .scorebug td {
   border: 1px solid #ccc;
 }
+.scorebug2 {
+  /*top: 52px; */
+ /* left: 22px; */ 
+  left: 1275px;
+  top: 13px;
+  font-size: 20px;
+}
+#clockbug2 {
+  left: 1360px;
+  top: 13px;
+  font-size: 20px;
+}
 .team1color, .team2color {
   width: 12px;
   margin: 5px;
@@ -50,18 +71,27 @@ body {
   text-align: center;
   height: 35px;
   background: linear-gradient(to bottom, #fff, #eee);
-  padding-top: 2px;  /* needs to be adjusted per-font! */
+  padding-top: var(--main-padding-top-adjust);
+}
+#score2_team1, #score2_team2 {
+  background: linear-gradient(to bottom, #fff8, #eee8);
+}
+#score2_team1, #score2_team2, #score2_score {
+  height: 30px;
 }
 .score {
   text-align: center;
   background: linear-gradient(to bottom, #fff, #eee);
   width: 110px;
   height: 35px;
-  padding-top: 2px;  /* needs to be adjusted per-font! */
+  padding-top: var(--main-padding-top-adjust);
+}
+#score2_score {
+  background: linear-gradient(to bottom, #fff8, #eee8);
 }
 
 /* Clock, to the right of score */
-.clockbug {
+.clockbug, .clockbug2 {
   position: fixed;
   font-size: 25px;
   left: 352px;
@@ -75,8 +105,13 @@ body {
   background: linear-gradient(to bottom, #fff, #eee);
   text-align: center;
   height: 35px;
+  padding-top: var(--main-padding-top-adjust);
   width: 90px;
 }
+#clock2 {
+  background: linear-gradient(to bottom, #fff8, #eee8);
+  height: 30px;
+}
 .clockbug-hidden {
   -webkit-transform:translateX(-200%);
 }
@@ -151,7 +186,7 @@ body {
 .lowerthird-headline-content {
   padding-left: 20px;
   position: absolute;
-  padding-top: 4px;  /* needs to be adjusted per-font! */
+  padding-top: var(--main-padding-top-large-adjust);
 }
 .lowerthird-headline-content-hidden {
   clip: rect(0px,0px,200px,0px);
@@ -196,7 +231,7 @@ body {
 .lowerthird-subheading-content {
   position: absolute;
   padding-left: 20px;
-  padding-top: 2px;  /* needs to be adjusted per-font! */
+  padding-top: var(--main-padding-top-adjust);
 }
 .lowerthird-subheading-content-hidden {
   width: 0px;
@@ -219,6 +254,10 @@ body {
   width: 170px;
   color: black;
 }
+.lowerthird-picture img {
+  height: 170px;
+  width: 170px;
+}
 .lowerthird-picture-hidden {
   width: 0px;
   border-left: 0px;
@@ -247,7 +286,7 @@ body {
   clip: rect(0px,0px,200px,0px);
 }
 
-/* these are hidden when actually run in casparcg */
+/* these are hidden when actually run in Nageru */
 #area {
   position: fixed;
   left: 0px;