Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
Increase default content width by 200px (#549) (#558)
Browse files Browse the repository at this point in the history
The default layout is quite narrow and makes it tedious
to fit our content in tables.
Bump the width from 800px to 1000px.

(2nd try with different css include)
  • Loading branch information
mpfz0r authored and jalogisch committed Feb 19, 2019
1 parent ef641f5 commit f6e4299
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
_static
_build

.DS_Store
Expand All @@ -19,4 +18,7 @@ pip-selfcheck.json

# Windows specific files
Scripts
tcl
tcl

# vim bak files
*.swp
4 changes: 4 additions & 0 deletions _static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/* override width restrictions */
.wy-nav-content {
max-width: 1000px !important;
}
4 changes: 4 additions & 0 deletions _templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{% extends "!layout.html" %}
{% block extrahead %}
<link href="{{ pathto("_static/theme_overrides.css", True) }}" rel="stylesheet" type="text/css">
{% endblock %}
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
# 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 = []
html_static_path = ['_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down

0 comments on commit f6e4299

Please sign in to comment.