This commit is contained in:
syuilo 2021-08-05 12:20:27 +09:00
parent 80a4aa6fa6
commit 532fa9c5f9
1 changed files with 90 additions and 85 deletions

View File

@ -1,10 +1,12 @@
<template> <template>
<div class="qyqbqfal" v-size="{ max: [500] }"> <div class="qyqbqfal" v-size="{ max: [500] }">
<div class="main">
<div class="title">{{ title }}</div> <div class="title">{{ title }}</div>
<div class="body" v-html="body"></div> <div class="body" v-html="body"></div>
<div class="footer"> <div class="footer">
<MkLink :url="`https://github.com/misskey-dev/misskey/blob/master/src/docs/${lang}/${doc}.md`" class="at">{{ $ts.docSource }}</MkLink> <MkLink :url="`https://github.com/misskey-dev/misskey/blob/master/src/docs/${lang}/${doc}.md`" class="at">{{ $ts.docSource }}</MkLink>
</div> </div>
</div>
</div> </div>
</template> </template>
@ -105,14 +107,16 @@ export default defineComponent({
<style lang="scss" scoped> <style lang="scss" scoped>
.qyqbqfal { .qyqbqfal {
padding: 32px; padding: 32px;
max-width: 800px;
margin: 0 auto;
background: var(--panel); background: var(--panel);
&.max-width_500px { &.max-width_500px {
padding: 16px; padding: 16px;
} }
> .main {
max-width: 800px;
margin: 0 auto;
> .title { > .title {
font-size: 1.5em; font-size: 1.5em;
font-weight: bold; font-weight: bold;
@ -203,5 +207,6 @@ export default defineComponent({
margin: 1.5em 0 0 0; margin: 1.5em 0 0 0;
border-top: solid 2px var(--divider); border-top: solid 2px var(--divider);
} }
}
} }
</style> </style>