feat(docs): Add guide index page

This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent ae18d231b0
commit 3bc0e878a2
5 changed files with 78 additions and 9 deletions
+19 -5
View File
@@ -1,12 +1,14 @@
:root {
--primary: #BB86FC;
--secondary: #03dac5;
--content-width: 100%;
}
.dark {
--c-text-lighter: white !important;
--c-text: white !important;
--c-bg: black !important;
--c-bg-light: rgba(17, 24, 39, var(--tw-bg-opacity)) !important;
--c-bg-lighter: rgba(17, 24, 39, var(--tw-bg-opacity)) !important;
}
html, body {
@@ -14,14 +16,24 @@ html, body {
}
.home {
--content-width: 100%;
max-width: 100% !important;
@apply !px-0;
}
.page, .page-meta, .footer, .sidebar {
.page a {
@apply text-green-500 font-semibold;
}
.examples .page, .examples .page-meta, .footer, .sidebar {
@apply dark:(!bg-black text-white);
}
.examples .page {
--content-width: 100%;
@apply max-w-3/4;
}
.theme-default-content {
@apply overflow-scroll md:overflow-hidden;
}
@@ -39,11 +51,13 @@ h2 {
}
p {
@apply text-md lg:text-lg font-qtype;
@apply text-md lg:text-lg;
line-height: inherit;
margin: inherit;
}
p ~ h1, p ~ h2 {
@apply mt-6;
ul li {
@apply mt-2;
}
.vue-flow__node.dark {
+1 -2
View File
@@ -16,9 +16,8 @@ import ParentLayout from '@vuepress/theme-default/lib/client/layouts/Layout.vue'
</template>
<style>
.page-footer {
@apply dark:(text-white bg-black) pt-[2rem];
@apply dark:(text-white bg-black) pt-[2rem] text-center;
border-top: 1px solid var(--c-border);
text-align: center;
transition: border-color var(--t-color);
}
</style>