Sass tidy

This commit is contained in:
Oliver Davies 2018-10-04 00:56:57 +01:00
parent 5b1fb98c45
commit 94156420c1
11 changed files with 33 additions and 53 deletions

View file

@ -14,12 +14,12 @@ main a
text-decoration: none text-decoration: none
h1, h2, h3 h1, h2, h3
@apply .mb-2 @apply mb-2
.content .content
h2, h2,
h3 h3
@apply .mt-6 @apply mt-6
p, p,
ul, ul,
@ -27,10 +27,10 @@ ol,
blockquote, blockquote,
table, table,
pre pre
@apply .mb-6 @apply mb-6
.element-invisible .element-invisible
@apply .absolute .overflow-hidden .break-normal @apply absolute overflow-hidden break-normal
clip: rect(1px, 1px, 1px, 1px) clip: rect(1px, 1px, 1px, 1px)
height: 1px height: 1px
width: 1px width: 1px

View file

@ -1,12 +1,12 @@
img img
&.with-border &.with-border
@apply .border .border-solid .border-grey-light @apply border border-solid border-grey-light
&.with-padding &.with-padding
@apply .p-1 @apply p-1
&.avatar &.avatar
@apply .border .p-1 .rounded-full @apply border p-1 rounded-full
svg svg
fill: currentColor fill: currentColor

View file

@ -1,20 +1,20 @@
[v-cloak] [v-cloak]
.v-cloak-block .v-cloak-block
display: block @apply block
.v-cloak-inline .v-cloak-inline
display: inline @apply inline
.v-cloak-inline-block .v-cloak-inline-block
display: inline-block @apply inline-block
.v-cloak-hidden .v-cloak-hidden
display: none @apply hidden
.v-cloak-invisible .v-cloak-invisible
visibility: hidden @apply invisible
.v-cloak-block, .v-cloak-block,
.v-cloak-inline, .v-cloak-inline,
.v-cloak-inline-block .v-cloak-inline-block
display: none @apply hidden

View file

@ -1,2 +1,2 @@
blockquote blockquote
@apply .border-l-4 .border-blue .pl-4 @apply border-l-4 border-blue pl-4

View file

@ -1,11 +1,6 @@
.button .button
@apply .bg-blue @apply bg-blue inline-block rounded text-white px-4 py-2
@apply .inline-block
@apply .rounded
@apply .text-white
@apply .px-4
@apply .py-2
&:active, &:active,
&:hover &:hover
@apply .bg-blue-dark @apply bg-blue-dark

View file

@ -1,2 +1,2 @@
.link .link
@apply .text-blue @apply text-blue

View file

@ -1,8 +1,8 @@
.listing .listing
@apply .pl-0 @apply pl-0
.listing-item .listing-item
@apply .overflow-hidden .pb-8 @apply overflow-hidden pb-8
&:not(:last-child) &:not(:last-child)
@apply .border-b .border-grey-light .mb-8 @apply border-b border-grey-light mb-8

View file

@ -20,12 +20,5 @@
pre code, pre code,
.hljs .hljs
@apply bg-grey-lighter @apply bg-grey-lighter block border-grey-dark border-l-4 font-mono
@apply block @apply leading-loose overflow-x-scroll p-4 rounded text-sm
@apply border-grey-dark
@apply border-l-4
@apply font-mono
@apply leading-loose
@apply overflow-x-scroll
@apply p-4
@apply rounded text-sm

View file

@ -1,13 +1,9 @@
.note .note
@apply .bg-blue-lighter @apply bg-blue-lighter
@apply .border-blue @apply border-blue border-l-4 mb-4 p-4 rounded
@apply .border-l-4
@apply .mb-4
@apply .p-4
@apply .rounded
& > *:last-child & > *:last-child
@apply .mb-0 @apply mb-0
p a p a
@apply .text-black @apply text-black

View file

@ -1,8 +1,4 @@
.talk-video .talk-video
iframe, iframe,
embed embed
@apply .absolute @apply absolute h-full pin-l pin-t w-full
@apply .h-full
@apply .pin-l
@apply .pin-t
@apply .w-full

View file

@ -1,2 +1,2 @@
.widget .widget
@apply .mb-6 .block @apply mb-6 block