Last active
December 23, 2015 13:39
-
-
Save vietjtnguyen/6643431 to your computer and use it in GitHub Desktop.
Custom CSS for IPython Notebook
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
h1, h2, h3, h4, h5, h6 { | |
font-family: "STIX-Bold", serif; | |
} | |
p, ol, ul { | |
font-family: "STIX-Regular", serif; | |
font-size: 115%; | |
} | |
ul ul, li, ul li, li li { | |
font-family: "STIX-Regular", serif; | |
font-size: 100%; | |
} | |
b { | |
font-family: "STIX-Bold", serif; | |
font-size: 115%; | |
} | |
i { | |
font-family: "STIX-Italic", serif; | |
font-size: 115%; | |
} | |
@import url(http://fonts.googleapis.com/css?family=Droid+Sans+Mono); | |
.rendered_html code, pre, div.input_prompt, div.output_area pre { | |
font-family: "Droid Sans Mono", "Courier New", monospace; | |
font-size: 90%; | |
} | |
.CodeMirror pre { | |
font-family: "Droid Sans Mono", "Courier New", monospace; | |
font-size: 90%; | |
} | |
/* | |
@font-face { | |
font-family: 'cmu_typewriter_textregular'; | |
src: url('/static/custom/fonts/cmuntt-webfont.eot'); | |
src: url('/static/custom/fonts/cmuntt-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/static/custom/fonts/cmuntt-webfont.woff') format('woff'), | |
url('/static/custom/fonts/cmuntt-webfont.ttf') format('truetype'), | |
url('/static/custom/fonts/cmuntt-webfont.svg#cmu_typewriter_textregular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'cmu_serifroman'; | |
src: url('/static/custom/fonts/cmunrm-webfont.eot'); | |
src: url('/static/custom/fonts/cmunrm-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/static/custom/fonts/cmunrm-webfont.woff') format('woff'), | |
url('/static/custom/fonts/cmunrm-webfont.ttf') format('truetype'), | |
url('/static/custom/fonts/cmunrm-webfont.svg#cmu_serifroman') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'cmu_serifbold'; | |
src: url('/static/custom/fonts/cmunbx-webfont.eot'); | |
src: url('/static/custom/fonts/cmunbx-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/static/custom/fonts/cmunbx-webfont.woff') format('woff'), | |
url('/static/custom/fonts/cmunbx-webfont.ttf') format('truetype'), | |
url('/static/custom/fonts/cmunbx-webfont.svg#cmu_serifbold') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'cmu_serifitalic'; | |
src: url('/static/custom/fonts/cmunti-webfont.eot'); | |
src: url('/static/custom/fonts/cmunti-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/static/custom/fonts/cmunti-webfont.woff') format('woff'), | |
url('/static/custom/fonts/cmunti-webfont.ttf') format('truetype'), | |
url('/static/custom/fonts/cmunti-webfont.svg#cmu_serifitalic') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'cmu_serifbolditalic'; | |
src: url('/static/custom/fonts/cmunbi-webfont.eot'); | |
src: url('/static/custom/fonts/cmunbi-webfont.eot?#iefix') format('embedded-opentype'), | |
url('/static/custom/fonts/cmunbi-webfont.woff') format('woff'), | |
url('/static/custom/fonts/cmunbi-webfont.ttf') format('truetype'), | |
url('/static/custom/fonts/cmunbi-webfont.svg#cmu_serifbolditalic') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
pre, div.input_prompt, div.output_area pre { | |
font-family: "cmu_typewriter_textregular", monospace; | |
font-size: 115%; | |
} | |
.CodeMirror pre { | |
font-family: "cmu_typewriter_textregular", monospace; | |
font-size: 115%; | |
} | |
*/ | |
/* | |
@import url(http://fonts.googleapis.com/css?family=Source+Code+Pro); | |
.CodeMirror pre { | |
font-family: "cmu_typewriter_textregular", monospace; | |
font-size: 115%; | |
} | |
*/ | |
span.MathJax { | |
font-size: 86.956521739%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment