##// END OF EJS Templates
Fixing notebook.css to make more robust in embedding.
Brian E. Granger -
Show More
@@ -156,6 +156,7 b' div.cell {'
156 padding: 5px 5px 5px 0px;
156 padding: 5px 5px 5px 0px;
157 /* This acts as a spacer between cells, that is outside the border */
157 /* This acts as a spacer between cells, that is outside the border */
158 margin: 2px 0px 2px 0px;
158 margin: 2px 0px 2px 0px;
159 outline: none;
159 }
160 }
160
161
161 div.code_cell {
162 div.code_cell {
@@ -173,7 +174,9 b' div.prompt {'
173 padding: 0.4em;
174 padding: 0.4em;
174 margin: 0px;
175 margin: 0px;
175 font-family: monospace;
176 font-family: monospace;
176 text-align:right;
177 text-align: right;
178 /* This has to match that of the the CodeMirror class line-height below */
179 line-height: 1.231;
177 }
180 }
178
181
179 div.input {
182 div.input {
@@ -245,6 +248,21 b' div.output_area {'
245 page-break-inside: avoid;
248 page-break-inside: avoid;
246 }
249 }
247
250
251
252 /* This is needed to protect the pre formating from global settings such
253 as that of bootstrap */
254 div.output_area pre {
255 font-family: monospace;
256 margin: 0;
257 padding: 0;
258 border: 0;
259 font-size: 100%;
260 font: inherit;
261 vertical-align: baseline;
262 color: black;
263 background-color: white;
264 }
265
248 /* This class is for the output subarea inside the output_area and after
266 /* This class is for the output subarea inside the output_area and after
249 the prompt div. */
267 the prompt div. */
250 div.output_subarea {
268 div.output_subarea {
@@ -259,6 +277,8 b' div.output_text {'
259 text-align: left;
277 text-align: left;
260 color: black;
278 color: black;
261 font-family: monospace;
279 font-family: monospace;
280 /* This has to match that of the the CodeMirror class line-height below */
281 line-height: 1.231;
262 }
282 }
263
283
264 /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
284 /* stdout/stderr are 'text' as well as 'stream', but pyout/pyerr are *not* streams */
General Comments 0
You need to be logged in to leave comments. Login now