summaryrefslogtreecommitdiff
path: root/assets/css/src/markdown.css
blob: 90fd48ea613dbbec108d554bd3391cdaa89da9b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/* markdown editor */
div.CodeMirror,
div.CodeMirror-scroll {
    max-height: 250px;
    min-height: 200px;
}

.markdown-editor-small div.CodeMirror,
.markdown-editor-small div.CodeMirror-scroll {
    min-height: 100px;
    max-height: 180px;
}

.form-column div.CodeMirror {
    margin-bottom: 10px;
}

/* markdown content */
.markdown {
    line-height: 1.4em;
}

.markdown h1 {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: underline;
}

.markdown h2 {
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: underline;
}

.markdown h3 {
    font-size: 1.1em;
    text-decoration: underline;
}

.markdown h4 {
    font-size: 1.1em;
    text-decoration: underline;
}

.markdown p {
    margin-bottom: 10px;
}

.markdown ol,
.markdown ul {
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.markdown pre {
    background: #fbfbfb;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    overflow: auto;
    color: #444;
}

.markdown blockquote {
    font-style: italic;
    border-left: 3px solid #ddd;
    padding-left: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
}

.markdown img {
    display: block;
    max-width: 80%;
    margin-top: 10px;
}

.documentation {
    margin: 0 auto;
    padding: 20px;
    max-width: 850px;
    background: #fefefe;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
    color: #555;
}

.documentation img {
    border: 1px solid #333;
}

.documentation h1 {
    text-decoration: none;
    font-size: 1.8em;
    margin-bottom: 30px;
}

.documentation h2 {
    font-size: 1.3em;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 25px;
}

.documentation li {
    line-height: 30px;
}

.user-mention-link {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}

.user-mention-link:hover {
    color: #555;
}