Skip to content

Commit

Permalink
A page for IDs + BCD keys
Browse files Browse the repository at this point in the history
  • Loading branch information
captainbrosset committed Jan 6, 2025
1 parent 54d24b4 commit efd8c22
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
20 changes: 20 additions & 0 deletions site/assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -634,3 +634,23 @@ main {
display: block;
font-size: 0.8rem;
}

/* Tables */

table {
border-collapse: collapse;
border: 1px solid var(--text);
font-size: .8rem;
}

th, td {
border: 1px solid var(--text);
padding: calc(var(--margin) / 4);
}

table ul, table li {
display: inline;
margin: 0;
padding: 0;
list-style: none;
}
36 changes: 36 additions & 0 deletions site/ids.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: Feature IDs and BCD keys
layout: layout.njk
---

<main>
<h1>{{ title }}</h1>

<table>
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Description</th>
<th>BCD keys</th>
</tr>
</thead>
<tbody>
{% for feature in allFeatures %}
<tr class="baseline-{{ feature.status.baseline }}">
<td>{{ feature.id }}</td>
<td>{{ feature.name }}</td>
<td>{{ feature.description }}</td>
<td>
<ul>
{% for key in feature.compat_features %}
<li>{{ key }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</tbody>
</table>

</main>

0 comments on commit efd8c22

Please sign in to comment.