Skip to content

Commit badbf45

Browse files
authored
update print styles (PR #85)
* hide toc * hide pagination links * hide footer main and thanks * left-align text in footer * fix footer padding
1 parent e3d1f61 commit badbf45

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/css/print.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@
5252
color: inherit !important;
5353
}
5454

55-
#topbar-nav,
55+
.navbar > :not(.navbar-brand),
5656
.nav-container,
57-
.toolbar {
57+
.toolbar,
58+
aside.toc,
59+
nav.pagination,
60+
.footer > :not(.footer-legal) {
5861
display: none;
5962
}
6063

@@ -73,7 +76,12 @@
7376
background: none;
7477
border-top: 1px solid var(--panel-border-color);
7578
color: var(--quote-attribution-font-color);
76-
padding: 0.5rem;
79+
padding: 0.75rem 0.5rem 0;
80+
}
81+
82+
.footer-legal {
83+
margin-top: 0;
84+
text-align: left;
7785
}
7886

7987
.footer * {

0 commit comments

Comments
 (0)