2018-11-21 05:11:00 +09:00
|
|
|
<template>
|
|
|
|
<mfm v-bind="$attrs" class="havbbuyv"/>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
import Mfm from './mfm';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
components: {
|
|
|
|
Mfm
|
|
|
|
}
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="stylus" scoped>
|
|
|
|
.havbbuyv
|
|
|
|
>>> .title
|
|
|
|
display block
|
|
|
|
margin-bottom 4px
|
|
|
|
padding 4px
|
|
|
|
font-size 90%
|
|
|
|
text-align center
|
|
|
|
background var(--mfmTitleBg)
|
|
|
|
border-radius 4px
|
|
|
|
|
|
|
|
>>> .code
|
|
|
|
margin 8px 0
|
|
|
|
|
|
|
|
>>> .quote
|
|
|
|
margin 8px
|
2018-11-25 13:47:42 +09:00
|
|
|
padding 6px 0 6px 12px
|
2018-11-21 05:11:00 +09:00
|
|
|
color var(--mfmQuote)
|
|
|
|
border-left solid 3px var(--mfmQuoteLine)
|
|
|
|
|
|
|
|
>>> code
|
|
|
|
padding 4px 8px
|
|
|
|
margin 0 0.5em
|
|
|
|
font-size 80%
|
|
|
|
color #525252
|
2018-11-25 05:16:39 +09:00
|
|
|
background rgba(0, 0, 0, 0.05)
|
2018-11-21 05:11:00 +09:00
|
|
|
border-radius 2px
|
|
|
|
|
|
|
|
>>> pre > code
|
|
|
|
padding 16px
|
|
|
|
margin 0
|
|
|
|
|
|
|
|
>>> [data-is-me]:after
|
|
|
|
content "you"
|
|
|
|
padding 0 4px
|
|
|
|
margin-left 4px
|
|
|
|
font-size 80%
|
|
|
|
color var(--primaryForeground)
|
|
|
|
background var(--primary)
|
|
|
|
border-radius 4px
|
|
|
|
|
|
|
|
</style>
|