git ssb

10+

Matt McKegg / patchwork



Tree: ca2d79056a65d70a03d4247dce1a206ca53fbf3d

Files: ca2d79056a65d70a03d4247dce1a206ca53fbf3d / styles / dark / markdown.mcss

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

Built with git-ssb-web