diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-06-29 15:52:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-29 15:52:46 -0700 |
| commit | 7750eb0dcc3ae79b18d092b4f65ddfa76e9df2c8 (patch) | |
| tree | b1f7e4b1b2b08d9f40548615d09ac1a115d3bd54 /docs | |
| parent | 367e16304f751f355eff271e201f47227c801cdd (diff) | |
| parent | ba0911b0f6f03238d1f81b010f85192678fb7fa4 (diff) | |
Merge pull request #3082 from sommersoft/customcss_old_docs_warning
[main] Custom CSS For "Viewing Outdated Docs" Message
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/static/customstyle.css | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/static/customstyle.css b/docs/static/customstyle.css index 3c0bc8424..ce2140e70 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) { |
