aboutsummaryrefslogtreecommitdiff
path: root/sass/_markdown.scss
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 17:52:28 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 17:52:28 +0200
commite9e2af423557b50c416b68559bab7786bee35ff2 (patch)
treeabdc86803f1de9926bd628728a375f3c583a14bc /sass/_markdown.scss
downloadguide.deuxfleurs.fr-e9e2af423557b50c416b68559bab7786bee35ff2.tar.gz
guide.deuxfleurs.fr-e9e2af423557b50c416b68559bab7786bee35ff2.zip
Initial commit
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;
+}