Skip to content

Commit f1fad9f

Browse files
authored
Widen the RTD page #977 (#1339)
* Widen the RTD page #997 Reference: #977 Note: I just noticed that I named the branch with 997 but the issue is 977. Signed-off-by: John M. Horan <[email protected]> * Add width, margin and padding adjustments for mobile displays <= 768px #977 Reference: #977 Signed-off-by: John M. Horan <[email protected]> --------- Signed-off-by: John M. Horan <[email protected]>
1 parent a114deb commit f1fad9f

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/* this is the container for the pages */
2+
.wy-nav-content {
3+
max-width: 100%;
4+
padding: 0px 40px 0px 0px;
5+
margin-top: 0px;
6+
background-color: #fcfcfc;
7+
}
8+
9+
.wy-nav-content-wrap {
10+
background-color: #fcfcfc;
11+
border-right: solid 1px #e8e8e8;
12+
}
13+
14+
div.rst-content {
15+
max-width: 1300px;
16+
background-color: #fcfcfc;
17+
border: 0;
18+
padding: 0px 80px 10px 80px;
19+
margin-left: 50px;
20+
}
21+
22+
23+
@media (max-width: 768px) {
24+
div.rst-content {
25+
max-width: 1300px;
26+
background-color: #fcfcfc;
27+
border: 0;
28+
padding: 0px 10px 10px 10px;
29+
margin-left: 0px;
30+
}
31+
}

docs/source/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@
6060
# Add any paths that contain custom static files (such as style sheets) here,
6161
# relative to this directory. They are copied after the builtin static files,
6262
# so a file named "default.css" will overwrite the builtin "default.css".
63-
html_static_path = []
63+
# html_static_path = []
64+
html_static_path = ["_static"]
65+
66+
html_css_files = [
67+
"theme_overrides.css",
68+
]
6469

6570
master_doc = "index"

0 commit comments

Comments
 (0)