From 1a5755f0a3aa239f2eb64ed2cb065254e560f0c4 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Wed, 14 Sep 2022 20:50:47 +0200 Subject: add basic markdown document styling --- web/pw-server/src/styles/markdown.scss | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 web/pw-server/src/styles/markdown.scss (limited to 'web/pw-server/src/styles/markdown.scss') 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 -- cgit v1.2.3