git ssb

10+

Matt McKegg / patchwork



Tree: d998e311319f8db707a6759e1251388daa232083

Files: d998e311319f8db707a6759e1251388daa232083 / styles / dark / markdown.mcss

1562 bytesRaw
1Markdown {
2 word-break: break-word
3 (img) {
4 -pending {
5 background-color: #2d2c2c
6 width: 120px
7 height: 40px
8 background-image: svg(fetching)
9 background-position: center
10 background-repeat: no-repeat
11 border-radius: 3px
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 fill: #757474
21 }
22 }
23 }
24 }
25
26 (table) {
27 margin: 10px 0
28 border-collapse: collapse
29 (th) {
30 text-align: left
31 border-bottom: 1px solid #DDD
32 padding: 3px
33 }
34 (td) {
35 padding: 3px
36 }
37 }
38
39 (blockquote) {
40 margin: 1rem 0;
41 padding: 5px 20px;
42 border-left: 4px #aeaeae solid;
43 background: #434141;
44 color: #aaa;
45 }
46 (hr) {
47 border: none;
48 border-top: 1px solid #2d2c2c
49 margin: 1em 0
50 }
51 (pre) {
52 overflow: auto;
53 padding: 10px;
54 background: #2d2c2c;
55 max-height: 300px;
56 }
57 (ul) {
58 (p) {
59 margin: 0;
60 }
61 }
62 (img.emoji) {
63 width: 1.5em;
64 height: 1.5em;
65 align-content: center;
66 margin-bottom: -0.3em;
67 }
68
69 p {
70 (a) {
71 color: #6f74e5
72 :hover {
73 text-decoration: underline;
74 }
75 [href^="@"] {
76 color: #efef00
77 border-bottom: 1px dotted #efef00
78 :hover {
79 text-decoration: none;
80 }
81 }
82 [href^="#"] {
83 color: #c1cdf0
84 :hover {
85 text-decoration: none;
86 }
87 }
88 }
89 }
90}
91

Built with git-ssb-web