We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba028ae commit dc6ede0Copy full SHA for dc6ede0
2 files changed
conf.py
@@ -336,3 +336,6 @@
336
intersphinx_mapping = {"cpython": ('https://docs.python.org/3/', None),
337
"bus_device": ('https://circuitpython.readthedocs.io/projects/busdevice/en/latest/', None),
338
"register": ('https://circuitpython.readthedocs.io/projects/register/en/latest/', None)}
339
+def setup(app):
340
+ app.add_stylesheet("customstyle.css")
341
+
docs/static/customstyle.css
@@ -10,6 +10,19 @@
10
}
11
12
13
+/* custom CSS to sticky the ' viewing outdated version'
14
+ warning
15
+*/
16
+.document > .admonition {
17
+ position: sticky;
18
+ top: 0px;
19
+ background-color: salmon;
20
+ z-index: 2;
21
+}
22
23
+body {
24
+ overflow-x: unset!important;
25
26
27
/* override table width restrictions */
28
@media screen and (min-width: 767px) {
0 commit comments