summaryrefslogtreecommitdiff
path: root/docs/static/customstyle.css
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2020-06-26 17:01:25 -0500
committersommersoft <sommersoft@gmail.com>2020-06-26 17:01:25 -0500
commitba0911b0f6f03238d1f81b010f85192678fb7fa4 (patch)
tree768af1931172a90d7a1a65fc8d08879b33920cae /docs/static/customstyle.css
parent9b8d6489869a5283efb35cd6632fa198f8b5493b (diff)
add custom css for 'viewing-old-docs' message
Diffstat (limited to 'docs/static/customstyle.css')
-rw-r--r--docs/static/customstyle.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/static/customstyle.css b/docs/static/customstyle.css
index 6c964b762..2f6e10bd8 100644
--- a/docs/static/customstyle.css
+++ b/docs/static/customstyle.css
@@ -9,7 +9,19 @@
margin: 4px;
}
+/* 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) {