From 6f0e8e150142e6102db9d770e5ff248642e2beda Mon Sep 17 00:00:00 2001 From: Tobias Messner Date: Thu, 9 Mar 2023 18:44:48 +0100 Subject: [PATCH 1/2] Update some CSS defaults for Overwatch 2 --- website/src/components/broadcast/IngameTeam.vue | 2 +- website/src/components/broadcast/Middle.vue | 7 ++----- .../src/components/broadcast/cams/CamOverlay.vue | 13 ++++++------- .../src/components/broadcast/cams/TeamCamsGroup.vue | 2 +- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/website/src/components/broadcast/IngameTeam.vue b/website/src/components/broadcast/IngameTeam.vue index 9f79a647..542ae5b8 100644 --- a/website/src/components/broadcast/IngameTeam.vue +++ b/website/src/components/broadcast/IngameTeam.vue @@ -163,7 +163,7 @@ export default { return resizedImage(this._theme, ["small_logo", "default_logo"], "h-80"); }, teamWidth() { - return this.width || 690; + return this.width || 567; }, teamWidthCSS() { if (!this.teamWidth) return {}; diff --git a/website/src/components/broadcast/Middle.vue b/website/src/components/broadcast/Middle.vue index 517a65f9..ce58abc7 100644 --- a/website/src/components/broadcast/Middle.vue +++ b/website/src/components/broadcast/Middle.vue @@ -9,10 +9,7 @@ @@ -22,7 +19,7 @@ export default { width: 100%; display: flex; justify-content: center; - top: 8px; + top: -10px; pointer-events: none; } diff --git a/website/src/components/broadcast/cams/CamOverlay.vue b/website/src/components/broadcast/cams/CamOverlay.vue index 6f45ed32..a9edd44e 100644 --- a/website/src/components/broadcast/cams/CamOverlay.vue +++ b/website/src/components/broadcast/cams/CamOverlay.vue @@ -149,19 +149,18 @@ export default { diff --git a/website/src/components/broadcast/roots/IngameOverlay.vue b/website/src/components/broadcast/roots/IngameOverlay.vue index a0182675..3965e052 100644 --- a/website/src/components/broadcast/roots/IngameOverlay.vue +++ b/website/src/components/broadcast/roots/IngameOverlay.vue @@ -8,9 +8,8 @@ - + - {{ fadeSponsors }} @@ -206,6 +205,16 @@ export default { /* Margin: 0.5 4v4 */ /*background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/841443615557287956/ScreenShot_21-05-10_23-36-13-000.jpg");*/ /*background-image: url(https://cdn.discordapp.com/attachments/485493459357007876/974757857188794378/unknown.png);*/ + + /* Overwatch 2 */ + /* Margin: 0.0 */ + /* background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/1097643734834872471/escort-0-active.jpg"); */ + + /* Margin: 0.5 */ + /* background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/1097641564580368414/escort-pre-countdown.jpg"); */ + /* background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/1097641565381480479/escort-active.jpg"); */ + /* background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/1097641565100453978/control-pre-countdown.jpg"); */ + /* background-image: url("https://cdn.discordapp.com/attachments/485493459357007876/1097641564852994169/control-capped.jpg"); */ background-size: contain; position: absolute; width: 100%;