Update api/main.py
All checks were successful
Build & Push Football Docker Images / build-push-update (push) Successful in 7s

This commit is contained in:
2026-04-12 18:57:13 +00:00
parent 7878565b23
commit 8ba2bf098f

View File

@@ -180,13 +180,17 @@ def widget():
.container {{
display: flex;
align-items: center;
justify-content: center; /* center the whole thing */
width: 100%;
padding: 0 4px;
height: 100%; /* fill full iframe height */
padding: 0 20px;
}}
.section {{
display: flex;
align-items: stretch;
gap: 2px;
gap: 8px;
flex: 1; /* each section takes equal space */
justify-content: space-around;
}}
.divider {{
width: 1px;
@@ -201,19 +205,19 @@ def widget():
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2px 6px;
gap: 2px;
min-width: 60px;
padding: 4px 8px;
gap: 4px;
min-width: 80px;
}}
.past {{ opacity: 0.7; }}
.future {{ opacity: 1; }}
.badge {{
width: 24px;
height: 24px;
width: 36px;
height: 63px;
object-fit: contain;
}}
.name {{
font-size: 9px;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
overflow: hidden;
@@ -224,19 +228,19 @@ def widget():
.home-name {{ color: #cbd5e1; }}
.away-name {{ color: #94a3b8; }}
.score {{
font-size: 12px;
font-size: 14px;
font-weight: 800;
color: #4ade80;
padding: 2px 0;
}}
.fixture {{
font-size: 9px;
font-size: 12px;
color: #93c5fd;
text-align: center;
line-height: 1.4;
}}
.comp {{
font-size: 8px;
font-size: 9px;
color: #475569;
font-weight: 500;
}}