To add custom CSS to a particular notebook you can use HTML
. Add and execute a regular Python code cell with the following content:
from IPython.core.display import HTML
HTML("""
<style>
// add your CSS styling here
</style>
""")
Alternatively (thanks @abalter) use the %%html
cell magic:
%%html
<style>
// add your CSS styling here
</style>