Created
November 5, 2012 01:33
-
-
Save stefanv/4014765 to your computer and use it in GitHub Desktop.
IPython with Consolas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff -w notebook.css | |
diff --git a/IPython/frontend/html/notebook/static/css/notebook.css b/IPython/frontend | |
index 9396bf7..55e3a64 100644 | |
--- a/IPython/frontend/html/notebook/static/css/notebook.css | |
+++ b/IPython/frontend/html/notebook/static/css/notebook.css | |
@@ -311,6 +311,7 @@ div.text_cell_render { | |
.CodeMirror { | |
line-height: 1.231; /* Changed from 1em to our global default */ | |
+ font-family: Consolas; | |
} | |
.CodeMirror-scroll { | |
@@ -391,6 +392,8 @@ p.dialog { | |
font-family: monospace; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add your custom css without patching IPython installation by overwriting
custom.css
in.ipython/profile_xxx/static/css/