8000 Merge pull request #3092 from sommersoft/5.3.x · domdfcoding/circuitpython@1ce682d · GitHub
[go: up one dir, main page]

Skip to content

Commit 1ce682d

Browse files
authored
Merge pull request adafruit#3092 from sommersoft/5.3.x
[5.3.x] Custom CSS For "Viewing Outdated Docs" Message
2 parents 51dbe91 + 47849a9 commit 1ce682d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/static/customstyle.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@
1010
}
1111

1212

13+
/* custom CSS to sticky the ' viewing outdated version'
14+
warning
15+
*/
16+
.document > .admonition {
17+
position: sticky;
18+
top: 0px;
19+
background-color: salmon;
20+
z-index: 2;
21+
}
22+
23+
body {
24+
overflow-x: unset!important;
25+
}
1326

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

0 commit comments

Comments
 (0)
0