aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/markdown/markdown.css
blob: e012b864a6682c6674372f9b186eeb0956dd09fc (plain) (blame)
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/**
 * Credit to Simon Laroche <https://github.com/simonlc/Markdown-CSS>
 * whom created the CSS which this file is based on.
 * License: Unlicense <http://unlicense.org/>
 */

.markdown p{
    margin:0.75em 0;
}

.markdown img{
    max-width:100%;
}

.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6{
    font-weight:normal;
    font-style:normal;
    line-height:1em;
    margin:0.75em 0;
}
.markdown h4, .markdown h5, .markdown h6{ font-weight: bold; }
.markdown h1{ font-size:2.5em; }
.markdown h2{ font-size:2em; }
.markdown h3{ font-size:1.5em; }
.markdown h4{ font-size:1.2em; }
.markdown h5{ font-size:1em; }
.markdown h6{ font-size:0.9em; }

.markdown blockquote{
    color:#666666;
    padding-left: 3em;
    border-left: 0.5em #DDD solid;
    margin:0.75em 0;
}
.markdown hr { display: block; height: 2px; border: 0; border-top: 1px solid #aaa;border-bottom: 1px solid #eee; margin: 1em 0; padding: 0; }
.markdown pre, .markdown code, .markdown kbd, .markdown samp {
    font-family: monospace, 'courier new';
    font-size: 0.98em;
}
.markdown pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

.markdown b, .markdown strong { font-weight: bold; }

.markdown dfn, .markdown em { font-style: italic; }

.markdown ins { background: #ff9; color: #000; text-decoration: none; }

.markdown mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

.markdown sub, .markdown sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
.markdown sup { top: -0.5em; }
.markdown sub { bottom: -0.25em; }

.markdown ul, .markdown ol { margin: 1em 0; padding: 0 0 0 2em; }
.markdown li p:last-child { margin:0 }
.markdown dd { margin: 0 0 0 2em; }

.markdown img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

.markdown table { border-collapse: collapse; border-spacing: 0; }
.markdown td { vertical-align: top; }

@media only screen and (min-width: 480px) {
    .markdown {font-size:0.9em;}
}

@media only screen and (min-width: 768px) {
    .markdown {font-size:1em;}
}

#linklist .markdown li {
    padding: 0;
    border: none;
    background: none;
}

#linklist .markdown ul li {
    list-style: circle;
}

#linklist .markdown ol li {
    list-style: decimal;
}

.markdown table {
    padding: 0;
}
.markdown table tr {
    border-top: 1px solid #cccccc;
    background-color: white;
    margin: 0;
    padding: 0;
}
.markdown table tr:nth-child(2n) {
    background-color: #f8f8f8;
}
.markdown table tr th {
    font-weight: bold;
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
.markdown table tr td {
    border: 1px solid #cccccc;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}
.markdown table tr th :first-child, .markdown  table tr td :first-child {
    margin-top: 0;
}
.markdown table tr th :last-child, table tr td :last-child {
    margin-bottom: 0;
}

.markdown pre {
    background-color: #eee;
    padding: 4px 9px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: auto;
    box-shadow: 0 -1px 0 #e5e5e5,0 0 1px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);
}

.markdown pre code {
    color: black;
    font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    line-height: 1.7;
    font-size: 11.5px;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;  
}

.markdown :not(pre) code {
    background-color: #eee;
    padding: 1px 3px;
    border-radius: 1px;
    box-shadow: 0 -1px 0 #e5e5e5,0 0 1px rgba(0,0,0,0.12),0 1px 1px rgba(0,0,0,0.24);
}

.md_help {
    color: white;
}

/*
 Remove header links style
 */
#pageheader .md_help a {
    color: lightgray;
    font-weight: bold;
    text-decoration: underline;

    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

#pageheader .md_help a:hover {
    color: white;
}