From 0d19f906914d3a4be08f22d41b9526fc601c8775 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 19 Apr 2019 00:43:23 +0100 Subject: [PATCH 1/2] Remove duplicate title --- source/articles/tags/tag.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/articles/tags/tag.html b/source/articles/tags/tag.html index f38f80a1..851a4f38 100644 --- a/source/articles/tags/tag.html +++ b/source/articles/tags/tag.html @@ -9,11 +9,11 @@ generator: {% endblock %} -{% block title %}{{ page.title }} "{{ page.tag }}"{% endblock %} +{% block page_title %} + {{ page.title }}: "{{ page.tag }}" +{% endblock %} {% block content %} -

Tag: {{ page.tag }}

-
From ad5ae45cad0b07a9bf7c75d602686677a53db5cf Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 19 Apr 2019 01:09:56 +0100 Subject: [PATCH 2/2] Update table styling --- resources/css/app.css | 1 + resources/css/components/table.css | 16 ++++++++++++++++ source/articles/tags/tag.html | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 resources/css/components/table.css diff --git a/resources/css/app.css b/resources/css/app.css index 54381dcb..c33ba33f 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 00000000..cdfd4907 --- /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 851a4f38..204ea583 100644 --- a/source/articles/tags/tag.html +++ b/source/articles/tags/tag.html @@ -15,7 +15,7 @@ generator: {% block content %}
-
+
Post Title