aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorTeddy Wing2021-09-09 21:46:00 +0200
committerTeddy Wing2021-09-09 21:46:00 +0200
commit6801542f066d76f6deb86dd92d23e72c7b90793b (patch)
tree5100c91402d5e368a40e36f4479201cc79a65e9e /README.md
parent5e2a889c85d88a3a7ce9fc472a55afda81b1c022 (diff)
downloadLegibility-6801542f066d76f6deb86dd92d23e72c7b90793b.tar.bz2
README: Add documentation for domain wildcards
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5d206d8..c79d47f 100644
--- a/README.md
+++ b/README.md
@@ -25,6 +25,16 @@ Stylesheets must use a filename matching the website’s domain (including
subdomains), and terminated by a `.css` extension.
+### Domain wildcards
+Styles can be applied to multiple domains or subdomains using domain-level
+wildcards. For the host `www.example.com`, the following CSS files will apply:
+
+* `%.css`: Applies styles to all hosts
+* `%.com.css`: Applies styles to all `.com` domains
+* `%.example.com.css`: Applies styles to all subdomains under `example.com`
+* `www.example.com.css`: Applies styles to the `www.example.com` host
+
+
## Install
This extension should be installed unpacked to allow you to freely add and
modify stylesheets in the `css/` directory.