Skip to content

Commit

Permalink
add print css
Browse files Browse the repository at this point in the history
  • Loading branch information
mrinalcs committed Oct 17, 2024
1 parent 4d20ac9 commit d58a907
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _sass/print.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@media print {
nav,footer,#comment-section>.comments,div#formContainer {
display: none !important;
}
.lg{
display:inline;
}
figure,p:has(img) {
border: none;
margin: 20px auto;
}
img {
width: 50%;
border: none;
margin: 0 auto;
}
}

1 change: 1 addition & 0 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
@import 'figs';
@import 'comments';
@import 'toc';
@import 'print';

0 comments on commit d58a907

Please sign in to comment.