Merge pull request #3082 from sommersoft/customcss_old_docs_warning
[main] Custom CSS For "Viewing Outdated Docs" Message
This commit is contained in:
commit
7750eb0dcc
1 changed files with 12 additions and 0 deletions
12
docs/static/customstyle.css
vendored
12
docs/static/customstyle.css
vendored
|
|
@ -9,7 +9,19 @@
|
||||||
margin: 4px;
|
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 */
|
/* override table width restrictions */
|
||||||
@media screen and (min-width: 767px) {
|
@media screen and (min-width: 767px) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue