diff --git a/deploy_static b/deploy_static
index 7eb0fcb6..92f4b62a 100755
--- a/deploy_static
+++ b/deploy_static
@@ -7,6 +7,7 @@ set -o errexit
rm -rf static_tmp
cp -a static static_tmp
json_reformat -m < static_tmp/manifest.webmanifest | sponge static_tmp/manifest.webmanifest
+find static_tmp -name '*.css' -exec csso {} -o {} \;
find static_tmp -name '*.js' -exec terser --module -cmo {} {} \;
find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|txt\|webmanifest\|xml\)\)' -exec zopfli {} \; -exec touch -r {} {}.gz \;
diff --git a/static/build.html b/static/build.html
index 7b0aef37..da8dc505 100644
--- a/static/build.html
+++ b/static/build.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/contact.html b/static/contact.html
index da0a9696..76f75a15 100644
--- a/static/contact.html
+++ b/static/contact.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/donate.html b/static/donate.html
index e0cd630e..87ff209c 100644
--- a/static/donate.html
+++ b/static/donate.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/faq.html b/static/faq.html
index c1f36ad7..ca594349 100644
--- a/static/faq.html
+++ b/static/faq.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/index.html b/static/index.html
index e1c227c4..ebd99354 100644
--- a/static/index.html
+++ b/static/index.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/install.html b/static/install.html
index 8d15cf02..79749682 100644
--- a/static/install.html
+++ b/static/install.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/pdfviewer-privacy-policy.html b/static/pdfviewer-privacy-policy.html
index 183cf93e..7ec6ec5f 100644
--- a/static/pdfviewer-privacy-policy.html
+++ b/static/pdfviewer-privacy-policy.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/releases.html b/static/releases.html
index a2f23e2f..31beb82f 100644
--- a/static/releases.html
+++ b/static/releases.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/source.html b/static/source.html
index e586bacf..80f13a96 100644
--- a/static/source.html
+++ b/static/source.html
@@ -20,7 +20,7 @@
-
+
diff --git a/static/usage.html b/static/usage.html
index 428624ec..320f87fd 100644
--- a/static/usage.html
+++ b/static/usage.html
@@ -20,7 +20,7 @@
-
+