summaryrefslogtreecommitdiff
path: root/docs/static/customstyle.css
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-06-29 15:51:20 -0700
committerGitHub <noreply@github.com>2020-06-29 15:51:20 -0700
commit9637baec752e27511447d04adde14bcf304e5302 (patch)
treeadf6bc9e0f3d97be0a8c7e492d8b32e761e6e215 /docs/static/customstyle.css
parentd4bb108e3bd50e012017dd374f9c693be1aaf80b (diff)
parent2d77c962a824a9b45a74e59525d413229d61bc1f (diff)
Merge pull request #3080 from sommersoft/4.x4.x
[4.x] Custom CSS For "Viewing Outdated Docs" Message
Diffstat (limited to 'docs/static/customstyle.css')
-rw-r--r--docs/static/customstyle.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/static/customstyle.css b/docs/static/customstyle.css
index 6c964b762..1136edcd3 100644
--- a/docs/static/customstyle.css
+++ b/docs/static/customstyle.css
@@ -10,6 +10,19 @@
}
+/* custom CSS to sticky the ' viewing outdated version'
+ warning
+*/
+.document > .admonition {
+ position: sticky;
+ top: 0px;
+ background-color: salmon;
+ z-index: 2;
+}
+
+body {
+ overflow-x: unset!important;
+}
/* override table width restrictions */
@media screen and (min-width: 767px) {