From: Ardis Lu Date: Sun, 31 Mar 2024 20:26:09 +0000 (-0700) Subject: Add example for style worker X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=88e75c9e8676721a58c5fc066fc0c887dcb85717;p=cloudflare-workers Add example for style worker --- diff --git a/.github/style-after.png b/.github/style-after.png new file mode 100644 index 0000000..6e2e2b3 Binary files /dev/null and b/.github/style-after.png differ diff --git a/.github/style-before.png b/.github/style-before.png new file mode 100644 index 0000000..b0621d2 Binary files /dev/null and b/.github/style-before.png differ diff --git a/README.md b/README.md index b154115..ac0c778 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,12 @@ no styling. https://x.y.workers.dev?https://site-with-no-styles.example.com ``` +Before (https://www.cs.virginia.edu/~robins/YouAndYourResearch.html): +An unstyled page. The body text stretches the entire width of the screen, making it hard to read. + +After (https://x.y.workers.dev?https://www.cs.virginia.edu/~robins/YouAndYourResearch.html): +A styled version of the previous page. The body text is centered with a max width of about 700px, making a much easier reading experience. + ## buttcoin Returns a page where all instances of the word "bitcoin" are replaced with