Files: effce483881a7267ecf514acf90e05cc54fa3f31 / app / styles / mcss / markdown.mcss
1203 bytesRaw
1 | Markdown { |
2 | |
3 | p, ul, ol { |
4 | } |
5 | |
6 | hr { |
7 | height: 0 |
8 | border: solid #ddd |
9 | border-width: 1px 0 0 |
10 | clear: both |
11 | margin-bottom: .9em |
12 | } |
13 | |
14 | (pre) { |
15 | background-color: #f5f5f5 |
16 | color: #c121dc |
17 | padding: .3rem |
18 | white-space: pre-wrap |
19 | word-wrap: break-word |
20 | code { |
21 | border: none |
22 | padding: none |
23 | } |
24 | } |
25 | (code) { |
26 | background-color: #f5f5f5 |
27 | color: #c121dc |
28 | padding: 0.1rem .2rem |
29 | border: 1px solid #e6e6e6 |
30 | border-radius: 2px |
31 | } |
32 | |
33 | blockquote { |
34 | color: #666 |
35 | font-style: italic |
36 | font-size: 1rem |
37 | |
38 | p { |
39 | :last-child { |
40 | margin-bottom: .35ex |
41 | } |
42 | } |
43 | } |
44 | |
45 | ul, ol { |
46 | padding-left: 1rem |
47 | margin-top: .35rem |
48 | |
49 | (ul, ol) { |
50 | padding-left: 1.5rem |
51 | } |
52 | |
53 | } |
54 | ul.task-list { |
55 | padding-left: 0 |
56 | |
57 | (li.task-list-item) { |
58 | list-style-type: none |
59 | } |
60 | } |
61 | |
62 | |
63 | (img.emoji) { |
64 | height: 1.2em |
65 | width: 1.2em |
66 | vertical-align: middle |
67 | margin-top: -0.2em |
68 | } |
69 | |
70 | |
71 | h1, h2, h3, h4, h5, h6 { |
72 | margin: 0 |
73 | } |
74 | h1, h2 { |
75 | margin-bottom: .5em |
76 | } |
77 | h1 { font-size: 1.4rem } |
78 | h2 { font-size: 1.2em } |
79 | h3 { font-size: 1.15rem } |
80 | h4 { font-size: 1.12rem } |
81 | h5 { font-size: 1.1rem } |
82 | h6 { font-size: 1rem } |
83 | } |
84 | |
85 |
Built with git-ssb-web