Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .wy-nav-content {
- max-width: none;
- }
- .wy-nav-content {
- max-width: 1200px !important;
- }
- # Add any paths that contain custom static files (such as style sheets) here,
- # relative to this directory. They are copied after the builtin static files,
- # so a file named "default.css" will overwrite the builtin "default.css".
- html_static_path = ['_static']
- {% extends "!layout.html" %}
- {% block extrahead %}
- <link href="{{ pathto("_static/style.css", True) }}" rel="stylesheet" type="text/css">
- {% endblock %}
- html_static_path = ['custom'] # Directory for static files.
- html_style = 'css/my_theme.css' # Choosing my custom theme.
- html_style = 'css/my_theme.css'
- on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
- if not on_rtd: # only import and set the theme if we're building docs locally
- import sphinx_rtd_theme
- html_theme = 'sphinx_rtd_theme'
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
- html_style = 'css/custom.css'
- else:
- html_context = {
- 'css_files': [
- 'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
- 'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
- '_static/css/custom.css',
- ],
- }
- def setup(app):
- app.add_stylesheet('my_theme.css')
- .wy-nav-content {
- max-width: 1200px !important;
- }
- .wy-nav-content {
- padding: 1.618em 3.236em;
- height: 100%;
- /* max-width: 800px; */
- margin: auto;
- }
Add Comment
Please, Sign In to add comment