问题
I have tried to change some setting especially the fonts in my ipython 1.1 notebook via creating a profile and editing the costum.css but it is not working in windows 7.
My custom.css file is in Users/"user_name"/.ipyton/profile_default/static/css directory
and I have added these line to the file
<style>
div.cell.code_cell { /* Areat containing both code and output */
font-family: Consolas, monospace;
}
</style>
What am I doing wrong
回答1:
You don't need the <style>
tags in the custom.css file!
A nice example on styling the IPython notebook can be found here
来源:https://stackoverflow.com/questions/20124846/ipython1-1-notebook-font-change-not-working-via-css-file