diff --git a/site/assets/styles.css b/site/assets/styles.css index 9a83e8912b..3527dd112c 100644 --- a/site/assets/styles.css +++ b/site/assets/styles.css @@ -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; +} diff --git a/site/ids.njk b/site/ids.njk new file mode 100644 index 0000000000..5791f2c019 --- /dev/null +++ b/site/ids.njk @@ -0,0 +1,36 @@ +--- +title: Feature IDs and BCD keys +layout: layout.njk +--- + +
+

{{ title }}

+ + + + + + + + + + + + {% for feature in allFeatures %} + + + + + + + {% endfor %} + +
IDNameDescriptionBCD keys
{{ feature.id }}{{ feature.name }}{{ feature.description }} +
    + {% for key in feature.compat_features %} +
  • {{ key }}
  • + {% endfor %} +
+
+ +