mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
print stylesheet
This commit is contained in:
parent
6ce5e7208c
commit
bdbfe48edb
3 changed files with 58 additions and 1 deletions
28
app/static/scss/_print.scss
Normal file
28
app/static/scss/_print.scss
Normal file
|
@ -0,0 +1,28 @@
|
|||
@media print {
|
||||
#navbarSupportedContent, #side_pane, .voting_buttons, .comment_actions, footer, .post_reply_form, #post_replies .btn-group,
|
||||
.navbar .nav-link, .post_utilities_bar, .community_header, .community_icon_big, .mobile_create_post {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.comments > .comment {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
.main_pane {
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
||||
&>.btn-group {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.div.navbar {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
|
@ -864,5 +864,32 @@ div.navbar {
|
|||
background-color: black;
|
||||
}
|
||||
}
|
||||
@media print {
|
||||
#navbarSupportedContent, #side_pane, .voting_buttons, .comment_actions, footer, .post_reply_form, #post_replies .btn-group,
|
||||
.navbar .nav-link, .post_utilities_bar, .community_header, .community_icon_big, .mobile_create_post {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.comments > .comment {
|
||||
break-inside: avoid;
|
||||
}
|
||||
|
||||
.main_pane {
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
.main_pane > .btn-group {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.div.navbar {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=styles.css.map */
|
||||
|
|
|
@ -447,3 +447,5 @@ div.navbar {
|
|||
background-color: black;
|
||||
}
|
||||
}
|
||||
|
||||
@import "scss/print";
|
||||
|
|
Loading…
Add table
Reference in a new issue