Add basic print stylesheet

This commit is contained in:
Hadley Wickham 2022-08-11 10:27:25 -05:00
parent db5d108a78
commit b50c84d771
1 changed files with 20 additions and 0 deletions

View File

@ -53,3 +53,23 @@ code {
pre {
background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
}
/* Printing ------------------------------------------------ */
@media print {
:root {
font-size: 11pt;
}
#quarto-sidebar, #TOC, .nav-page {
display: none;
}
.page-columns .content {
grid-column-start: page-start;
}
.fixed-top {
position: relative;
}
.panel-caption, .figure-caption, figcaption {
color: #666;
}
}