##// END OF EJS Templates
Minor fixes to fonts and spacing.
Brian Granger -
Show More
@@ -1,7 +1,7 b''
1 .CodeMirror {
1 .CodeMirror {
2 overflow: hidden; /* Changed from auto to remove scrollbar */
2 overflow: hidden; /* Changed from auto to remove scrollbar */
3 height: auto; /* Changed to auto to autogrow */
3 height: auto; /* Changed to auto to autogrow */
4 /* line-height: 1em;*/
4 line-height: 1em;
5 font-family: monospace;
5 font-family: monospace;
6 }
6 }
7
7
@@ -19,8 +19,10 b''
19 }
19 }
20 .CodeMirror-lines {
20 .CodeMirror-lines {
21 /* Changed from 0.4em, but this gives us jitters upon typing, but I found
21 /* Changed from 0.4em, but this gives us jitters upon typing, but I found
22 that removing .CodeMirror line-height: 1em above, it goes away. */
22 that removing .CodeMirror line-height: 1em above, it goes away.
23 padding: 0em;
23 For now I am using the default of 0.4em, but I have added a 0.4em
24 padding to prompts to match this.*/
25 padding: 0.4em;
24 }
26 }
25
27
26 .CodeMirror pre {
28 .CodeMirror pre {
@@ -61,7 +61,7 b' input, select { vertical-align: middle; }'
61 body {
61 body {
62 background-color: white;
62 background-color: white;
63 /* This won't propagate to all children so we also set it below */
63 /* This won't propagate to all children so we also set it below */
64 font-size: 10pt;
64 font-size: 11pt;
65 /* This makes sure that the body covers the entire window and needs to
65 /* This makes sure that the body covers the entire window and needs to
66 be in a different element than the display: box in wrapper below */
66 be in a different element than the display: box in wrapper below */
67 position: absolute;
67 position: absolute;
@@ -156,7 +156,7 b' div#notebook {'
156 padding: 0px 15px 0px 15px;
156 padding: 0px 15px 0px 15px;
157 margin: 0px
157 margin: 0px
158 background-color: white;
158 background-color: white;
159 font-size: 10pt;
159 font-size: 11pt;
160 }
160 }
161
161
162 div#pager_splitter {
162 div#pager_splitter {
@@ -170,7 +170,7 b' div#pager {'
170
170
171 .monospace-font {
171 .monospace-font {
172 font-family: monospace;
172 font-family: monospace;
173 font-size: 10pt;
173 font-size: 11pt;
174 }
174 }
175
175
176 div.cell {
176 div.cell {
@@ -186,8 +186,9 b' div.code_cell {'
186
186
187 div.prompt {
187 div.prompt {
188 width: 90px;
188 width: 90px;
189 padding: 0px;
189 padding: 0.4em;
190 margin: 0px;
190 margin: 0px;
191 line-height: 1em;
191 }
192 }
192
193
193 div.input_prompt {
194 div.input_prompt {
@@ -210,7 +211,7 b' div.output_area {'
210
211
211 div.output_latex {
212 div.output_latex {
212 /* Slightly bigger than the rest of the notebook */
213 /* Slightly bigger than the rest of the notebook */
213 font-size: 11pt;
214 font-size: 12pt;
214 }
215 }
215
216
216 div.output_png {
217 div.output_png {
@@ -222,7 +223,7 b' div.text_cell {'
222
223
223 textarea.text_cell_input {
224 textarea.text_cell_input {
224 /* Slightly bigger than the rest of the notebook */
225 /* Slightly bigger than the rest of the notebook */
225 font-size: 11pt;
226 font-size: 12pt;
226 outline: none;
227 outline: none;
227 resize: none;
228 resize: none;
228 width: inherit;
229 width: inherit;
@@ -235,7 +236,7 b' textarea.text_cell_input {'
235 div.text_cell_render {
236 div.text_cell_render {
236 font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
237 font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
237 /* Slightly bigger than the rest of the notebook */
238 /* Slightly bigger than the rest of the notebook */
238 font-size: 11pt;
239 font-size: 12pt;
239 outline: none;
240 outline: none;
240 resize: none;
241 resize: none;
241 width: inherit;
242 width: inherit;
@@ -127,7 +127,7 b' var IPython = (function (IPython) {'
127
127
128
128
129 Notebook.prototype.scroll_to_bottom = function () {
129 Notebook.prototype.scroll_to_bottom = function () {
130 this.element.animate({scrollTop:this.element.get(0).scrollHeight}, 'slow');
130 this.element.animate({scrollTop:this.element.get(0).scrollHeight}, 0);
131 };
131 };
132
132
133 // Cell indexing, retrieval, etc.
133 // Cell indexing, retrieval, etc.
General Comments 0
You need to be logged in to leave comments. Login now