diff --git a/assets/less/components/table.less b/assets/less/components/table.less new file mode 100644 index 00000000..b50d8fd0 --- /dev/null +++ b/assets/less/components/table.less @@ -0,0 +1,18 @@ +.table { + @apply .w-full; + @apply .table-collapse; + @apply .border; + @apply .border-grey-light; +} + +.table tr:nth-child(odd) { + @apply .bg-grey-lightest; +} + +.table tr th { + @apply .text-left .p-2 .bg-white; +} + +.table td { + @apply .p-2 .border-t; +} diff --git a/assets/less/main.less b/assets/less/main.less index 0e7f0116..7827d74b 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -64,6 +64,7 @@ svg { @import "components/listing"; @import "components/post"; +@import "components/table"; @import "components/talk/slides"; @import "components/talk/video"; @import "components/testimonial"; diff --git a/source/_includes/talks-table-row.html.twig b/source/_includes/talks-table-row.html.twig index ffbc4746..5a8a550d 100644 --- a/source/_includes/talks-table-row.html.twig +++ b/source/_includes/talks-table-row.html.twig @@ -1,5 +1,5 @@ -
Date | +Date | {% if not talk_page %} -Talk | +Talk | {% endif %} -Event | +Event | {% if not upcoming %} -Feedback | +Feedback | {% endif %}
---|