Skip to content

Commit

Permalink
add css for export pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
badbye committed Feb 19, 2017
1 parent 946690f commit d7919df
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions inst/rmarkdown/templates/xaringan_zh-CN/skeleton/zh-CN.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,17 @@ blockquote {
border-left: solid 5px lightgray;
padding-left: 1em;
}

@page {
margin: 0;
}

@media print {
.remark-slide-scaler {
width: 100% !important;
height: 100% !important;
transform: scale(1) !important;
top: 0 !important;
left: 0 !important;
}
}

1 comment on commit d7919df

@badbye
Copy link
Owner Author

@badbye badbye commented on d7919df Feb 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.