summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprocess-static3
-rw-r--r--static/main.css4
2 files changed, 6 insertions, 1 deletions
diff --git a/process-static b/process-static
index 0ce73f92..a8e2e38d 100755
--- a/process-static
+++ b/process-static
@@ -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 \
diff --git a/static/main.css b/static/main.css
index b6008b21..ca063d8f 100644
--- a/static/main.css
+++ b/static/main.css
@@ -201,6 +201,10 @@ button:disabled {
text-align: center;
}
+.coin-address img {
+ image-rendering: pixelated;
+}
+
footer img {
width: 60px;
height: auto;