git ssb

16+

Dominic / patchbay



Tree: f7fe8b6d565d3823c3d5cf96317c609472e7cdbf

Files: f7fe8b6d565d3823c3d5cf96317c609472e7cdbf / app / styles / mcss / markdown.mcss

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

Built with git-ssb-web