##// END OF EJS Templates
markdown: reduce margin for list elements.
marcink -
r1732:c8176fc6 default
parent child Browse files
Show More
@@ -1,374 +1,374 b''
1
1
2 /** MODAL **/
2 /** MODAL **/
3 .modal-open {
3 .modal-open {
4 overflow:hidden;
4 overflow:hidden;
5 }
5 }
6 body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
6 body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
7 margin-right:15px;
7 margin-right:15px;
8 }
8 }
9 .modal {
9 .modal {
10 position:fixed;
10 position:fixed;
11 top:0;
11 top:0;
12 right:0;
12 right:0;
13 bottom:0;
13 bottom:0;
14 left:0;
14 left:0;
15 z-index:1040;
15 z-index:1040;
16 display:none;
16 display:none;
17 overflow-y:scroll;
17 overflow-y:scroll;
18 &.fade .modal-dialog {
18 &.fade .modal-dialog {
19 -webkit-transform:translate(0,-25%);
19 -webkit-transform:translate(0,-25%);
20 -ms-transform:translate(0,-25%);
20 -ms-transform:translate(0,-25%);
21 transform:translate(0,-25%);
21 transform:translate(0,-25%);
22 -webkit-transition:-webkit-transform 0.3s ease-out;
22 -webkit-transition:-webkit-transform 0.3s ease-out;
23 -moz-transition:-moz-transform 0.3s ease-out;
23 -moz-transition:-moz-transform 0.3s ease-out;
24 -o-transition:-o-transform 0.3s ease-out;
24 -o-transition:-o-transform 0.3s ease-out;
25 transition:transform 0.3s ease-out;
25 transition:transform 0.3s ease-out;
26 }
26 }
27 &.in .modal-dialog {
27 &.in .modal-dialog {
28 -webkit-transform:translate(0,0);
28 -webkit-transform:translate(0,0);
29 -ms-transform:translate(0,0);
29 -ms-transform:translate(0,0);
30 transform:translate(0,0);
30 transform:translate(0,0);
31 }
31 }
32 }
32 }
33 .modal-dialog {
33 .modal-dialog {
34 z-index:1050;
34 z-index:1050;
35 width:auto;
35 width:auto;
36 padding:10px;
36 padding:10px;
37 margin-right:auto;
37 margin-right:auto;
38 margin-left:auto;
38 margin-left:auto;
39 }
39 }
40 .modal-content {
40 .modal-content {
41 position:relative;
41 position:relative;
42 background-color:#ffffff;
42 background-color:#ffffff;
43 border: @border-thickness solid rgba(0,0,0,0.2);
43 border: @border-thickness solid rgba(0,0,0,0.2);
44 .border-radius(@border-radius);
44 .border-radius(@border-radius);
45 outline:none;
45 outline:none;
46 -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);
46 -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);
47 box-shadow:0 3px 9px rgba(0,0,0,0.5);
47 box-shadow:0 3px 9px rgba(0,0,0,0.5);
48 background-clip:padding-box;
48 background-clip:padding-box;
49 }
49 }
50 .modal-backdrop {
50 .modal-backdrop {
51 position:fixed;
51 position:fixed;
52 top:0;
52 top:0;
53 right:0;
53 right:0;
54 bottom:0;
54 bottom:0;
55 left:0;
55 left:0;
56 z-index:1030;
56 z-index:1030;
57 background-color:#000000;
57 background-color:#000000;
58
58
59 &.modal-backdrop.fade {
59 &.modal-backdrop.fade {
60 opacity:0;
60 opacity:0;
61 filter:alpha(opacity=0);
61 filter:alpha(opacity=0);
62 }
62 }
63 &.in {
63 &.in {
64 opacity:0.5;
64 opacity:0.5;
65 filter:alpha(opacity=50);
65 filter:alpha(opacity=50);
66 }
66 }
67 }
67 }
68 .modal-header {
68 .modal-header {
69 min-height:16.428571429px;
69 min-height:16.428571429px;
70 padding:15px;
70 padding:15px;
71 border-bottom: @border-thickness solid @grey6;
71 border-bottom: @border-thickness solid @grey6;
72 .close {
72 .close {
73 margin-top:-2px;
73 margin-top:-2px;
74 }
74 }
75 }
75 }
76 .modal-title {
76 .modal-title {
77 margin:0;
77 margin:0;
78 line-height:1.428571429;
78 line-height:1.428571429;
79 }
79 }
80 .modal-body {
80 .modal-body {
81 position:relative;
81 position:relative;
82 padding:20px;
82 padding:20px;
83 }
83 }
84 .modal-footer {
84 .modal-footer {
85 padding:19px 20px 20px;
85 padding:19px 20px 20px;
86 margin-top:15px;
86 margin-top:15px;
87 text-align:right;
87 text-align:right;
88 border-top:1px solid #e5e5e5;
88 border-top:1px solid #e5e5e5;
89 .btn + .btn {
89 .btn + .btn {
90 margin-bottom:0;
90 margin-bottom:0;
91 margin-left:5px;
91 margin-left:5px;
92 }
92 }
93 .btn-group .btn + .btn {
93 .btn-group .btn + .btn {
94 margin-left:-1px;
94 margin-left:-1px;
95 }
95 }
96 .btn-block + .btn-block {
96 .btn-block + .btn-block {
97 margin-left:0;
97 margin-left:0;
98 }
98 }
99 &:before {
99 &:before {
100 display:table;
100 display:table;
101 content:" ";
101 content:" ";
102 }
102 }
103 &:after {
103 &:after {
104 display:table;
104 display:table;
105 content:" ";
105 content:" ";
106 clear:both;
106 clear:both;
107 }
107 }
108 }
108 }
109
109
110 /** MARKDOWN styling **/
110 /** MARKDOWN styling **/
111 div.markdown-block {
111 div.markdown-block {
112 clear: both;
112 clear: both;
113 overflow: hidden;
113 overflow: hidden;
114 margin: 0;
114 margin: 0;
115 padding: 3px 15px 3px;
115 padding: 3px 15px 3px;
116 }
116 }
117
117
118 div.markdown-block h1,
118 div.markdown-block h1,
119 div.markdown-block h2,
119 div.markdown-block h2,
120 div.markdown-block h3,
120 div.markdown-block h3,
121 div.markdown-block h4,
121 div.markdown-block h4,
122 div.markdown-block h5,
122 div.markdown-block h5,
123 div.markdown-block h6 {
123 div.markdown-block h6 {
124 border-bottom: none !important;
124 border-bottom: none !important;
125 padding: 0 !important;
125 padding: 0 !important;
126 overflow: visible !important;
126 overflow: visible !important;
127 }
127 }
128
128
129 div.markdown-block h1 {
129 div.markdown-block h1 {
130 font-size: 32px;
130 font-size: 32px;
131 margin: 15px 0 15px 0 !important;
131 margin: 15px 0 15px 0 !important;
132 padding-bottom: 5px !important;
132 padding-bottom: 5px !important;
133 }
133 }
134
134
135 div.markdown-block h2 {
135 div.markdown-block h2 {
136 font-size: 24px !important;
136 font-size: 24px !important;
137 margin: 34px 0 10px 0 !important;
137 margin: 34px 0 10px 0 !important;
138 border-top: 3px #e6e5e5 solid !important;
138 border-top: 3px #e6e5e5 solid !important;
139 padding-top: 15px !important;
139 padding-top: 15px !important;
140 padding-bottom: 8px !important;
140 padding-bottom: 8px !important;
141 }
141 }
142
142
143 div.markdown-block h3 {
143 div.markdown-block h3 {
144 font-size: 18px !important;
144 font-size: 18px !important;
145 margin: 30px 0 8px 0 !important;
145 margin: 30px 0 8px 0 !important;
146 padding-bottom: 2px !important;
146 padding-bottom: 2px !important;
147 }
147 }
148
148
149 div.markdown-block h4 {
149 div.markdown-block h4 {
150 font-size: 13px !important;
150 font-size: 13px !important;
151 margin: 18px 0 3px 0 !important;
151 margin: 18px 0 3px 0 !important;
152 }
152 }
153
153
154 div.markdown-block h5 {
154 div.markdown-block h5 {
155 font-size: 12px !important;
155 font-size: 12px !important;
156 margin: 15px 0 3px 0 !important;
156 margin: 15px 0 3px 0 !important;
157 }
157 }
158
158
159 div.markdown-block h6 {
159 div.markdown-block h6 {
160 font-size: 12px;
160 font-size: 12px;
161 color: #777777;
161 color: #777777;
162 margin: 15px 0 3px 0 !important;
162 margin: 15px 0 3px 0 !important;
163 }
163 }
164
164
165 div.markdown-block hr {
165 div.markdown-block hr {
166 border: 0;
166 border: 0;
167 color: #e6e5e5;
167 color: #e6e5e5;
168 background-color: #e6e5e5;
168 background-color: #e6e5e5;
169 height: 3px;
169 height: 3px;
170 margin-bottom: 13px;
170 margin-bottom: 13px;
171 }
171 }
172
172
173 div.markdown-block ol,
173 div.markdown-block ol,
174 div.markdown-block ul,
174 div.markdown-block ul,
175 div.markdown-block p,
175 div.markdown-block p,
176 div.markdown-block blockquote,
176 div.markdown-block blockquote,
177 div.markdown-block dl,
177 div.markdown-block dl,
178 div.markdown-block li,
178 div.markdown-block li,
179 div.markdown-block table {
179 div.markdown-block table {
180 margin: 3px 0px 13px 0px !important;
180 margin: 3px 0px 13px 0px !important;
181 color: #424242 !important;
181 color: #424242 !important;
182 font-size: 13px !important;
182 font-size: 13px !important;
183 font-family: "Helvetica" !important;
183 font-family: "Helvetica" !important;
184 font-weight: normal !important;
184 font-weight: normal !important;
185 overflow: visible !important;
185 overflow: visible !important;
186 line-height: 140% !important;
186 line-height: 140% !important;
187 }
187 }
188
188
189 div.markdown-block pre {
189 div.markdown-block pre {
190 margin: 3px 0px 13px 0px !important;
190 margin: 3px 0px 13px 0px !important;
191 padding: .5em;
191 padding: .5em;
192 color: #424242 !important;
192 color: #424242 !important;
193 font-size: 13px !important;
193 font-size: 13px !important;
194 overflow: visible !important;
194 overflow: visible !important;
195 line-height: 140% !important;
195 line-height: 140% !important;
196 background-color: @grey7;
196 background-color: @grey7;
197 }
197 }
198
198
199 div.markdown-block img {
199 div.markdown-block img {
200 border-style: none;
200 border-style: none;
201 background-color: #fff;
201 background-color: #fff;
202 }
202 }
203
203
204
204
205 div.markdown-block strong {
205 div.markdown-block strong {
206 font-weight: 600;
206 font-weight: 600;
207 margin: 0;
207 margin: 0;
208 }
208 }
209
209
210 div.markdown-block ul,
210 div.markdown-block ul,
211 div.markdown-block ol {
211 div.markdown-block ol {
212 padding-left: 30px !important;
212 padding-left: 30px !important;
213 margin-top: 0px !important;
213 margin-top: 0px !important;
214 margin-bottom: 18px !important;
214 margin-bottom: 18px !important;
215 }
215 }
216
216
217 div.markdown-block ul li,
217 div.markdown-block ul li,
218 div.markdown-block ol li {
218 div.markdown-block ol li {
219 list-style: disc !important;
219 list-style: disc !important;
220 margin: 13px !important;
220 margin: 6px !important;
221 padding: 0 !important;
221 padding: 0 !important;
222 }
222 }
223
223
224 div.markdown-block ol li {
224 div.markdown-block ol li {
225 list-style: decimal !important;
225 list-style: decimal !important;
226 }
226 }
227
227
228 /*
228 /*
229 div.markdown-block a,
229 div.markdown-block a,
230 div.markdown-block a:visited {
230 div.markdown-block a:visited {
231 color: #4183C4 !important;
231 color: #4183C4 !important;
232 background-color: inherit;
232 background-color: inherit;
233 text-decoration: none;
233 text-decoration: none;
234 }
234 }
235 */
235 */
236
236
237 div.markdown-block #message {
237 div.markdown-block #message {
238 .border-radius(@border-radius);
238 .border-radius(@border-radius);
239 border: @border-thickness solid @grey5;
239 border: @border-thickness solid @grey5;
240 display: block;
240 display: block;
241 width: 100%;
241 width: 100%;
242 height: 60px;
242 height: 60px;
243 margin: 6px 0px;
243 margin: 6px 0px;
244 }
244 }
245
245
246 div.markdown-block button,
246 div.markdown-block button,
247 div.markdown-block #ws {
247 div.markdown-block #ws {
248 font-size: @basefontsize;
248 font-size: @basefontsize;
249 padding: 4px 6px;
249 padding: 4px 6px;
250 .border-radius(@border-radius);
250 .border-radius(@border-radius);
251 border: @border-thickness solid @grey5;
251 border: @border-thickness solid @grey5;
252 background-color: @grey6;
252 background-color: @grey6;
253 }
253 }
254
254
255 div.markdown-block code,
255 div.markdown-block code,
256 div.markdown-block pre,
256 div.markdown-block pre,
257 div.markdown-block #ws,
257 div.markdown-block #ws,
258 div.markdown-block #message {
258 div.markdown-block #message {
259 font-family: Monaco;
259 font-family: Monaco;
260 font-size: 11px;
260 font-size: 11px;
261 .border-radius(@border-radius);
261 .border-radius(@border-radius);
262 background-color: white;
262 background-color: white;
263 color: @grey3;
263 color: @grey3;
264 }
264 }
265
265
266
266
267 div.markdown-block code {
267 div.markdown-block code {
268 border: @border-thickness solid @grey6;
268 border: @border-thickness solid @grey6;
269 margin: 0 2px;
269 margin: 0 2px;
270 padding: 0 5px;
270 padding: 0 5px;
271 }
271 }
272
272
273 div.markdown-block pre {
273 div.markdown-block pre {
274 border: @border-thickness solid @grey5;
274 border: @border-thickness solid @grey5;
275 overflow: auto;
275 overflow: auto;
276 padding: .5em;
276 padding: .5em;
277 background-color: @grey7;
277 background-color: @grey7;
278 }
278 }
279
279
280 div.markdown-block pre > code {
280 div.markdown-block pre > code {
281 border: 0;
281 border: 0;
282 margin: 0;
282 margin: 0;
283 padding: 0;
283 padding: 0;
284 }
284 }
285
285
286 /** RST STYLE **/
286 /** RST STYLE **/
287 div.rst-block {
287 div.rst-block {
288 clear: both;
288 clear: both;
289 overflow: hidden;
289 overflow: hidden;
290 margin: 0;
290 margin: 0;
291 padding: 3px 15px 3px;
291 padding: 3px 15px 3px;
292 }
292 }
293
293
294 div.rst-block h2 {
294 div.rst-block h2 {
295 font-weight: normal;
295 font-weight: normal;
296 }
296 }
297
297
298 div.rst-block h1,
298 div.rst-block h1,
299 div.rst-block h2,
299 div.rst-block h2,
300 div.rst-block h3,
300 div.rst-block h3,
301 div.rst-block h4,
301 div.rst-block h4,
302 div.rst-block h5,
302 div.rst-block h5,
303 div.rst-block h6 {
303 div.rst-block h6 {
304 border-bottom: 0 !important;
304 border-bottom: 0 !important;
305 margin: 0 !important;
305 margin: 0 !important;
306 padding: 0 !important;
306 padding: 0 !important;
307 line-height: 1.5em !important;
307 line-height: 1.5em !important;
308 }
308 }
309
309
310
310
311 div.rst-block h1:first-child {
311 div.rst-block h1:first-child {
312 padding-top: .25em !important;
312 padding-top: .25em !important;
313 }
313 }
314
314
315 div.rst-block h2,
315 div.rst-block h2,
316 div.rst-block h3 {
316 div.rst-block h3 {
317 margin: 1em 0 !important;
317 margin: 1em 0 !important;
318 }
318 }
319
319
320 div.rst-block h2 {
320 div.rst-block h2 {
321 margin-top: 1.5em !important;
321 margin-top: 1.5em !important;
322 border-top: 4px solid #e0e0e0 !important;
322 border-top: 4px solid #e0e0e0 !important;
323 padding-top: .5em !important;
323 padding-top: .5em !important;
324 }
324 }
325
325
326 div.rst-block p {
326 div.rst-block p {
327 color: black !important;
327 color: black !important;
328 margin: 1em 0 !important;
328 margin: 1em 0 !important;
329 line-height: 1.5em !important;
329 line-height: 1.5em !important;
330 }
330 }
331
331
332 div.rst-block ul {
332 div.rst-block ul {
333 list-style: disc !important;
333 list-style: disc !important;
334 margin: 1em 0 1em 2em !important;
334 margin: 1em 0 1em 2em !important;
335 clear: both;
335 clear: both;
336 }
336 }
337
337
338 div.rst-block ol {
338 div.rst-block ol {
339 list-style: decimal;
339 list-style: decimal;
340 margin: 1em 0 1em 2em !important;
340 margin: 1em 0 1em 2em !important;
341 }
341 }
342
342
343 div.rst-block pre,
343 div.rst-block pre,
344 div.rst-block code {
344 div.rst-block code {
345 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
345 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
346 }
346 }
347
347
348 div.rst-block code {
348 div.rst-block code {
349 font-size: 12px !important;
349 font-size: 12px !important;
350 background-color: ghostWhite !important;
350 background-color: ghostWhite !important;
351 color: #444 !important;
351 color: #444 !important;
352 padding: 0 .2em !important;
352 padding: 0 .2em !important;
353 border: 1px solid #dedede !important;
353 border: 1px solid #dedede !important;
354 }
354 }
355
355
356 div.rst-block pre code {
356 div.rst-block pre code {
357 padding: 0 !important;
357 padding: 0 !important;
358 font-size: 12px !important;
358 font-size: 12px !important;
359 background-color: #eee !important;
359 background-color: #eee !important;
360 border: none !important;
360 border: none !important;
361 }
361 }
362
362
363 div.rst-block pre {
363 div.rst-block pre {
364 margin: 1em 0;
364 margin: 1em 0;
365 padding: @padding;
365 padding: @padding;
366 border: 1px solid @grey6;
366 border: 1px solid @grey6;
367 .border-radius(@border-radius);
367 .border-radius(@border-radius);
368 overflow: auto;
368 overflow: auto;
369 font-size: 12px;
369 font-size: 12px;
370 color: #444;
370 color: #444;
371 background-color: @grey7;
371 background-color: @grey7;
372 }
372 }
373
373
374
374
General Comments 0
You need to be logged in to leave comments. Login now