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