Files: 6e8bb78d907b33bbdb544951cbaa4d6120d2958b / styles / markdown.mcss
986 bytesRaw
1 | Markdown { |
2 | word-break: break-word |
3 | (img) { |
4 | -pending { |
5 | border: 1px solid #DDD |
6 | background-color: #EEE |
7 | width: 120px |
8 | height: 40px |
9 | background-image: svg(fetching) |
10 | background-position: center |
11 | background-repeat: no-repeat |
12 | |
13 | @svg fetching { |
14 | width: 100px |
15 | height: 20px |
16 | content: '<text x='0' y='12'>Fetching image...</text>' |
17 | text { |
18 | font: caption |
19 | font-size: 12px |
20 | } |
21 | } |
22 | } |
23 | } |
24 | (blockquote) { |
25 | margin: 1rem 0; |
26 | padding: 5px 20px; |
27 | border-left: 4px gainsboro solid; |
28 | background: #fafafa; |
29 | color: #7c7c7c; |
30 | } |
31 | (hr) { |
32 | border: none; |
33 | border-top: 1px solid #7e7e7e; |
34 | } |
35 | (pre) { |
36 | overflow: auto; |
37 | padding: 10px; |
38 | background: #fbfbfb; |
39 | border: 1px solid #EEE; |
40 | max-height: 300px; |
41 | } |
42 | (ul) { |
43 | (p) { |
44 | margin: 0; |
45 | } |
46 | } |
47 | (img.emoji) { |
48 | width: 1.5em; |
49 | height: 1.5em; |
50 | align-content: center; |
51 | margin-bottom: -0.3em; |
52 | } |
53 | } |
54 |
Built with git-ssb-web