+$trondisk: true;
+
* {
box-sizing: border-box;
}
transform-origin: top left; */
}
body {
- font-family: 'Exo', sans-serif;
- color: #222;
+ @if $trondisk {
+ 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: 4px;
+ --main-padding-top-large-adjust: 0px;
+ } @else {
+ 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;
+ /* 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 {
top: 10px;
border-collapse: collapse;
white-space: nowrap;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 1px solid black;
+ } @else {
+ border: 1px solid #ccc;
+ }
z-index: 1;
}
.scorebug td {
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 1px solid #000;
+ } @else {
+ border: 1px solid #ccc;
+ }
}
.scorebug2 {
/*top: 52px; */
}
.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));
+ @if $trondisk {
+ background-image: linear-gradient(to right, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0));
+ } @else {
+ 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(255,255,255,0.2), rgba(255,255,255,0.05) 3px, rgba(255,255,255,0));
+ @if $trondisk {
+ background-image: linear-gradient(to left, rgba(0,0,0,0.2), rgba(0,0,0,0.05) 3px, rgba(0,0,0,0));
+ } @else {
+ 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, #fff, #eee);
+ @if $trondisk {
+ background: linear-gradient(to bottom, #00a, #008);
+ } @else {
+ background: linear-gradient(to bottom, #fff, #eee);
+ }
padding-top: var(--main-padding-top-adjust);
}
#score2_team1, #score2_team2 {
- background: linear-gradient(to bottom, #fff8, #eee8);
+ @if $trondisk {
+ background: linear-gradient(to bottom, #00a8, #0088);
+ } @else {
+ 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);
+ @if $trondisk {
+ background: linear-gradient(to bottom, #00c, #00a);
+ } @else {
+ background: linear-gradient(to bottom, #fff, #eee);
+ }
width: 110px;
height: 35px;
padding-top: var(--main-padding-top-adjust);
}
#score2_score {
- background: linear-gradient(to bottom, #fff8, #eee8);
+ @if $trondisk {
+ background: linear-gradient(to bottom, #00c8, #00a8);
+ } @else {
+ background: linear-gradient(to bottom, #fff8, #eee8);
+ }
}
/* Clock, to the right of score */
top: 10px;
border-collapse: collapse;
white-space: nowrap;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 1px solid black;
+ } @else {
+ border: 1px solid #ccc;
+ }
}
.clock {
- border: 1px solid #ccc;
- background: linear-gradient(to bottom, #fff, #eee);
+ @if $trondisk {
+ border: 1px solid #000;
+ background: linear-gradient(to bottom, #00a, #008);
+ } @else {
+ border: 1px solid #ccc;
+ 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);
+ @if $trondisk {
+ background: linear-gradient(to bottom, #00a8, #0088);
+ } @else {
+ background: linear-gradient(to bottom, #fff8, #eee8);
+ }
height: 30px;
}
.clockbug-hidden {
top: 52px;
border-collapse: collapse;
white-space: nowrap;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 1px solid black;
+ } @else {
+ border: 1px solid #ccc;
+ }
}
.comment {
- border: 1px solid #ccc;
- background: linear-gradient(to bottom, #fff, #eee);
+ @if $trondisk {
+ border: 1px solid #000;
+ background: linear-gradient(to bottom, #00a, #008);
+ } @else {
+ border: 1px solid #ccc;
+ background: linear-gradient(to bottom, #fff, #eee);
+ }
text-align: center;
height: 30px;
width: 334px;
top: 520px;
border-collapse: collapse;
white-space: nowrap;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 2px solid #ccc;
+ background-image: url(trondisk/lowerthird-bg.png);
+ } @else {
+ border: 1px solid #ccc;
+ background-image: url(generic/lowerthird-bg.png);
+ }
height: 118px;
font-weight: bold;
width: 1050px;
/*background: linear-gradient(to right, #ccc, #fff 15px); */
- background-image: url(lowerthird-bg.png);
color: black;
/* padding-top: 20px; */
display: flex;
width: 600px;
border-collapse: collapse;
white-space: nowrap;
- border: 1px solid #6ad;
+ @if $trondisk {
+ border: 1px solid black;
+ background-image: url(trondisk/lowerthird-bg2.png);
+ } @else {
+ border: 1px solid #6ad;
+ background-image: url(generic/lowerthird-bg2.png);
+ }
/*display: flex;
align-items: center; */
/*background: linear-gradient(to right, #44c, #33a 15px); */
- background-image: url(lowerthird-bg2.png);
display: flex;
align-items: center;
}
}
#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));
+ @if $trondisk {
+ background: linear-gradient(to bottom, rgba(0, 0, 170, 0.9), rgba(0, 0, 130, 0.9));
+ } @else {
+ 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;
}
@-webkit-keyframes scale-in {
0% {
width: 1050px;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 2px solid #ccc;
+ } @else {
+ border: 1px solid #ccc;
+ }
}
100% {
width: 0px;
- border: 1px solid #ccc;
+ @if $trondisk {
+ border: 2px solid #ccc;
+ } @else {
+ border: 1px solid #ccc;
+ }
}
}
@-webkit-keyframes scale-in-no-border {
}
20% {
width: 0px;
- border: 1px solid #6ad;
+ @if $trondisk {
+ border: 1px solid black;
+ } @else {
+ border: 1px solid #6ad;
+ }
}
100% {
width: 600px;
@-webkit-keyframes scale-in-small {
0% {
width: 600px;
- border: 1px solid #6ad;
+ @if $trondisk {
+ border: 1px solid black;
+ } @else {
+ border: 1px solid #6ad;
+ }
}
80% {
width: 0px;