Files: dfac8271fd4cbc8e4306787a6b5ed36a4b975ede / styles / markdown.mcss
513 bytesRaw
1 | Markdown { |
2 | word-break: break-word |
3 | |
4 | (img) { |
5 | margin: .5rem 0 |
6 | border-radius: .5rem |
7 | } |
8 | |
9 | // center blog images |
10 | p { |
11 | a { |
12 | img { |
13 | display: block |
14 | margin: .5rem auto |
15 | } |
16 | } |
17 | } |
18 | |
19 | (img.emoji) { |
20 | margin: 0 |
21 | } |
22 | |
23 | // code snippets and codeblocks |
24 | |
25 | pre { |
26 | background-color: #f5f5f5 |
27 | padding: .3rem |
28 | white-space: pre-wrap |
29 | word-wrap: break-word |
30 | |
31 | code { |
32 | $code |
33 | border: none |
34 | } |
35 | } |
36 | |
37 | p code { |
38 | $code |
39 | padding: 0.1rem .2rem |
40 | } |
41 | } |
42 | |
43 |
Built with git-ssb-web