diff --git a/app/static/style.css b/app/static/style.css index 790128b..f2dd876 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -27,11 +27,16 @@ body{font-family:"Segoe UI",Arial,sans-serif}h1{font-weight:650;letter-spacing:- .sidebar .sidebar-bottom{margin-top:auto} .records-panel { margin-bottom: 24px; } -.records-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; } -.record-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid #394246; border-radius: 8px; color: inherit; text-decoration: none; } -.record-card > span { color: #a0aaac; font-size: 13px; } -.record-card > strong { font-size: 27px; } -.record-card > small { color: #a0aaac; overflow-wrap: anywhere; } +.compact-records { padding: 16px 20px; } +.compact-records .section-head { margin-bottom: 12px; } +.compact-records .section-head h2 { font-size: 16px; } +.record-badges { display: flex; flex-wrap: wrap; gap: 8px; } +.record-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 11px; border: 1px solid #394246; border-radius: 6px; color: #c5cccc; background: #202629; font-size: 12px; text-decoration: none; } +.record-badge strong { font-size: 15px; color: #eeeae4; font-variant-numeric: tabular-nums; } +.record-badge.is-pr { border-color: #886b34; background: #30291e; } +.badge-award { color: #f3cb78; font-size: 11px; font-weight: 600; } +a.record-badge:hover { border-color: #f3cb78; background: #3a3020; } +a.record-badge:focus-visible { outline: 2px solid #f3cb78; outline-offset: 3px; } .run-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; } .run-badges:empty { display: none; } .pr-badge { display: inline-block; border: 1px solid #886b34; border-radius: 4px; padding: 3px 6px; color: #f3cb78; background: #3a3020; font-size: 11px; font-weight: 600; } diff --git a/app/templates/activity.html b/app/templates/activity.html index 72efce2..566a2f2 100644 --- a/app/templates/activity.html +++ b/app/templates/activity.html @@ -10,7 +10,7 @@
By {% if public_view %}{{ activity.owner.display_name }}{% else %}{{ activity.owner.display_name }}{% endif %}·{{ activity.started_at|localdate(activity.owner.timezone, '%H:%M') }}·{{ '{:,}'.format(analysis.summary.samples) }} recorded samples
Based on recorded distance and timestamps, with interpolated boundaries. Stops count toward elapsed time. Missing or reset data breaks an effort. PR means a record set at the time of this run, including your first recorded effort.
Across {{ stats.count }} recorded activities
Fastest stretches within your runs, including stops. PR badges mark records set at the time of the run; your first effort establishes a record.
-Import a run with recorded distance and timestamps to establish your first record.
{% endfor %}Import a run with recorded distance and timestamps to establish your first record.
{% endfor %}