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
h1, h2, h3
@apply .mb-2
@apply mb-2
.content
h2,
h3
@apply .mt-6
@apply mt-6
p,
ul,
@ -27,10 +27,10 @@ ol,
blockquote,
table,
pre
@apply .mb-6
@apply mb-6
.element-invisible
@apply .absolute .overflow-hidden .break-normal
@apply absolute overflow-hidden break-normal
clip: rect(1px, 1px, 1px, 1px)
height: 1px
width: 1px

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,8 +1,8 @@
.listing
@apply .pl-0
@apply pl-0
.listing-item
@apply .overflow-hidden .pb-8
@apply overflow-hidden pb-8
&: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,
.hljs
@apply bg-grey-lighter
@apply block
@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
@apply bg-grey-lighter block border-grey-dark border-l-4 font-mono
@apply leading-loose overflow-x-scroll p-4 rounded text-sm

View file

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

View file

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

View file

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