feat(results): gold, silver and bronze medals for the top three in PDF, printouts and result tables (1.73.0)
This commit is contained in:
1 parent
7c25f23ad0
commit
41043a990d
12 files changed
+72
-12
No files matched your search
+9
-2
@@ -4847,8 +4847,6 @@ details.event-group > summary { cursor: pointer; list-style: revert; }
|
||||
/* Race overview (Race Day, results archive) */
|
||||
.race-overview-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 12px; padding: 0; }
|
||||
.race-overview-podium li { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-card); text-align: center; }
|
||||
.race-overview-podium li span { font-size: 1.4rem; font-weight: 800; color: var(--muted); }
|
||||
.race-overview-podium .podium-1 span { color: #d4a514; }
|
||||
.race-overview-phase { border-top: 1px solid var(--line); padding: 8px 0; }
|
||||
.race-overview-phase summary { cursor: pointer; padding: 4px 0; }
|
||||
.race-overview-phase h4 { margin: 12px 0 6px; }
|
||||
@@ -4883,3 +4881,12 @@ details.event-group > summary { cursor: pointer; list-style: revert; }
|
||||
/* Sponsor event heats: the car each driver has in this heat, next to the name. */
|
||||
.overlay-heat-car, .live-heat-car { color: var(--accent-2, #0ea5e9); font-weight: 600; white-space: nowrap; }
|
||||
.live-heat-car { font-size: 0.85em; margin-left: 6px; }
|
||||
|
||||
/* Gold / silver / bronze medals for places 1-3 in result tables (src/medal.js). */
|
||||
.medal { position: relative; display: inline-grid; place-items: center; width: 1.75em; height: 1.75em; border-radius: 50%; font-weight: 800; font-size: 0.85em; line-height: 1; color: #4a3500; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); background: radial-gradient(circle at 32% 28%, #fff7cf 0%, #f4cf55 38%, #c9971c 75%, #9c7210 100%); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 1px 3px rgba(0, 0, 0, 0.35); vertical-align: middle; }
|
||||
.medal-2 { color: #33383f; background: radial-gradient(circle at 32% 28%, #ffffff 0%, #dfe3e8 38%, #a8b0ba 75%, #7d8691 100%); }
|
||||
.medal-3 { color: #3d2109; background: radial-gradient(circle at 32% 28%, #ffe2c4 0%, #e3a46a 38%, #b06a2c 75%, #84491a 100%); }
|
||||
.race-overview-podium .medal { width: 2.6em; height: 2.6em; font-size: 1.1rem; justify-self: center; margin-top: 10px; }
|
||||
.race-overview-podium .medal::before { content: ""; position: absolute; top: -12px; left: 50%; width: 18px; height: 14px; transform: translateX(-50%); background: linear-gradient(90deg, #2f6fde 0 38%, #f4cf55 38% 62%, #2f6fde 62%); clip-path: polygon(0 0, 100% 0, 75% 100%, 25% 100%); z-index: -1; }
|
||||
.race-overview-podium .podium-1 { border-color: #e2bd45; }
|
||||
.race-overview-podium li { position: relative; z-index: 0; }
|
||||
Reference in new issue
Block a user