add CSS class noprint, + corresponding shortcode

This commit is contained in:
Helmut Merz 2026-02-10 15:37:48 +01:00
parent a4116f6bd2
commit b00bd9a475
2 changed files with 6 additions and 1 deletions

View file

@ -73,8 +73,12 @@ p:last-child, ul:last-child {
/* printing */ /* printing */
.noprint {
@extend .text-info !optional;
}
@media print { @media print {
.site-header, #cs-sidebar, .pagination, footer { .noprint, .site-header, #cs-sidebar, .pagination, footer {
display: none; display: none;
} }
.col-md-8 { .col-md-8 {

View file

@ -0,0 +1 @@
<div class="noprint">{{ .Inner | transform.Markdownify }}&nbsp</div>