Add custom.css

This commit is contained in:
Matthias Geier 2016-03-26 14:34:12 +01:00
parent 3cdc082ab2
commit b3788c283f
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,9 @@
/* 24px margin from readthedocs theme */
div.nblast {
margin-bottom: 19px !important; /* padding has already 5px */
}
/* ... except between notebook cells! */
div.nblast + div.nbinput {
margin-top: -19px !important;
}

View File

@ -186,6 +186,10 @@ html_theme = 'sphinx_rtd_theme'
# since it is needed to properly generate _static in the build directory
html_static_path = ['_static']
html_context = {
'css_files': ['_static/custom.css'],
}
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.