X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=score.css;h=307a1ada284155ce097c68c1ac2c4bf5405f4e5e;hb=3c3a5c028bed3922840a2b5ad7ab861fca092582;hp=02edc2b02a4708b9b5d0c311d888947443dd62a9;hpb=a33d84fea4047585ea797e9081862475c5d87fcd;p=ultimatescore diff --git a/score.css b/score.css index 02edc2b..307a1ad 100644 --- a/score.css +++ b/score.css @@ -1,21 +1,21 @@ * { - -webkit-box-sizing: border-box; - Box-Sizing: border-box; - -webkit-backface-visibility: hidden; - -webkit-transition: translate3d(0,0,0); + box-sizing: border-box; } -html, body { +body { width: 1280px; height: 720px; margin: 0; padding: 0; background: transparent; overflow: hidden; - -webkit-font-smoothing: antialiased !important; + + /* 720p -> 1080p */ + /* transform: scale(1.5); + transform-origin: top left; */ } body { - font-family: 'Lato', sans-serif; - color: white; + font-family: 'Exo', sans-serif; + color: #222; } /* Score */ @@ -26,51 +26,53 @@ 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: 15px; + width: 12px; margin: 5px; } .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 */ .clockbug { position: fixed; font-size: 25px; - left: 360px; + left: 352px; 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,14 +96,14 @@ 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: 340px; + width: 334px; } .commentbug-hidden { @@ -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; @@ -131,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; @@ -146,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); @@ -156,21 +162,24 @@ 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; + 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); */ background-image: url(lowerthird-bg2.png); + display: flex; + align-items: center; } .lowerthird-subheading-hidden { clip: rect(0px,0px,200px,0px); @@ -187,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; @@ -285,7 +295,7 @@ body { } #carousel tr { /* background: rgba(0, 0, 170, 0.8); */ - background: linear-gradient(to bottom, rgba(0, 0, 170, 0.8), rgba(0, 0, 130, 0.8)); + 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; } @@ -323,6 +333,25 @@ body { text-transform: none; } +/* roster */ +#carousel .playerpadding { + font-size: 25px; + background: rgba(0,0,0,0); +} +#carousel th.playernum, #carousel .playername { + font-size: 35px; +} +#carousel th.playernum { + text-align: center; + padding-right: 8px; + padding-left: 0px; margin-left: 0px; + width: 80px; +} +#carousel .playername { + text-transform: none; + width: auto; +} + .nplayed, .gd, .pts { text-align: center; } @@ -378,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 { @@ -403,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;