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 { .avatar {
@apply rounded-full; @apply rounded-full
} }

View file

@ -2,12 +2,12 @@
@apply mt-20; @apply mt-20;
> * { > * {
@apply mt-4; @apply mt-4
} }
label { label {
@apply w-full block pb-2; @apply w-full block pb-2;
@apply text-sm text-gray-700; @apply text-sm text-gray-700
} }
input, input,
@ -15,15 +15,15 @@
@apply w-full p-3 border border-gray-400; @apply w-full p-3 border border-gray-400;
&:focus { &:focus {
@apply bg-white outline-none border-blue-700; @apply bg-white outline-none border-blue-700
} }
} }
.form-submit { .form-submit {
@apply mt-6; @apply mt-6
} }
input[type=submit] { input[type=submit] {
@apply w-auto; @apply w-auto
} }
} }

View file

@ -1,46 +1,46 @@
.comment-list .comment, .comment-list .comment,
.comment-author b.fn { .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-list {
.comment-author .avatar { .comment-author .avatar {
@apply absolute top-0 left-0; @apply absolute top-0 left-0
} }
.comment-author b.fn { .comment-author b.fn {
@apply pl-0 text-2xl text-black; @apply pl-0 text-2xl text-black
} }
.comment-author b.fn a { .comment-author b.fn a {
@apply text-inherit; @apply text-inherit
} }
.comment-author img { .comment-author img {
@apply w-16; @apply w-16
} }
.comment-metadata { .comment-metadata {
@apply text-sm text-gray-900 flex; @apply flex text-sm text-gray-900
} }
.comment-metadata > .edit-link-sep { .comment-metadata > .edit-link-sep {
@apply mx-1; @apply mx-1
} }
.comment-content { .comment-content {
@apply mt-8 text-base; @apply mt-8 text-base
} }
.comment-reply { .comment-reply {
@apply mt-6 text-sm; @apply mt-6 text-sm
} }
} }
.post-author-badge { .post-author-badge {
@apply absolute top-0 left-0 ml-10 w-6 h-6; @apply h-6 w-6 ml-10 p-1 flex items-center;
@apply flex items-center; @apply absolute top-0 left-0;
@apply bg-blue-500 rounded-full p-1; @apply bg-blue-500 rounded-full;
> svg { > 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; @apply font-serif text-lg leading-loose;
@screen md { @screen md {
@apply text-xl; @apply text-xl
} }
> * { > * {
@apply max-w-xl; @apply max-w-xl;
@screen 2xl { @screen 2xl {
@apply max-w-full; @apply max-w-full
} }
} }
h2 { h2 {
@apply text-2xl font-bold mt-8 -mb-5; @apply mt-8 -mb-5 text-2xl font-bold
} }
a { a {
@apply text-blue-700 underline; @apply text-blue-700 underline;
&:hover { &:hover {
@apply text-blue-800 no-underline; @apply text-blue-800 no-underline
} }
} }
* + * { * + * {
@apply mt-6; @apply mt-6
} }
p { p {
@apply font-serif; @apply font-serif
} }
ul { ul {
@apply list-disc ml-6; @apply ml-6 list-disc
} }
li + li { li + li {
@apply mt-0; @apply mt-0
} }
} }

View file

@ -1,15 +1,15 @@
.discussion-avatar-list { .discussion-avatar-list {
@apply flex; @apply flex
} }
.discussion-avatar-list li { .discussion-avatar-list li {
@apply mb-1; @apply mb-1;
&:not(:first-child) { &:not(:first-child) {
@apply -ml-3; @apply -ml-3
} }
} }
.discussion-avatar-list img { .discussion-avatar-list img {
@apply rounded-full w-10; @apply w-10 rounded-full
} }

View file

@ -1,22 +1,22 @@
textarea, textarea,
input[type=search] { input[type=search] {
@apply border border-gray-400 p-2 mb-2; @apply p-2 mb-2 border border-gray-400;
&:focus { &:focus {
@apply outline-none bg-gray-100; @apply outline-none bg-gray-100
} }
&::placeholder { &::placeholder {
@apply text-black; @apply text-black
} }
} }
input[type=submit] { input[type=submit] {
@apply bg-blue-700 text-white block text-lg font-bold cursor-pointer; @apply block py-3 px-6 mt-2 rounded;
@apply py-3 px-6 rounded mt-2; @apply bg-blue-700 text-white text-lg font-bold cursor-pointer;
&:hover, &:hover,
&:focus { &:focus {
@apply bg-blue-800; @apply bg-blue-800
} }
} }

View file

@ -1,7 +1,7 @@
.page-title { .page-title {
@apply font-serif text-2xl text-gray-700 mb-16; @apply mb-16 font-serif text-2xl text-gray-700;
span { 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 { .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 { @screen md {
@apply text-5xl; @apply text-5xl
} }
} }
@ -10,18 +10,18 @@
@apply text-inherit; @apply text-inherit;
&:hover { &:hover {
@apply text-gray-800 no-underline; @apply text-gray-800 no-underline
} }
} }
.entry-header, .entry-header,
.entry-meta, .entry-meta,
.entry-footer { .entry-footer {
@apply flex flex-wrap w-full; @apply w-full flex flex-wrap
} }
.entry-footer { .entry-footer {
@apply mt-8; @apply mt-8
} }
.byline, .byline,
@ -32,6 +32,6 @@
@apply flex items-center mr-4 mb-2; @apply flex items-center mr-4 mb-2;
svg { 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 { .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:hover,
a:focus { a:focus {
@apply text-blue-800; @apply text-blue-800
} }
h2:before { h2:before {
content: ''; 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
} }