* {
- -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;
+
+ /* 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;
}
/* Score */
text-align: center;
height: 35px;
background: linear-gradient(to bottom, #00a, #008);
+ padding-top: var(--main-padding-top-adjust);
}
.score {
text-align: center;
background: linear-gradient(to bottom, #00c, #00a);
width: 110px;
height: 35px;
+ padding-top: var(--main-padding-top-adjust);
}
/* Clock, to the right of score */
border: 1px solid #000;
background: linear-gradient(to bottom, #00a, #008);
text-align: center;
- height: 35px;
+ height: 36px;
+ padding-top: var(--main-padding-top-adjust);
width: 90px;
}
.clockbug-hidden {
background-image: url(lowerthird-bg.png);
color: black;
/* padding-top: 20px; */
+ display: flex;
+ align-items: center;
+ vertical-align: middle;
}
.lowerthird-headline-hidden {
width: 0px;
.lowerthird-headline-content {
padding-left: 20px;
position: absolute;
+ padding-top: var(--main-padding-top-large-adjust);
}
.lowerthird-headline-content-hidden {
clip: rect(0px,0px,200px,0px);
.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;
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);
.lowerthird-subheading-content {
position: absolute;
padding-left: 20px;
+ padding-top: var(--main-padding-top-adjust);
}
.lowerthird-subheading-content-hidden {
width: 0px;
width: 170px;
color: black;
}
+.lowerthird-picture img {
+ height: 170px;
+ width: 170px;
+}
.lowerthird-picture-hidden {
width: 0px;
border-left: 0px;
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;
border: 1px solid black;
}
100% {
- width: 500px;
+ width: 600px;
}
}
@-webkit-keyframes scale-in-small {
0% {
- width: 500px;
+ width: 600px;
border: 1px solid black;
}
80% {