add noprint class to hide elements when printing

This commit is contained in:
bdeshi 2022-05-23 21:01:57 +06:00
parent 6bd71b7831
commit a04613751e
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
content: " (" attr(href) ") "
font-size: 50%
.noprint
display: none
.synopsis
.desc > p

View File

@ -8,4 +8,5 @@ section.copyright
| Created with #[+ext_a('https://pugjs.org', 'pug')]
| and #[+ext_a('https://sass-lang.com', 'sass')].
| 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')].