aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_icons/x.svg1
-rw-r--r--src/style.scss30
-rw-r--r--src/tags.html17
3 files changed, 43 insertions, 5 deletions
diff --git a/src/_icons/x.svg b/src/_icons/x.svg
index 84f8f6f..971c021 100644
--- a/src/_icons/x.svg
+++ b/src/_icons/x.svg
@@ -1,4 +1,5 @@
---
+tags: [cancel, remove, delete, empty]
---
<svg>
<line x1="18" y1="6" x2="6" y2="18" />
diff --git a/src/style.scss b/src/style.scss
index 9244717..2ffbb47 100644
--- a/src/style.scss
+++ b/src/style.scss
@@ -350,8 +350,28 @@ Components
}
}
-.icon-size-16 { width: 16px; }
-.icon-size-24 { width: 24px; }
-.icon-size-32 { width: 32px; }
-.icon-size-48 { width: 48px; }
-.icon-size-64 { width: 64px; }
+.icon-size-16 { width: 16px; height: 16px }
+.icon-size-24 { width: 24px; height: 24px }
+.icon-size-32 { width: 32px; height: 32px }
+.icon-size-48 { width: 48px; height: 48px }
+.icon-size-64 { width: 64px; height: 64px }
+
+.table {
+ width: 100%;
+ border-collapse: collapse;
+
+ td, th {
+ padding: .5rem;
+ text-align: left;
+ border: 1px solid #eee;
+ }
+
+ .icon {
+ width: 24px;
+ height: 24px;
+ }
+}
+
+.td-1 {
+ width: 1%;
+}
diff --git a/src/tags.html b/src/tags.html
new file mode 100644
index 0000000..2bad71f
--- /dev/null
+++ b/src/tags.html
@@ -0,0 +1,17 @@
+---
+layout: default
+---
+
+<div class="container">
+ <div class="box">
+ <table class="table">
+ {% for icon in site.icons %}
+ <tr>
+ <td class="td-1">{% include icon.html name=icon.slug %}</td>
+ <th>{{ icon.slug }}</th>
+ <td>{{ icon.tags | join: ', ' }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+</div>