Add basic print stylesheet
This commit is contained in:
parent
db5d108a78
commit
b50c84d771
20
r4ds.scss
20
r4ds.scss
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue