add noprint class to hide elements when printing

This commit is contained in:
bdeshi 2022-05-23 21:01:57 +06:00
parent fbe57409c8
commit ec9cfc83fe
Signed by: bdeshi
GPG Key ID: 410D03DA9A3468E0
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,8 @@ a
a.print:after a.print:after
content: " (" attr(href) ") " content: " (" attr(href) ") "
font-size: 50% font-size: 50%
.noprint
display: none
.synopsis .synopsis
.desc > p .desc > p

View File

@ -8,4 +8,5 @@ section.copyright
| Created with #[+ext_a('https://pugjs.org', 'pug')] | Created with #[+ext_a('https://pugjs.org', 'pug')]
| and #[+ext_a('https://sass-lang.com', 'sass')]. | and #[+ext_a('https://sass-lang.com', 'sass')].
| Built with #[+ext_a('https://parceljs.org', 'parcel')]. | Built with #[+ext_a('https://parceljs.org', 'parcel')].
| Pronunciation generated by #[+ext_a('https://ipa-reader.xyz', 'ipa-reader')]. |
span.noprint Pronunciation generated by #[+ext_a('https://ipa-reader.xyz', 'ipa-reader')].