aboutsummaryrefslogtreecommitdiff
path: root/sass/_markdown.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/_markdown.scss')
-rw-r--r--sass/_markdown.scss45
1 files changed, 45 insertions, 0 deletions
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;
+}