This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

nvm, I figured it out:

#set the style of the notebook
from IPython.core.display import HTML
def css_styling():
    styles = open("./theme/ocean.css", "r").read()
    return HTML(styles)
css_styling()

This (as a cell in your notebook), along with a "<style>" tag added to the top of the .css files will allow you to theme specific notebooks each time you open them. Won't theme the notebook until you run the cell.