Skip to content

Commit f34fbd7

Browse files
author
james
committed
docs: hide nav bar in print view
1 parent 2df0509 commit f34fbd7

File tree

1 file changed

+57
-0
lines changed
  • docs/ql-documentation/global-sphinx-files/_static

1 file changed

+57
-0
lines changed

docs/ql-documentation/global-sphinx-files/_static/custom.css_t

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,64 @@ div.navBox {
236236

237237
}
238238

239+
/* -- PRINT VIEW ----------------------------------------------------------------------------*/
239240

241+
@media print {
242+
div.navBox {
243+
display: none;
244+
}
245+
246+
#siteBanner {
247+
display: none;
248+
}
249+
250+
div.wrapper {
251+
/*margin-top:-100px;*/
252+
flex-direction: column;
253+
height: 100%;
254+
width: 100%;
255+
padding-top: 0px;
256+
}
257+
div.mainBox {
258+
margin: 0 10px 0 10px;
259+
position: relative;
260+
height: 100%;
261+
width: 100%;
262+
}
263+
div.documentwrapper {
264+
padding-left: 20px;
265+
width:100%;
266+
box-shadow: none;
267+
margin: 0;
268+
padding-left:0;
269+
}
270+
271+
body {
272+
margin: 0;
273+
padding: 0;
274+
overflow: inherit;
275+
width:95%;
276+
}
277+
278+
div.body {
279+
min-width: unset;
280+
}
281+
div.linkbar {
282+
display: none;
283+
284+
}
285+
.small-bar {
286+
display: inherit;
287+
}
288+
289+
ul {
290+
margin: 10px 20px 10px 20px;
291+
}
292+
293+
div.privacy {
294+
display: none;
295+
}
296+
}
240297

241298
/* -- MAIN BODY ---------------------------------------------------------------------------- */
242299

0 commit comments

Comments
 (0)