8000 add custom css for 'viewing-old-docs' message · domdfcoding/circuitpython@47849a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47849a9

Browse files
committed
add custom css for 'viewing-old-docs' message
1 parent 51dbe91 commit 47849a9

File tree

1 file changed

+13
-0
line 8000 s 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