summaryrefslogtreecommitdiff
path: root/docs/static/customstyle.css
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-06-30 10:58:46 -0700
committerGitHub <noreply@github.com>2020-06-30 10:58:46 -0700
commit1ce682d4041ce80e0c16ea5636a123a6b2e55b1c (patch)
tree8a3cd03004d27595c933e2894171f32a7609a750 /docs/static/customstyle.css
parent51dbe9109fb6a474fe7f4cf4e3766e27ba0b34b5 (diff)
parent47849a9e58d5f6d06bb92e00b3de567da1a356dd (diff)
Merge pull request #3092 from sommersoft/5.3.x
[5.3.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) {