My ipython version is 5.1.0 and jupyter's version is 4.2.1.
I changed the color theme and font type and font text by modifying the css following this guide: http://sherifsoliman.com/2016/01/11/theming-ipython-jupyter-notebook/
The steps I took were to:
- Setup a configuration directory using the following command:
jupyter notebook --generate-config - I changed directories to my config directory (~/.jupyter)
- clone the github repo from here: https://github.com/cemoody/ipynb_base16_dark
- I then deleted the custom.js file and then replaced the custom.css file with this css file (https://github.com/sheriferson/dotfiles/blob/master/jupyter/custom/custom.css).
- I then copied the contents of step 3 & 4 into a folder in called custom in the config directory
I'm successful following these steps. What I do not understand in the custom.css file (https://github.com/sheriferson/dotfiles/blob/master/jupyter/custom/custom.css) are the cm-s-ipython commands:
.cm-s-ipython*
I do not understand where they come from and what I am allowed and not allowed to do. I've spent majority of today surfing for these answers and I cannot seem to find any reference. I only seem to find sample code.
I also don't understand where the div/spans elements are coming from either. Where are the html files that correspond to custom.css?
(It's also worth noting that I'm using Anaconda's distribution of Python 3.6. No modifications have been made to Anaconda excluding changing the custom.css file.)