From e9e2af423557b50c416b68559bab7786bee35ff2 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Tue, 10 May 2022 17:52:28 +0200 Subject: Initial commit --- sass/_markdown.scss | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 sass/_markdown.scss (limited to 'sass/_markdown.scss') diff --git a/sass/_markdown.scss b/sass/_markdown.scss new file mode 100644 index 0000000..262c030 --- /dev/null +++ b/sass/_markdown.scss @@ -0,0 +1,45 @@ +.content { + padding: 0 40px; + display: flex; + flex-direction: column; + overflow-x: auto; +} + +.content pre { + overflow-x: auto; + padding: 1.25em 1.5em; + white-space: pre; + word-wrap: normal; + background-color: white; + color: #4a4a4a; + font-size: .875em; + font-family: monospace; +} + +.content code { + background-color: white; + color: #4a4a4a; + font-size: .875em; + font-weight: normal; + padding: 0.25em 0.5em; + font-family: monospace; +} + +.content pre code { + padding: 0; +} + +.content a { + color: var(--primary-link-color); + + &:hover { + text-decoration: underline; + } +} + +.content blockquote { + border-left: #e2dede 8px solid; + margin: 0; + background-color: #f2f1f0; + padding: 0 20px; +} -- cgit v1.2.3