git ssb

16+

Dominic / patchbay



Tree: 5bb810bd56a8aa605ec54bb509fe43d9b30e31b7

Files: 5bb810bd56a8aa605ec54bb509fe43d9b30e31b7 / app / styles / mcss / markdown.mcss

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

Built with git-ssb-web