diff --git a/web/pw-server/src/routes/docs/doc.svelte b/web/pw-server/src/routes/docs/doc.svelte index ed08270..5b2c686 100644 --- a/web/pw-server/src/routes/docs/doc.svelte +++ b/web/pw-server/src/routes/docs/doc.svelte @@ -1,15 +1,11 @@ -
+
- diff --git a/web/pw-server/src/styles/global.scss b/web/pw-server/src/styles/global.scss index 642d54a..2278dd4 100644 --- a/web/pw-server/src/styles/global.scss +++ b/web/pw-server/src/styles/global.scss @@ -1,3 +1,4 @@ @forward "./variables.scss"; @forward "./buttons.scss"; @forward "./prism.scss"; +@forward "./markdown.scss" \ No newline at end of file diff --git a/web/pw-server/src/styles/markdown.scss b/web/pw-server/src/styles/markdown.scss new file mode 100644 index 0000000..d5ed2fa --- /dev/null +++ b/web/pw-server/src/styles/markdown.scss @@ -0,0 +1,37 @@ +@use "./variables.scss"; + +.markdown-body { + color: rgb(36, 41, 47); + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, + "Open Sans", "Helvetica Neue", sans-serif; + + + a { + color: variables.$blue-primary; + } + + code { + color: darken(#e3116c, 5%); + font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; + direction: ltr; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + font-size: 0.9em; + line-height: 1.2em; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; + } + + li { + padding: .5em; + } +} \ No newline at end of file