1
0

docs: Improve theming + introduction

This commit is contained in:
venashial
2022-03-10 00:08:59 -08:00
parent 6dcd33bbc5
commit de536d7305
7 changed files with 426 additions and 7 deletions

View File

@@ -1,7 +1,8 @@
<script lang="ts">
import "$lib/styles/variables.postcss"
import "$lib/styles/themes.postcss"
import "./_docs/prism-one-dark.css"
import "./_docs/styles/prism-one-dark.css"
import "./_docs/styles/gh-markdown.css"
import Sidebar from "./_docs/Sidebar.svelte"
</script>
@@ -31,7 +32,7 @@
overflow: hidden;
&__content {
padding: 1rem max(8vw, 1rem);
padding: 5rem max(8vw, 1rem);
max-width: 100%;
overflow-x: hidden;
overflow-y: auto;
@@ -39,6 +40,14 @@
:global(a) {
color: hsl(216, 50%, 50%);
}
:global(h1) {
font-size: 54px;
}
:global(p) {
line-height: 1.5;
}
}
}
</style>