improve styling
This commit is contained in:
@@ -66,7 +66,6 @@ pre[class*="language-"] {
|
||||
position: relative;
|
||||
color: $codeText;
|
||||
background: $codeBg;
|
||||
margin: 0.5em 0;
|
||||
padding: 1.2rem 1.5rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
<template>
|
||||
<Layout>
|
||||
<VueRemarkContent />
|
||||
</Layout>
|
||||
</template>
|
||||
9
docs/src/templates/DocPage/index.vue
Normal file
9
docs/src/templates/DocPage/index.vue
Normal file
@@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<Layout>
|
||||
<div class="doc-page">
|
||||
<VueRemarkContent class="doc-page__markdown" />
|
||||
</div>
|
||||
</Layout>
|
||||
</template>
|
||||
|
||||
<style lang="scss" src="./style.scss" scoped></style>
|
||||
17
docs/src/templates/DocPage/style.scss
Normal file
17
docs/src/templates/DocPage/style.scss
Normal file
@@ -0,0 +1,17 @@
|
||||
.doc-page {
|
||||
&__markdown ::v-deep {
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
> * + * {
|
||||
margin-top: 1.5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user