Skip to content

Commit 7750eb0

Browse files
authored
Merge pull request adafruit#3082 from sommersoft/customcss_old_docs_warning
[main] Custom CSS For "Viewing Outdated Docs" Message
2 parents 367e163 + ba0911b commit 7750eb0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/static/customstyle.css

+12
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,19 @@
99
margin: 4px;
1010
}
1111

12+
/* custom CSS to sticky the ' viewing outdated version'
13+
warning
14+
*/
15+
.document > .admonition {
16+
position: sticky;
17+
top: 0px;
18+
background-color: salmon;
19+
z-index: 2;
20+
}
1221

22+
body {
23+
overflow-x: unset!important;
24+
}
1325

1426
/* override table width restrictions */
1527
@media screen and (min-width: 767px) {

0 commit comments

Comments
 (0)