diff --git a/resources/css/app.css b/resources/css/app.css index 54381dcb6..c33ba33fc 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -33,6 +33,7 @@ a { @import 'components/markup.css'; @import 'components/note.css'; @import 'components/talks/video.css'; +@import 'components/table.css'; @import 'components/widget.css'; @tailwind utilities; diff --git a/resources/css/components/table.css b/resources/css/components/table.css new file mode 100644 index 000000000..cdfd49073 --- /dev/null +++ b/resources/css/components/table.css @@ -0,0 +1,16 @@ +.table { + th { + @apply bg-gray-200 text-left; + } + + th, + td { + @apply px-4 py-2 border border-solid border-gray-300; + } +} + +table.is-striped { + tbody > tr:not(:nth-child(odd)) td { + @apply bg-gray-100; + } +} diff --git a/source/articles/tags/tag.html b/source/articles/tags/tag.html index 851a4f387..204ea583e 100644 --- a/source/articles/tags/tag.html +++ b/source/articles/tags/tag.html @@ -15,7 +15,7 @@ generator: {% block content %}
| Post Title |
|---|