From be7b5d729f1cd15d9d8f7d6bcfae9fb2912a9f0d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Feb 2018 18:47:15 +0000 Subject: [PATCH 1/3] Add widget class --- assets/less/components/widget.less | 3 +++ assets/less/main.less | 1 + source/_includes/availability.html.twig | 2 +- source/_includes/badges.html.twig | 4 ++-- source/_includes/posts/latest.html.twig | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 assets/less/components/widget.less diff --git a/assets/less/components/widget.less b/assets/less/components/widget.less new file mode 100644 index 00000000..48262eca --- /dev/null +++ b/assets/less/components/widget.less @@ -0,0 +1,3 @@ +.widget { + @apply .mb-6 .block; +} diff --git a/assets/less/main.less b/assets/less/main.less index 247b8710..7066e10b 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -73,5 +73,6 @@ svg { @import 'components/table.less'; @import 'components/talk/slides.less'; @import 'components/talk/video.less'; +@import 'components/widget.less'; @tailwind utilities; diff --git a/source/_includes/availability.html.twig b/source/_includes/availability.html.twig index 9438df26..9adc5ace 100644 --- a/source/_includes/availability.html.twig +++ b/source/_includes/availability.html.twig @@ -1,4 +1,4 @@ -
+

Availability

    diff --git a/source/_includes/badges.html.twig b/source/_includes/badges.html.twig index 66035be1..e036a203 100644 --- a/source/_includes/badges.html.twig +++ b/source/_includes/badges.html.twig @@ -1,11 +1,11 @@
    -
    + -
    +
    Acquia Certified Grand Master - Drupal 8 Exam Badge diff --git a/source/_includes/posts/latest.html.twig b/source/_includes/posts/latest.html.twig index eeaeed88..7a18d7e2 100644 --- a/source/_includes/posts/latest.html.twig +++ b/source/_includes/posts/latest.html.twig @@ -1,5 +1,5 @@ {% if data.posts and page.url != '/blog' %} -
    +

    Latest Blog Posts

      From bc90765b6c3f30abd70dd114289118abd6df9d7d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Feb 2018 18:47:40 +0000 Subject: [PATCH 2/3] Move table-collapse into component --- assets/less/components/table.less | 4 ++++ assets/less/main.less | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/less/components/table.less b/assets/less/components/table.less index a2a0fafe..5aed34b1 100644 --- a/assets/less/components/table.less +++ b/assets/less/components/table.less @@ -1,3 +1,7 @@ +.table-collapse { + border-collapse: collapse; +} + .table-responsive { @apply .mb-4 .border .w-full; overflow-x: auto; diff --git a/assets/less/main.less b/assets/less/main.less index 7066e10b..e17890cc 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -61,10 +61,6 @@ svg { fill: currentColor; } -.table-collapse { - border-collapse: collapse; -} - @import 'components/listing.less'; @import 'components/nav.less'; @import 'components/post.less'; From ae99f3d3d8b51ef3def478623ab7e01d1285f705 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Feb 2018 18:48:33 +0000 Subject: [PATCH 3/3] Remove old imports --- assets/less/main.less | 3 --- 1 file changed, 3 deletions(-) diff --git a/assets/less/main.less b/assets/less/main.less index e17890cc..419a8eca 100644 --- a/assets/less/main.less +++ b/assets/less/main.less @@ -1,6 +1,3 @@ -// @import (less) "~font-awesome/css/font-awesome.css"; -// @import (less) "~highlightjs/styles/github-gist.css"; - @tailwind preflight; p,