##// END OF EJS Templates
small CSS adjustments in notebook...
MinRK -
Show More
@@ -197,6 +197,7 b' div.input {'
197
197
198 div.input_area {
198 div.input_area {
199 color: black;
199 color: black;
200 border: 1px solid #ddd;
200 }
201 }
201
202
202 div.input_prompt {
203 div.input_prompt {
@@ -227,13 +228,22 b' div.output_subarea {'
227 /* The rest of the output_* classes are for special styling of the different
228 /* The rest of the output_* classes are for special styling of the different
228 output types */
229 output types */
229
230
230 div.output_stream {
231 /* all text output has this class: */
232 div.output_text {
231 text-align: left;
233 text-align: left;
232 color: black;
234 color: black;
233 font-family: monospace;
235 font-family: monospace;
234 }
236 }
237
238 /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
239 div.output_stream {
240 padding-top: 0.0em;
241 padding-bottom: 0.0em;
242 }
243 div.output_stdout {
244 }
235 div.output_stderr {
245 div.output_stderr {
236 color: darkred;
246 background: #fdd; /* very light red background for stderr */
237 }
247 }
238
248
239 div.output_latex {
249 div.output_latex {
@@ -270,7 +270,7 b' var IPython = (function (IPython) {'
270
270
271 // If we got here, attach a new div
271 // If we got here, attach a new div
272 var toinsert = this.create_output_area();
272 var toinsert = this.create_output_area();
273 this.append_text(json.text, toinsert, subclass);
273 this.append_text(json.text, toinsert, "output_stream "+subclass);
274 this.element.find('div.output').append(toinsert);
274 this.element.find('div.output').append(toinsert);
275 };
275 };
276
276
@@ -311,7 +311,7 b' var IPython = (function (IPython) {'
311
311
312
312
313 CodeCell.prototype.append_text = function (data, element, extra_class) {
313 CodeCell.prototype.append_text = function (data, element, extra_class) {
314 var toinsert = $("<div/>").addClass("box_flex1 output_subarea output_stream");
314 var toinsert = $("<div/>").addClass("box_flex1 output_subarea output_text");
315 if (extra_class){
315 if (extra_class){
316 toinsert.addClass(extra_class);
316 toinsert.addClass(extra_class);
317 }
317 }
General Comments 0
You need to be logged in to leave comments. Login now