diff --git a/tournaments/templates/tournaments/broadcast/broadcasted_planning.html b/tournaments/templates/tournaments/broadcast/broadcasted_planning.html index ee9bff9..54cbf15 100644 --- a/tournaments/templates/tournaments/broadcast/broadcasted_planning.html +++ b/tournaments/templates/tournaments/broadcast/broadcasted_planning.html @@ -13,6 +13,11 @@ .running { background-color: #90ee90 !important; } + .timeslot { + font-family: "Anybody-ExtraBold"; + font-size: clamp(0.4rem, 1.5vw - 0.2rem, 3rem); /* Adjust these values as needed */ + color: #1b223a; + } .match-cell { box-sizing: border-box; padding: 0; @@ -20,12 +25,13 @@ flex-shrink: 0; } .match-cell .bubble { - height: 8rem; + height: 14vh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; - font-size: clamp(0.8rem, 1vw + 0.4rem, 1.2rem); + /* Dynamic font size based on viewport width */ + font-size: clamp(0.4rem, 1.2vw - 0.2rem, 5rem); /* Adjust these values as needed */ overflow: hidden; text-overflow: ellipsis; color: black; @@ -47,7 +53,7 @@ flex-shrink: 0; } .court-label .bubble { - height: 4rem; + height: 4vh; font-weight: bold; margin: 0; width: 100%; @@ -55,19 +61,44 @@ display: flex; align-items: center; justify-content: center; - font-size: 1em; + /* Slightly smaller dynamic font size for court labels */ + font-size: clamp(0.7rem, 0.8vw + 0.1rem, 3rem); /* Adjust these values as needed */ color: black; } .courts-row, .matches-row { display: flex; width: 100%; - gap: 20px; + gap: 10px; } .grid-x { display: flex; flex-wrap: wrap; } + .matchtitle { + font-size: inherit; /* Inherit the dynamic font size from .bubble */ + font-weight: bold; + margin-bottom: 0.2em; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .minor-info { + font-size: inherit; /* Inherit the dynamic font size from .bubble */ + font-weight: normal; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + .score { + font-size: inherit; /* Inherit the dynamic font size from .bubble */ + } + .bold { + font-weight: bold; + } + .ws { + white-space: nowrap; + } @@ -76,126 +107,126 @@ - + + } + }" x-init="loop()">
@@ -203,9 +234,25 @@
-
- +
+
+