Skip to content

Commit b47fae7

Browse files
authored
CSHARP-4268: Tweak stylesheet for printing (mongodb#850)
1 parent 089a54d commit b47fae7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Docs/reference/themes/mongodb/static/css/overrides.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,26 @@ a code {
115115
.jsEnabled #search {
116116
visibility: visible;
117117
}
118+
119+
@media print {
120+
a[href]:after {
121+
content: none !important;
122+
}
123+
124+
.edit-link,
125+
.sidebar,
126+
.toggle-nav,
127+
#header-db .nav-items {
128+
display: none !important;
129+
}
130+
131+
#header-db {
132+
position: inherit !important;
133+
}
134+
135+
.content .main-column {
136+
margin-top: 0 !important;
137+
margin-left: 0 !important;
138+
width: 100% !important;
139+
}
140+
}

0 commit comments

Comments
 (0)