X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=score.css;h=0810921d72c16517c9a647494bc1e1d2ae703337;hb=56c7b14d7113dce870f3b95134092e80eb1a657e;hp=7843b9f9ee7c687fa51509e0390b94b2f8a9079f;hpb=7da4b0c7c7392f7e4d68916d7c27a6e8f62c293b;p=ultimatescore diff --git a/score.css b/score.css index 7843b9f..0810921 100644 --- a/score.css +++ b/score.css @@ -8,9 +8,13 @@ body { padding: 0; background: transparent; overflow: hidden; + + /* 720p -> 1080p */ + /* transform: scale(1.5); + transform-origin: top left; */ } body { - font-family: 'Lato', sans-serif; + font-family: 'Exo', sans-serif; color: white; } @@ -46,12 +50,14 @@ body { text-align: center; height: 35px; background: linear-gradient(to bottom, #00a, #008); + padding-top: 2px; /* needs to be adjusted per-font! */ } .score { text-align: center; background: linear-gradient(to bottom, #00c, #00a); width: 110px; height: 35px; + padding-top: 2px; /* needs to be adjusted per-font! */ } /* Clock, to the right of score */ @@ -127,6 +133,9 @@ body { background-image: url(lowerthird-bg.png); color: black; /* padding-top: 20px; */ + display: flex; + align-items: center; + vertical-align: middle; } .lowerthird-headline-hidden { width: 0px; @@ -142,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); @@ -152,12 +162,13 @@ body { .lowerthird-headline-content-animate-out { -webkit-animation: wipe-in 2.0s ease; clip: rect(0px,0px,200px,0px); + -webkit-animation-fill-mode: both; } .lowerthird-subheading { position: fixed; font-size: 24px; left: 40px; - top: 637px; + top: 638px; height: 40px; width: 500px; border-collapse: collapse; @@ -167,6 +178,8 @@ body { align-items: center; */ /*background: linear-gradient(to right, #44c, #33a 15px); */ background-image: url(lowerthird-bg2.png); + display: flex; + align-items: center; } .lowerthird-subheading-hidden { clip: rect(0px,0px,200px,0px); @@ -183,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;