X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=score.css;h=6e20d2cf2dee8ea0aae89e66b164c3af36b0ae51;hb=b81a20a58210e03fbb0045e226a08408c3acda60;hp=307a1ada284155ce097c68c1ac2c4bf5405f4e5e;hpb=c8c82cb654ecb11a0be5aa94b6d1b67966d7c8fe;p=ultimatescore diff --git a/score.css b/score.css index 307a1ad..6e20d2c 100644 --- a/score.css +++ b/score.css @@ -14,8 +14,17 @@ body { transform-origin: top left; */ } body { - font-family: 'Exo', sans-serif; - color: #222; + font-family: 'Lato', sans-serif; + color: white; + + /* Needs to be adjusted per-font! 2px/4px is a good choice for Exo. */ + --main-padding-top-adjust: 0px; + --main-padding-top-large-adjust: 0px; +} + +#entire-bug { + transform: scale(0.8); + transform-origin: top left; } /* Score */ @@ -26,11 +35,11 @@ body { top: 10px; border-collapse: collapse; white-space: nowrap; - border: 1px solid #ccc; + border: 1px solid black; z-index: 1; } .scorebug td { - border: 1px solid #ccc; + border: 1px solid #000; } .team1color, .team2color { width: 12px; @@ -38,26 +47,26 @@ body { } .team1color { background-color: red; - background-image: linear-gradient(to right, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0)); + background-image: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0)); } .team2color { background-color: green; - background-image: linear-gradient(to left, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0)); + background-image: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0)); } .team1, .team2 { font-weight: bold; width: 100px; text-align: center; height: 35px; - background: linear-gradient(to bottom, #fff, #eee); - padding-top: 2px; /* needs to be adjusted per-font! */ + background: linear-gradient(to bottom, #00a, #008); + padding-top: var(--main-padding-top-adjust); } .score { text-align: center; - background: linear-gradient(to bottom, #fff, #eee); + background: linear-gradient(to bottom, #00c, #00a); width: 110px; height: 35px; - padding-top: 2px; /* needs to be adjusted per-font! */ + padding-top: var(--main-padding-top-adjust); } /* Clock, to the right of score */ @@ -68,13 +77,14 @@ body { top: 10px; border-collapse: collapse; white-space: nowrap; - border: 1px solid #ccc; + border: 1px solid black; } .clock { - border: 1px solid #ccc; - background: linear-gradient(to bottom, #fff, #eee); + border: 1px solid #000; + background: linear-gradient(to bottom, #00a, #008); text-align: center; height: 35px; + padding-top: var(--main-padding-top-adjust); width: 90px; } .clockbug-hidden { @@ -96,11 +106,11 @@ body { top: 52px; border-collapse: collapse; white-space: nowrap; - border: 1px solid #ccc; + border: 1px solid black; } .comment { - border: 1px solid #ccc; - background: linear-gradient(to bottom, #fff, #eee); + border: 1px solid #000; + background: linear-gradient(to bottom, #00a, #008); text-align: center; height: 30px; width: 334px; @@ -125,7 +135,7 @@ body { top: 520px; border-collapse: collapse; white-space: nowrap; - border: 1px solid #ccc; + border: 2px solid #ccc; height: 118px; font-weight: bold; width: 1050px; @@ -151,7 +161,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); @@ -173,7 +183,7 @@ body { width: 600px; border-collapse: collapse; white-space: nowrap; - border: 1px solid #6ad; + border: 1px solid black; /*display: flex; align-items: center; */ /*background: linear-gradient(to right, #44c, #33a 15px); */ @@ -196,7 +206,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 +229,10 @@ body { width: 170px; color: black; } +.lowerthird-picture img { + height: 170px; + width: 170px; +} .lowerthird-picture-hidden { width: 0px; border-left: 0px; @@ -247,7 +261,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; @@ -295,7 +309,7 @@ body { } #carousel tr { /* background: rgba(0, 0, 170, 0.8); */ - background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)); + background: linear-gradient(to bottom, rgba(0, 0, 170, 0.9), rgba(0, 0, 130, 0.9)); /* -webkit-animation: fade-in calc(counter(rowNumber) * 1.0)s ease; */ -webkit-animation: fade-in calc(counter-value(rowNumber) * 1.0s) ease; } @@ -407,11 +421,11 @@ body { @-webkit-keyframes scale-in { 0% { width: 1050px; - border: 1px solid #ccc; + border: 2px solid #ccc; } 100% { width: 0px; - border: 1px solid #ccc; + border: 2px solid #ccc; } } @-webkit-keyframes scale-in-no-border { @@ -432,7 +446,7 @@ body { } 20% { width: 0px; - border: 1px solid #6ad; + border: 1px solid black; } 100% { width: 600px; @@ -441,11 +455,11 @@ body { @-webkit-keyframes scale-in-small { 0% { width: 600px; - border: 1px solid #6ad; + border: 1px solid black; } 80% { width: 0px; - border: 1px solid #6ad; + border: 1px solid black; } 80.01% { border: 0px;