Skip to content

Commit d6a7c5a

Browse files
committed
Stylesheet bugfixes
1 parent 98f9652 commit d6a7c5a

File tree

2 files changed

+27
-10
lines changed

2 files changed

+27
-10
lines changed

docs/_static/custom.css

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,31 @@ code,
101101
border-color: var(--code-border-color) !important;
102102
background-color: var(--code-bg-color) !important;
103103
}
104-
.rst-content div.nbinput>div.prompt>pre {
105-
color: var(--link-color) !important;
106-
background-color: var(--main-bg-color) !important;
107-
}
108-
.rst-content div.nboutput>div.prompt>pre {
109-
color: var(--code-color) !important;
110-
background-color: var(--main-bg-color) !important;
111-
}
112104
.rst-content div.nboutput>div.output_area:not(.stderr) {
113105
padding-left: 0;
114106
}
115107
.rst-content div.nboutput>div.output_area:not(.stderr)>div.highlight {
116108
color: var(--main-color) !important;
117109
background-color: var(--main-bg-color) !important;
118110
}
111+
.rst-content div.nboutput>div.output_area.stderr>div.highlight {
112+
color: #444 !important;
113+
}
114+
.rst-content div.nboutput>div.output_area.stderr {
115+
background-color: #fdd !important;
116+
}
117+
118+
/* Notebook prompt colors */
119+
.rst-content div.nbinput>div.prompt>div.highlight,
120+
.rst-content div.nboutput>div.prompt>div.highlight {
121+
background-color: var(--main-bg-color) !important;
122+
}
123+
.rst-content div.nbinput>div.prompt>div.highlight>pre {
124+
color: var(--link-color) !important;
125+
}
126+
.rst-content div.nboutput>div.prompt>div.highlight>pre {
127+
color: var(--code-color) !important;
128+
}
119129

120130
/* Grayscale Parameters and Returns headers */
121131
.rst-content dl:not(.docutils) .field-list>dt {

docs/figures.ipynb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"cell_type": "markdown",
9797
"metadata": {},
9898
"source": [
99-
"## Subplot numbering"
99+
"## Subplot numbers and labels"
100100
]
101101
},
102102
{
@@ -105,7 +105,7 @@
105105
"raw_mimetype": "text/restructuredtext"
106106
},
107107
"source": [
108-
"Assigning unique numbers to axes is fundamental to ProPlot. The number order determines the order the subplots appear in the `~proplot.subplots.axes_grid` and the order of \"a-b-c\" labels generated by `~proplot.axes.Axes.format`. If you did not provide a 2D array, the number order is row-major by default but can be made column-major by passing ``order='F'`` to `~proplot.subplots.subplots`. Note that the \"a-b-c\" label position and style can be changed with `~proplot.axes.Axes.format`."
108+
"ProPlot assigns unique numbers to subplots. The number order determines the order the subplots appear in the `~proplot.subplots.axes_grid` and the order of \"a-b-c\" labels generated by `~proplot.axes.Axes.format`. If you did not provide a 2D array, the number order is row-major by default but can be made column-major by passing ``order='F'`` to `~proplot.subplots.subplots`. The \"a-b-c\" label position and style can be changed with `~proplot.axes.Axes.format`."
109109
]
110110
},
111111
{
@@ -196,6 +196,13 @@
196196
"sideBar": true,
197197
"threshold": 4,
198198
"toc_cell": false,
199+
"toc_position": {
200+
"height": "723px",
201+
"left": "0px",
202+
"right": "1198px",
203+
"top": "46px",
204+
"width": "205px"
205+
},
199206
"toc_section_display": "block",
200207
"toc_window_display": true,
201208
"widenNotebook": false

0 commit comments

Comments
 (0)