Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minor fixes to fonts and spacing.

  • Loading branch information...
commit a7ef503d832e0bc3b76d2619c741926fb1aceea2 1 parent c6ab30b
@ellisonbg ellisonbg authored
View
8 IPython/frontend/html/notebook/static/codemirror2/lib/codemirror.css
@@ -1,7 +1,7 @@
.CodeMirror {
overflow: hidden; /* Changed from auto to remove scrollbar */
height: auto; /* Changed to auto to autogrow */
-/* line-height: 1em;*/
+ line-height: 1em;
font-family: monospace;
}
@@ -19,8 +19,10 @@
}
.CodeMirror-lines {
/* Changed from 0.4em, but this gives us jitters upon typing, but I found
- that removing .CodeMirror line-height: 1em above, it goes away. */
- padding: 0em;
+ that removing .CodeMirror line-height: 1em above, it goes away.
+ For now I am using the default of 0.4em, but I have added a 0.4em
+ padding to prompts to match this.*/
+ padding: 0.4em;
}
.CodeMirror pre {
View
15 IPython/frontend/html/notebook/static/css/notebook.css
@@ -61,7 +61,7 @@ input, select { vertical-align: middle; }
body {
background-color: white;
/* This won't propagate to all children so we also set it below */
- font-size: 10pt;
+ font-size: 11pt;
/* This makes sure that the body covers the entire window and needs to
be in a different element than the display: box in wrapper below */
position: absolute;
@@ -156,7 +156,7 @@ div#notebook {
padding: 0px 15px 0px 15px;
margin: 0px
background-color: white;
- font-size: 10pt;
+ font-size: 11pt;
}
div#pager_splitter {
@@ -170,7 +170,7 @@ div#pager {
.monospace-font {
font-family: monospace;
- font-size: 10pt;
+ font-size: 11pt;
}
div.cell {
@@ -186,8 +186,9 @@ div.code_cell {
div.prompt {
width: 90px;
- padding: 0px;
+ padding: 0.4em;
margin: 0px;
+ line-height: 1em;
}
div.input_prompt {
@@ -210,7 +211,7 @@ div.output_area {
div.output_latex {
/* Slightly bigger than the rest of the notebook */
- font-size: 11pt;
+ font-size: 12pt;
}
div.output_png {
@@ -222,7 +223,7 @@ div.text_cell {
textarea.text_cell_input {
/* Slightly bigger than the rest of the notebook */
- font-size: 11pt;
+ font-size: 12pt;
outline: none;
resize: none;
width: inherit;
@@ -235,7 +236,7 @@ textarea.text_cell_input {
div.text_cell_render {
font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
/* Slightly bigger than the rest of the notebook */
- font-size: 11pt;
+ font-size: 12pt;
outline: none;
resize: none;
width: inherit;
View
2  IPython/frontend/html/notebook/static/js/notebook.js
@@ -127,7 +127,7 @@ var IPython = (function (IPython) {
Notebook.prototype.scroll_to_bottom = function () {
- this.element.animate({scrollTop:this.element.get(0).scrollHeight}, 'slow');
+ this.element.animate({scrollTop:this.element.get(0).scrollHeight}, 0);
};
// Cell indexing, retrieval, etc.
Please sign in to comment.
Something went wrong with that request. Please try again.