Delete semicolons where possible

This commit is contained in:
Oliver Davies 2019-06-16 00:41:34 +01:00
parent d7958deef1
commit 80c38777dc
10 changed files with 47 additions and 47 deletions

View file

@ -1,3 +1,3 @@
.avatar {
@apply rounded-full;
@apply rounded-full
}

View file

@ -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
}
}

View file

@ -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
}
}

View file

@ -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
}
}

View file

@ -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
}

View file

@ -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
}
}

View file

@ -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
}
}

View file

@ -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
}
}

View file

@ -1,3 +1,3 @@
.screen-reader-text {
@apply absolute opacity-0 pointer-events-none;
@apply absolute opacity-0 pointer-events-none
}

View file

@ -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
}