print stylesheet

This commit is contained in:
rimu 2024-04-21 16:27:32 +12:00
parent 6ce5e7208c
commit bdbfe48edb
3 changed files with 58 additions and 1 deletions

View 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;
}
}

View file

@ -864,5 +864,32 @@ div.navbar {
background-color: black; 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 */ /*# sourceMappingURL=styles.css.map */

View file

@ -446,4 +446,6 @@ div.navbar {
[data-bs-theme="dark"] .coolfieldset.collapsed legend, [data-bs-theme="dark"] .coolfieldset legend, [data-bs-theme="dark"] .coolfieldset.expanded legend { [data-bs-theme="dark"] .coolfieldset.collapsed legend, [data-bs-theme="dark"] .coolfieldset legend, [data-bs-theme="dark"] .coolfieldset.expanded legend {
background-color: black; background-color: black;
} }
} }
@import "scss/print";