From 6801542f066d76f6deb86dd92d23e72c7b90793b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 9 Sep 2021 21:46:00 +0200 Subject: README: Add documentation for domain wildcards --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3