From 80c38777dc07c6cd812ff98898e603551f49a81f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 16 Jun 2019 00:41:34 +0100 Subject: [PATCH] Delete semicolons where possible --- .../resources/css/components/avatars.css | 2 +- .../resources/css/components/comment-form.css | 10 +++---- .../resources/css/components/comment-list.css | 26 +++++++++---------- .../resources/css/components/content.css | 16 ++++++------ .../css/components/discussion-avatar-list.css | 6 ++--- .../resources/css/components/forms.css | 12 ++++----- .../resources/css/components/page-title.css | 4 +-- .../resources/css/components/post.css | 12 ++++----- .../css/components/screen-reader-text.css | 2 +- .../resources/css/custom-base.css | 4 +-- 10 files changed, 47 insertions(+), 47 deletions(-) diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/avatars.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/avatars.css index eecf66d..a9ebe34 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/avatars.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/avatars.css @@ -1,3 +1,3 @@ .avatar { - @apply rounded-full; + @apply rounded-full } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-form.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-form.css index c0421c7..2358d31 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-form.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-form.css @@ -2,12 +2,12 @@ @apply mt-20; > * { - @apply mt-4; + @apply mt-4 } label { @apply w-full block pb-2; - @apply text-sm text-gray-700; + @apply text-sm text-gray-700 } input, @@ -15,15 +15,15 @@ @apply w-full p-3 border border-gray-400; &:focus { - @apply bg-white outline-none border-blue-700; + @apply bg-white outline-none border-blue-700 } } .form-submit { - @apply mt-6; + @apply mt-6 } input[type=submit] { - @apply w-auto; + @apply w-auto } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-list.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-list.css index 5ce75c5..f861b36 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-list.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/comment-list.css @@ -1,46 +1,46 @@ .comment-list .comment, .comment-author b.fn { - @apply mt-12 pl-24 relative w-full block; + @apply w-full block mt-12 pl-24 relative } .comment-list { .comment-author .avatar { - @apply absolute top-0 left-0; + @apply absolute top-0 left-0 } .comment-author b.fn { - @apply pl-0 text-2xl text-black; + @apply pl-0 text-2xl text-black } .comment-author b.fn a { - @apply text-inherit; + @apply text-inherit } .comment-author img { - @apply w-16; + @apply w-16 } .comment-metadata { - @apply text-sm text-gray-900 flex; + @apply flex text-sm text-gray-900 } .comment-metadata > .edit-link-sep { - @apply mx-1; + @apply mx-1 } .comment-content { - @apply mt-8 text-base; + @apply mt-8 text-base } .comment-reply { - @apply mt-6 text-sm; + @apply mt-6 text-sm } } .post-author-badge { - @apply absolute top-0 left-0 ml-10 w-6 h-6; - @apply flex items-center; - @apply bg-blue-500 rounded-full p-1; + @apply h-6 w-6 ml-10 p-1 flex items-center; + @apply absolute top-0 left-0; + @apply bg-blue-500 rounded-full; > svg { - @apply fill-current text-white block; + @apply block fill-current text-white } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/content.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/content.css index 49b1035..6cf7cce 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/content.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/content.css @@ -4,42 +4,42 @@ @apply font-serif text-lg leading-loose; @screen md { - @apply text-xl; + @apply text-xl } > * { @apply max-w-xl; @screen 2xl { - @apply max-w-full; + @apply max-w-full } } h2 { - @apply text-2xl font-bold mt-8 -mb-5; + @apply mt-8 -mb-5 text-2xl font-bold } a { @apply text-blue-700 underline; &:hover { - @apply text-blue-800 no-underline; + @apply text-blue-800 no-underline } } * + * { - @apply mt-6; + @apply mt-6 } p { - @apply font-serif; + @apply font-serif } ul { - @apply list-disc ml-6; + @apply ml-6 list-disc } li + li { - @apply mt-0; + @apply mt-0 } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/discussion-avatar-list.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/discussion-avatar-list.css index 8b6cfb1..f242e02 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/discussion-avatar-list.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/discussion-avatar-list.css @@ -1,15 +1,15 @@ .discussion-avatar-list { - @apply flex; + @apply flex } .discussion-avatar-list li { @apply mb-1; &:not(:first-child) { - @apply -ml-3; + @apply -ml-3 } } .discussion-avatar-list img { - @apply rounded-full w-10; + @apply w-10 rounded-full } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/forms.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/forms.css index e024079..302cb57 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/forms.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/forms.css @@ -1,22 +1,22 @@ textarea, input[type=search] { - @apply border border-gray-400 p-2 mb-2; + @apply p-2 mb-2 border border-gray-400; &:focus { - @apply outline-none bg-gray-100; + @apply outline-none bg-gray-100 } &::placeholder { - @apply text-black; + @apply text-black } } input[type=submit] { - @apply bg-blue-700 text-white block text-lg font-bold cursor-pointer; - @apply py-3 px-6 rounded mt-2; + @apply block py-3 px-6 mt-2 rounded; + @apply bg-blue-700 text-white text-lg font-bold cursor-pointer; &:hover, &:focus { - @apply bg-blue-800; + @apply bg-blue-800 } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/page-title.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/page-title.css index 66475a8..d2c604e 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/page-title.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/page-title.css @@ -1,7 +1,7 @@ .page-title { - @apply font-serif text-2xl text-gray-700 mb-16; + @apply mb-16 font-serif text-2xl text-gray-700; span { - @apply font-sans font-bold text-black block + @apply block font-sans font-bold text-black } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/post.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/post.css index df0dbc3..fc973be 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/post.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/post.css @@ -1,8 +1,8 @@ .entry-title { - @apply text-black text-4xl font-bold mt-6 mb-8; + @apply mt-6 mb-8 text-black text-4xl font-bold; @screen md { - @apply text-5xl; + @apply text-5xl } } @@ -10,18 +10,18 @@ @apply text-inherit; &:hover { - @apply text-gray-800 no-underline; + @apply text-gray-800 no-underline } } .entry-header, .entry-meta, .entry-footer { - @apply flex flex-wrap w-full; + @apply w-full flex flex-wrap } .entry-footer { - @apply mt-8; + @apply mt-8 } .byline, @@ -32,6 +32,6 @@ @apply flex items-center mr-4 mb-2; svg { - @apply mr-2 fill-current text-gray-600; + @apply mr-2 fill-current text-gray-600 } } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/screen-reader-text.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/screen-reader-text.css index 6291f3c..d1f3c72 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/screen-reader-text.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/components/screen-reader-text.css @@ -1,3 +1,3 @@ .screen-reader-text { - @apply absolute opacity-0 pointer-events-none; + @apply absolute opacity-0 pointer-events-none } diff --git a/wp-content/themes/twentynineteen-tailwindcss/resources/css/custom-base.css b/wp-content/themes/twentynineteen-tailwindcss/resources/css/custom-base.css index fb25885..be707e1 100644 --- a/wp-content/themes/twentynineteen-tailwindcss/resources/css/custom-base.css +++ b/wp-content/themes/twentynineteen-tailwindcss/resources/css/custom-base.css @@ -4,10 +4,10 @@ a { a:hover, a:focus { - @apply text-blue-800; + @apply text-blue-800 } h2:before { content: ''; - @apply w-10 block border-t-2 border-gray-600 mb-4; + @apply w-10 block mb-4 border-t-2 border-gray-600 }