Skip to content

Commit

Permalink
make theme subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed May 13, 2024
1 parent 10a4da8 commit 072af7d
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 44 deletions.
83 changes: 40 additions & 43 deletions all-standings.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,50 +13,47 @@

<h2 role="heading">Events</h2>
<table>
<tr>
<th>Event</th>
<th>Theme</th>
<th>Attendees</th>
<th>Fastest Team</th>
<th>Time</th>
</tr>
{% assign events = site.data.events |where: "future", nil | reverse %}
{% for row in events %}
{% assign attendees = 0 %}
<tr>
<th>Event</th>
<th>Theme</th>
<th>Attendees</th>
<th>Fastest Team</th>
<th>Time</th>
</tr>
{% assign events = site.data.events |where: "future", nil | reverse %}
{% for row in events %}
{% assign attendees = 0 %}

{% assign month_results = site.data.results | where: "Date", row.date %}
{% for r in month_results %}
{% assign attendees = attendees | plus: r['Team Size'] %}

{% endfor %}
{% if attendees > 0 %}
<tr>
<td>
<a href='/standings/{{row.date|date:"%Y-%m"}}/' title='Standings for {{row.date|date:"%B %Y"}}'>
{{row.date|date:"%B %Y"}}
</a>
</td>
<td>{{row.theme}}</td>




<td><span>{{attendees}}</span></td>
{% assign top_team = month_results.first %}
<td class="team color-{{month_results.first.color_index}}">
<a href="/teams/{{top_team.slug}}/" title="Team Page for {{top_team['Team Name']}}">
{{top_team['Team Name']}}
</a>
</td>
<td class=time>
{% if top_team.duration %}
<span>{{top_team.duration}}</span>
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}
{% assign month_results = site.data.results | where: "Date", row.date %}
{% for r in month_results %}
{% assign attendees = attendees | plus: r['Team Size'] %}

{% endfor %}
{% if attendees > 0 %}
<tr>
<td>
<a href='/standings/{{row.date|date:"%Y-%m"}}/' title='Standings for {{row.date|date:"%B %Y"}}'>
{{row.date|date:"%B %Y"}}
</a>
</td>
<td class=subtle>{{row.theme}}</td>

<td><span>{{attendees}}</span></td>
{% assign top_team = month_results.first %}
<td class="team color-{{month_results.first.color_index}}">
<a href="/teams/{{top_team.slug}}/" title="Team Page for {{top_team['Team Name']}}">
{{top_team['Team Name']}}
</a>
</td>
<td class=time>
{% if top_team.duration %}
<span>{{top_team.duration}}</span>
{% endif %}
</td>
</tr>
{% endif %}
{% endfor %}

</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion css/skeleton-auto.css
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ table td.team strong {
font-weight: 500;
}

table td.team span {
table td.team span, td.subtle {
text-transform: capitalize;
margin-left: 0.75rem;
font-size: 0.8rem;
Expand Down

0 comments on commit 072af7d

Please sign in to comment.