diff options
author | Teddy Wing | 2021-09-09 21:46:00 +0200 |
---|---|---|
committer | Teddy Wing | 2021-09-09 21:46:00 +0200 |
commit | 6801542f066d76f6deb86dd92d23e72c7b90793b (patch) | |
tree | 5100c91402d5e368a40e36f4479201cc79a65e9e /README.md | |
parent | 5e2a889c85d88a3a7ce9fc472a55afda81b1c022 (diff) | |
download | Legibility-6801542f066d76f6deb86dd92d23e72c7b90793b.tar.bz2 |
README: Add documentation for domain wildcards
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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. |