add more stats to mobile profile

This commit is contained in:
larssand committed 2026-09-04 16:17:45 +02:00
1 parent 142c45be04
commit 4068cc7c19
13 files changed
+267 -22

No files matched your search

+79
View File
@@ -787,3 +787,82 @@ button {
grid-template-columns: 1fr;
}
}
.is-hidden {
display: none !important;
}
.profile-chart-card {
margin-top: 14px;
}
.profile-chart-card .profile-card-head p {
margin: 5px 0 0;
color: var(--muted);
font-size: 0.78rem;
}
.profile-pace-chart {
padding: 10px 16px 16px;
}
.profile-pace-chart svg {
display: block;
width: 100%;
max-height: 190px;
overflow: visible;
border-radius: 12px;
background:
linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 25%,
linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 20% 100%;
}
.profile-pace-line {
fill: none;
stroke: var(--accent);
stroke-width: 5;
stroke-linecap: round;
stroke-linejoin: round;
}
.profile-pace-chart circle {
fill: var(--gold);
stroke: var(--surface);
stroke-width: 3;
}
.profile-chart-labels {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
margin-top: 8px;
color: var(--muted);
font-size: 0.7rem;
}
.profile-chart-labels strong {
color: var(--text);
font-family: Orbitron, sans-serif;
}
.profile-stint-table-wrap {
padding: 4px 16px 16px;
border-top: 1px solid var(--line);
}
.profile-stint-table-wrap h3 {
margin: 14px 0 8px;
font-family: Orbitron, sans-serif;
font-size: 0.86rem;
}
@media (max-width: 620px) {
.profile-chart-card .profile-card-head {
align-items: flex-start;
}
.profile-pace-chart {
padding: 8px 10px 14px;
}
}