##// END OF EJS Templates
summary: disconnect readme rendering data from the comments....
marcink -
r1731:f47b23e5 default
parent child Browse files
Show More
@@ -0,0 +1,252 b''
1 /** README styling **/
2 div.readme_box {
3 clear: both;
4 overflow: hidden;
5 margin: 0;
6 padding: 3px 15px 3px;
7 }
8
9 div.readme_box h1,
10 div.readme_box h2,
11 div.readme_box h3,
12 div.readme_box h4,
13 div.readme_box h5,
14 div.readme_box h6 {
15 border-bottom: none !important;
16 padding: 0 !important;
17 overflow: visible !important;
18 }
19
20 div.readme_box h1 {
21 font-size: 32px;
22 margin: 15px 0 15px 0 !important;
23 padding-bottom: 5px !important;
24 }
25
26 div.readme_box h2 {
27 font-size: 24px !important;
28 margin: 34px 0 10px 0 !important;
29 border-top: 3px #e6e5e5 solid !important;
30 padding-top: 15px !important;
31 padding-bottom: 8px !important;
32 }
33
34 div.readme_box h3 {
35 font-size: 18px !important;
36 margin: 30px 0 8px 0 !important;
37 padding-bottom: 2px !important;
38 }
39
40 div.readme_box h4 {
41 font-size: 13px !important;
42 margin: 18px 0 3px 0 !important;
43 }
44
45 div.readme_box h5 {
46 font-size: 12px !important;
47 margin: 15px 0 3px 0 !important;
48 }
49
50 div.readme_box h6 {
51 font-size: 12px;
52 color: #777777;
53 margin: 15px 0 3px 0 !important;
54 }
55
56 div.readme_box hr {
57 border: 0;
58 color: #e6e5e5;
59 background-color: #e6e5e5;
60 height: 3px;
61 margin-bottom: 13px;
62 }
63
64 div.readme_box ol,
65 div.readme_box ul,
66 div.readme_box p,
67 div.readme_box blockquote,
68 div.readme_box dl,
69 div.readme_box li,
70 div.readme_box table {
71 margin: 3px 0px 13px 0px !important;
72 color: #424242 !important;
73 font-size: 13px !important;
74 font-family: "Helvetica" !important;
75 font-weight: normal !important;
76 overflow: visible !important;
77 line-height: 140% !important;
78 }
79
80 div.readme_box pre {
81 margin: 3px 0px 13px 0px !important;
82 padding: .5em;
83 color: #424242 !important;
84 font-size: 13px !important;
85 overflow: visible !important;
86 line-height: 140% !important;
87 background-color: @grey7;
88 }
89
90 div.readme_box img {
91 border-style: none;
92 background-color: #fff;
93 }
94
95
96 div.readme_box strong {
97 font-weight: 600;
98 margin: 0;
99 }
100
101 div.readme_box ul,
102 div.readme_box ol {
103 padding-left: 30px !important;
104 margin-top: 0px !important;
105 margin-bottom: 18px !important;
106 }
107
108 div.readme_box ul li,
109 div.readme_box ol li {
110 list-style: bullet !important;
111 margin: 6px !important;
112 padding: 0 !important;
113 }
114
115 div.readme_box ol li {
116 list-style: decimal !important;
117 }
118
119 /*
120 div.readme_box a,
121 div.readme_box a:visited {
122 color: #4183C4 !important;
123 background-color: inherit;
124 text-decoration: none;
125 }
126 */
127
128
129 div.readme_box button {
130 font-size: @basefontsize;
131 padding: 4px 6px;
132 .border-radius(@border-radius);
133 border: @border-thickness solid @grey5;
134 background-color: @grey6;
135 }
136
137 div.readme_box code,
138 div.readme_box pre {
139 font-family: Monaco;
140 font-size: 11px;
141 .border-radius(@border-radius);
142 background-color: white;
143 color: @grey3;
144 }
145
146
147 div.readme_box code {
148 border: @border-thickness solid @grey6;
149 margin: 0 2px;
150 padding: 0 5px;
151 }
152
153 div.readme_box pre {
154 border: @border-thickness solid @grey5;
155 overflow: auto;
156 padding: .5em;
157 background-color: @grey7;
158 }
159
160 div.readme_box pre > code {
161 border: 0;
162 margin: 0;
163 padding: 0;
164 }
165
166 /** RST STYLE **/
167 div.rst-block {
168 clear: both;
169 overflow: hidden;
170 margin: 0;
171 padding: 3px 15px 3px;
172 }
173
174 div.rst-block h2 {
175 font-weight: normal;
176 }
177
178 div.rst-block h1,
179 div.rst-block h2,
180 div.rst-block h3,
181 div.rst-block h4,
182 div.rst-block h5,
183 div.rst-block h6 {
184 border-bottom: 0 !important;
185 margin: 0 !important;
186 padding: 0 !important;
187 line-height: 1.5em !important;
188 }
189
190
191 div.rst-block h1:first-child {
192 padding-top: .25em !important;
193 }
194
195 div.rst-block h2,
196 div.rst-block h3 {
197 margin: 1em 0 !important;
198 }
199
200 div.rst-block h2 {
201 margin-top: 1.5em !important;
202 border-top: 4px solid #e0e0e0 !important;
203 padding-top: .5em !important;
204 }
205
206 div.rst-block p {
207 color: black !important;
208 margin: 1em 0 !important;
209 line-height: 1.5em !important;
210 }
211
212 div.rst-block ul {
213 list-style: disc !important;
214 margin: 1em 0 1em 2em !important;
215 clear: both;
216 }
217
218 div.rst-block ol {
219 list-style: decimal;
220 margin: 1em 0 1em 2em !important;
221 }
222
223 div.rst-block pre,
224 div.rst-block code {
225 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
226 }
227
228 div.rst-block code {
229 font-size: 12px !important;
230 background-color: ghostWhite !important;
231 color: #444 !important;
232 padding: 0 .2em !important;
233 border: 1px solid #dedede !important;
234 }
235
236 div.rst-block pre code {
237 padding: 0 !important;
238 font-size: 12px !important;
239 background-color: #eee !important;
240 border: none !important;
241 }
242
243 div.rst-block pre {
244 margin: 1em 0;
245 padding: @padding;
246 border: 1px solid @grey6;
247 .border-radius(@border-radius);
248 overflow: auto;
249 font-size: 12px;
250 color: #444;
251 background-color: @grey7;
252 } No newline at end of file
@@ -11,6 +11,7 b''
11 11 @import 'form-bootstrap';
12 12 @import 'codemirror';
13 13 @import 'legacy_code_styles';
14 @import 'readme-box';
14 15 @import 'progress-bar';
15 16
16 17 @import 'type';
@@ -50,7 +50,7 b''
50 50 </h3>
51 51 </div>
52 52 <div class="readme codeblock">
53 <div class="readme_box markdown-block">
53 <div class="readme_box">
54 54 ${c.readme_data|n}
55 55 </div>
56 56 </div>
General Comments 0
You need to be logged in to leave comments. Login now