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