Skip to content

Commit 4e644e0

Browse files
committed
more css rules
Signed-off-by: Max Pumperla <max.pumperla@googlemail.com>
1 parent 08799fb commit 4e644e0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

_static/custom_hide.css

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,24 @@
3232
.bd-main .bd-content {
3333
margin-left: 0 !important;
3434
max-width: 100% !important;
35-
background: #ffe4e1 !important; /* light pink */
3635
}
3736

3837
/* Hide the footer */
39-
#jb-footer, .footer, .bd-footer {
38+
#jb-footer, .footer, .bd-footer .bd-footer-content {
4039
display: none !important;
4140
}
4241

4342
/* Hide the theme switcher button */
4443
.theme-switch-button, .toggle-switch {
4544
display: none !important;
45+
}
46+
47+
/* Hide the next/previous navigation buttons */
48+
.bd-article__nav, /* Main next/prev nav at bottom */
49+
.bd-article__header .bd-article__header-nav, /* Top nav if present */
50+
.prev-next-bottom, /* Legacy class, just in case */
51+
.prev-next-area, /* Legacy class, just in case */
52+
#prev-link, #next-link, /* IDs sometimes used */
53+
.nav-buttons { /* Some themes use this */
54+
display: none !important;
4655
}

0 commit comments

Comments
 (0)