use pixelated image rendering mode for QR codes

This commit is contained in:
Daniel Micay 2023-02-16 20:35:05 -05:00
parent 62010eb00f
commit 4d7c2bfc2c
2 changed files with 6 additions and 1 deletions

View File

@ -77,7 +77,8 @@ sed -i "$replace" static-tmp/releases.html
gixy nginx-tmp/nginx.conf
xmllint --noout static-tmp/**/*.html
java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
# check CSS first to work around a validator bug
java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/*.css static-tmp/**/!(bimi).@(html|svg)
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
--process-scripts "application/ld+json" --collapse-boolean-attributes \
--remove-attribute-quotes --remove-comments --remove-empty-attributes \

View File

@ -201,6 +201,10 @@ button:disabled {
text-align: center;
}
.coin-address img {
image-rendering: pixelated;
}
footer img {
width: 60px;
height: auto;