From 0d87a771631e1bf689b885c2520ed30ba2c93999 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 22:57:49 +0000 Subject: [PATCH 1/2] Bump postcss-selector-parser, postcss-custom-selectors and stylelint Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) to 7.1.6 and updates ancestor dependencies [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser), [postcss-custom-selectors](https://github.com/csstools/postcss-plugins/tree/HEAD/plugins/postcss-custom-selectors) and [stylelint](https://github.com/stylelint/stylelint). These dependencies need to be updated together. Updates `postcss-selector-parser` from 6.0.16 to 7.1.6 - [Release notes](https://github.com/postcss/postcss-selector-parser/releases) - [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss-selector-parser/compare/v6.0.16...7.1.6) Updates `postcss-custom-selectors` from 6.0.3 to 9.0.4 - [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-custom-selectors/CHANGELOG.md) - [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugins/postcss-custom-selectors) Updates `stylelint` from 16.4.0 to 16.26.1 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint/stylelint/compare/16.4.0...16.26.1) --- updated-dependencies: - dependency-name: postcss-selector-parser dependency-version: 7.1.6 dependency-type: indirect - dependency-name: postcss-custom-selectors dependency-version: 9.0.4 dependency-type: direct:development - dependency-name: stylelint dependency-version: 16.26.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- package-lock.json | 663 ++++++++++++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 404 insertions(+), 261 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc4fce4..8a952b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "postcss-alter-property-value": "^1.1.3", "postcss-cli": "^11.0.0", "postcss-css-variables": "^0.19.0", - "postcss-custom-selectors": "^6.0.3", + "postcss-custom-selectors": "^9.0.4", "postcss-discard-comments": "^6.0.2", "postcss-header": "^3.0.3", "postcss-import": "^16.1.0", @@ -123,10 +123,34 @@ "node": ">=4" } }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, "node_modules/@csstools/css-parser-algorithms": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-2.6.1.tgz", - "integrity": "sha512-ubEkAaTfVZa+WwGhs5jbo5Xfqpeaybr/RvWzvFxRs4jfq16wH8l8Ty/QEEpINxll4xhuGfdMbipRyz5QZh9+FA==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-3.0.5.tgz", + "integrity": "sha512-DaDeUkXZKjdGhgYaHNJTV9pV7Y9B3b644jCLs9Upc3VeNGg6LWARAT6O+Q+/COo+2gg/bM5rhpMAtf70WqfBdQ==", "dev": true, "funding": [ { @@ -138,17 +162,43 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" }, "peerDependencies": { - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-tokenizer": "^3.0.4" + } + }, + "node_modules/@csstools/css-syntax-patches-for-csstree": { + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/@csstools/css-syntax-patches-for-csstree/-/css-syntax-patches-for-csstree-1.1.15.tgz", + "integrity": "sha512-J0u7HkVl2nzSlhsiTOp4AmwcUQ3D+mGEEKfBy/7To5/y7F2OHwyLrXfrhR0SMgr4p5Lo+eaMVSeai24zUcBIxA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT-0", + "peerDependencies": { + "css-tree": "^3.2.1" + }, + "peerDependenciesMeta": { + "css-tree": { + "optional": true + } } }, "node_modules/@csstools/css-tokenizer": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-2.2.4.tgz", - "integrity": "sha512-PuWRAewQLbDhGeTvFuq2oClaSCKPIBmHyIobCV39JHRYN0byDcUWJl5baPeNUcqrjtdMNqFooE0FGl31I3JOqw==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-3.0.4.tgz", + "integrity": "sha512-Vd/9EVDiu6PPJt9yAh6roZP6El1xHrdvIVGjyBsHR0RYwNHgL7FJPyIIW4fANJNG6FtyZfvlRPpFI4ZM/lubvw==", "dev": true, "funding": [ { @@ -160,14 +210,15 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" } }, "node_modules/@csstools/media-query-list-parser": { - "version": "2.1.9", - "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-2.1.9.tgz", - "integrity": "sha512-qqGuFfbn4rUmyOB0u8CVISIp5FfJ5GAR3mBrZ9/TKndHakdnm6pY0L/fbLcpPnrzwCyyTEZl1nUcXAYHEWneTA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/@csstools/media-query-list-parser/-/media-query-list-parser-4.0.3.tgz", + "integrity": "sha512-HAYH7d3TLRHDOUQK4mZKf9k9Ph/m8Akstg66ywKR4SFAigjs3yBiUeZtFxywiTm5moZMAp/5W/ZuFnNXXYLuuQ==", "dev": true, "funding": [ { @@ -179,18 +230,19 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT", "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" }, "peerDependencies": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4" + "@csstools/css-parser-algorithms": "^3.0.5", + "@csstools/css-tokenizer": "^3.0.4" } }, "node_modules/@csstools/selector-specificity": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.3.tgz", - "integrity": "sha512-KEPNw4+WW5AVEIyzC80rTbWEUatTW2lXpN8+8ILC8PiPeWPjwUzrPZDIOZ2wwqDmeqOYTdSGyL3+vE5GC3FB3Q==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-5.0.0.tgz", + "integrity": "sha512-PCqQV3c4CoVm3kdPhyeZ07VmBRdH2EpMFA/pd9OASpOEC3aXNGoqPDAZ80D0cLpMBxnmk0+yNhGsEx31hq7Gtw==", "dev": true, "funding": [ { @@ -202,11 +254,12 @@ "url": "https://opencollective.com/csstools" } ], + "license": "MIT-0", "engines": { - "node": "^14 || ^16 || >=18" + "node": ">=18" }, "peerDependencies": { - "postcss-selector-parser": "^6.0.13" + "postcss-selector-parser": "^7.0.0" } }, "node_modules/@daltontan/postcss-import-json": { @@ -216,15 +269,40 @@ "dev": true }, "node_modules/@dual-bundle/import-meta-resolve": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.0.0.tgz", - "integrity": "sha512-ZKXyJeFAzcpKM2kk8ipoGIPUqx9BX52omTGnfwjJvxOCaZTM2wtDK7zN0aIgPRbT9XYAlha0HtmZ+XKteuh0Gw==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@dual-bundle/import-meta-resolve/-/import-meta-resolve-4.2.1.tgz", + "integrity": "sha512-id+7YRUgoUX6CgV0DtuhirQWodeeA7Lf4i2x71JS/vtA5pRb/hIGWlw+G6MeXvsM+MXrz0VAydTGElX1rAfgPg==", "dev": true, + "license": "MIT", "funding": { "type": "github", - "url": "https://github.com/sponsors/wooorm" + "url": "https://github.com/sponsors/JounQin" } }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -301,10 +379,11 @@ } }, "node_modules/ajv": { - "version": "8.18.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", - "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", + "version": "8.20.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz", + "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==", "dev": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.3", "fast-uri": "^3.0.1", @@ -317,15 +396,13 @@ } }, "node_modules/ansi-regex": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", - "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" + "node": ">=8" } }, "node_modules/ansi-styles": { @@ -382,6 +459,7 @@ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -493,6 +571,20 @@ "node": ">= 0.8" } }, + "node_modules/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, "node_modules/call-bind-apply-helpers": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", @@ -571,27 +663,6 @@ "node": ">=12" } }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -678,15 +749,6 @@ "copyup": "copyfiles" } }, - "node_modules/copyfiles/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/copyfiles/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -710,18 +772,6 @@ "node": ">=10" } }, - "node_modules/copyfiles/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/copyfiles/node_modules/yargs": { "version": "16.2.0", "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", @@ -782,22 +832,24 @@ } }, "node_modules/css-functions-list": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.2.2.tgz", - "integrity": "sha512-c+N0v6wbKVxTu5gOBBFkr9BEdBWaqqjQeiJ8QvSRIJOf+UxlJh930m8e6/WNeODIK0mYLFkoONrnj16i2EcvfQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/css-functions-list/-/css-functions-list-3.3.3.tgz", + "integrity": "sha512-8HFEBPKhOpJPEPu70wJJetjKta86Gw9+CCyCnB3sui2qQfOvRyqBy4IKLKKAwdMpWb2lHXWk9Wb4Z6AmaUT1Pg==", "dev": true, + "license": "MIT", "engines": { - "node": ">=12 || >=16" + "node": ">=12" } }, "node_modules/css-tree": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz", - "integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz", + "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==", "dev": true, + "license": "MIT", "dependencies": { - "mdn-data": "2.0.30", - "source-map-js": "^1.0.1" + "mdn-data": "2.27.1", + "source-map-js": "^1.2.1" }, "engines": { "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" @@ -1050,28 +1102,30 @@ "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", "dev": true, + "license": "MIT", "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", - "micromatch": "^4.0.4" + "micromatch": "^4.0.8" }, "engines": { "node": ">=8.6.0" } }, "node_modules/fast-uri": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.7.tgz", - "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", "dev": true, "funding": [ { @@ -1104,15 +1158,13 @@ } }, "node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", + "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==", "dev": true, + "license": "MIT", "dependencies": { - "flat-cache": "^4.0.0" - }, - "engines": { - "node": ">=16.0.0" + "flat-cache": "^6.1.23" } }, "node_modules/fill-range": { @@ -1146,22 +1198,21 @@ } }, "node_modules/flat-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", "dev": true, + "license": "MIT", "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - }, - "engines": { - "node": ">=16" + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" } }, "node_modules/flatted": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", - "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", "dev": true, "license": "ISC" }, @@ -1394,6 +1445,7 @@ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -1411,6 +1463,19 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/hasown": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", @@ -1423,6 +1488,13 @@ "node": ">= 0.4" } }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, "node_modules/html-tags": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/html-tags/-/html-tags-3.3.1.tgz", @@ -1648,12 +1720,6 @@ "js-yaml": "bin/js-yaml.js" } }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true - }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", @@ -1664,7 +1730,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/jsonfile": { "version": "6.1.0", @@ -1679,12 +1746,13 @@ } }, "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", "dev": true, + "license": "MIT", "dependencies": { - "json-buffer": "3.0.1" + "@keyv/serialize": "^1.1.1" } }, "node_modules/kind-of": { @@ -1697,10 +1765,11 @@ } }, "node_modules/known-css-properties": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.30.0.tgz", - "integrity": "sha512-VSWXYUnsPu9+WYKkfmJyLKtIvaRJi1kXUqVmBACORXZQxT5oZDsoZ2vQP+bQFDnWtpI/4eq3MLoRMjI2fnLzTQ==", - "dev": true + "version": "0.37.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.37.0.tgz", + "integrity": "sha512-JCDrsP4Z1Sb9JwG0aJ8Eo2r7k4Ou5MwmThS/6lcIe1ICyb7UBJKGRIUUdqc2ASdE/42lgz6zFUnzAIhtXnBVrQ==", + "dev": true, + "license": "MIT" }, "node_modules/lilconfig": { "version": "3.1.1", @@ -1724,7 +1793,8 @@ "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", "integrity": "sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/math-intrinsics": { "version": "1.1.0", @@ -1747,10 +1817,11 @@ } }, "node_modules/mdn-data": { - "version": "2.0.30", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz", - "integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==", - "dev": true + "version": "2.27.1", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz", + "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==", + "dev": true, + "license": "CC0-1.0" }, "node_modules/media-typer": { "version": "0.3.0", @@ -2157,22 +2228,99 @@ } }, "node_modules/postcss-custom-selectors": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-6.0.3.tgz", - "integrity": "sha512-fgVkmyiWDwmD3JbpCmB45SvvlCD6z9CG6Ie6Iere22W5aHea6oWa7EM2bpnv2Fj3I94L3VbtvX9KqwSi5aFzSg==", + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-9.0.4.tgz", + "integrity": "sha512-dwtyd2bJE9acn9bnoY7BkM0+PaWKQ90C7FEFkK8LXj2/yAm+P14ZFoTwUW3QVZPqQzUTGTM3HaSG1c21q0ufeg==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", "dependencies": { - "postcss-selector-parser": "^6.0.4" + "@csstools/cascade-layer-name-parser": "^3.0.2", + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2", + "postcss-selector-parser": "^7.1.1" }, "engines": { - "node": "^12 || ^14 || >=16" + "node": ">=20.19.0" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/csstools" + "peerDependencies": { + "postcss": "^8.4" + } + }, + "node_modules/postcss-custom-selectors/node_modules/@csstools/cascade-layer-name-parser": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@csstools/cascade-layer-name-parser/-/cascade-layer-name-parser-3.0.2.tgz", + "integrity": "sha512-B731RJ9pfJj3D5GJPp8ccsaaHMdwBmlOb4QWAYQUFpmMxonxJvNeeIoo0E89CjMJaKDvQXy9MKpSXY/i7XgeFA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" + }, + "peerDependencies": { + "@csstools/css-parser-algorithms": "^4.0.2", + "@csstools/css-tokenizer": "^4.0.2" + } + }, + "node_modules/postcss-custom-selectors/node_modules/@csstools/css-parser-algorithms": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-parser-algorithms/-/css-parser-algorithms-4.0.2.tgz", + "integrity": "sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" }, "peerDependencies": { - "postcss": "^8.3" + "@csstools/css-tokenizer": "^4.0.2" + } + }, + "node_modules/postcss-custom-selectors/node_modules/@csstools/css-tokenizer": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@csstools/css-tokenizer/-/css-tokenizer-4.0.2.tgz", + "integrity": "sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/csstools" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/csstools" + } + ], + "license": "MIT", + "engines": { + "node": ">=20.19.0" } }, "node_modules/postcss-discard-comments": { @@ -2275,15 +2423,16 @@ } }, "node_modules/postcss-resolve-nested-selector": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.1.tgz", - "integrity": "sha512-HvExULSwLqHLgUy1rl3ANIqCsvMS0WHss2UOsXhXnQaZ9VCc2oBvIpXrl00IUFT5ZDITME0o6oiXeiHr2SAIfw==", - "dev": true + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/postcss-resolve-nested-selector/-/postcss-resolve-nested-selector-0.1.7.tgz", + "integrity": "sha512-lFcugRCQXWManq7nyZ0dDtir52wc7gKYJfWpSuz4GxvnGc7dtlpXcZYX4A0asatzTuqpQ3ngDdyD+QG/szeXWw==", + "dev": true, + "license": "MIT" }, "node_modules/postcss-safe-parser": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.0.0.tgz", - "integrity": "sha512-ovehqRNVCpuFzbXoTb4qLtyzK3xn3t/CUBxOs8LsnQjQrShaB4lKiHoVqY8ANaC0hBMHq5QVWk77rwGklFUDrg==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-7.1.0.tgz", + "integrity": "sha512-1WzZxRLaAFwEh6Do+zyGpjWV3nGJNxxhuh7Ubu/q1ICImMgZJnLwhoaEpRbG4pJppp2Y1ncL9ffA2f+LhrefQg==", "dev": true, "funding": [ { @@ -2299,6 +2448,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "engines": { "node": ">=18.0" }, @@ -2307,10 +2457,11 @@ } }, "node_modules/postcss-selector-parser": { - "version": "6.0.16", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.16.tgz", - "integrity": "sha512-A0RVJrX+IUkVZbW3ClroRWurercFhieevHB38sr2+l9eUClMqome3LmEmnhlNy+5Mr2EYN6B2Kaw9wYdd+VHiw==", + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-7.1.6.tgz", + "integrity": "sha512-7qASPzhKF2l2KLboRZux8CCTRMdGiV08vWmyKzPz22qZ7ZjQBOeY7rNzNoCLSUiftJ7HUq0GERHmxw/t0dCdMw==", "dev": true, + "license": "MIT", "dependencies": { "cssesc": "^3.0.0", "util-deprecate": "^1.0.2" @@ -2362,6 +2513,26 @@ "node": ">= 0.10" } }, + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } + }, + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" + }, "node_modules/qs": { "version": "6.15.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz", @@ -2501,6 +2672,7 @@ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -2756,6 +2928,7 @@ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "astral-regex": "^2.0.0", @@ -2807,20 +2980,12 @@ "node": ">=8" } }, - "node_modules/string-width/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/string-width/node_modules/strip-ansi": { + "node_modules/strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -2828,65 +2993,61 @@ "node": ">=8" } }, - "node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", - "dev": true, - "dependencies": { - "ansi-regex": "^6.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, "node_modules/stylelint": { - "version": "16.4.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.4.0.tgz", - "integrity": "sha512-uSx7VMuXwLuYcNSIg+0/fFNv0WinsfLAqsVVy7h7p80clKOHiGE8pfY6UjqwylTHiJrRIahTl6a8FPxGezhWoA==", + "version": "16.26.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.26.1.tgz", + "integrity": "sha512-v20V59/crfc8sVTAtge0mdafI3AdnzQ2KsWe6v523L4OA1bJO02S7MO2oyXDCS6iWb9ckIPnqAFVItqSBQr7jw==", "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/stylelint" + }, + { + "type": "github", + "url": "https://github.com/sponsors/stylelint" + } + ], + "license": "MIT", "dependencies": { - "@csstools/css-parser-algorithms": "^2.6.1", - "@csstools/css-tokenizer": "^2.2.4", - "@csstools/media-query-list-parser": "^2.1.9", - "@csstools/selector-specificity": "^3.0.3", - "@dual-bundle/import-meta-resolve": "^4.0.0", + "@csstools/css-parser-algorithms": "^3.0.5", + "@csstools/css-syntax-patches-for-csstree": "^1.0.19", + "@csstools/css-tokenizer": "^3.0.4", + "@csstools/media-query-list-parser": "^4.0.3", + "@csstools/selector-specificity": "^5.0.0", + "@dual-bundle/import-meta-resolve": "^4.2.1", "balanced-match": "^2.0.0", "colord": "^2.9.3", "cosmiconfig": "^9.0.0", - "css-functions-list": "^3.2.2", - "css-tree": "^2.3.1", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", + "css-functions-list": "^3.2.3", + "css-tree": "^3.1.0", + "debug": "^4.4.3", + "fast-glob": "^3.3.3", "fastest-levenshtein": "^1.0.16", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "^11.1.1", "global-modules": "^2.0.0", "globby": "^11.1.0", "globjoin": "^0.1.4", "html-tags": "^3.3.1", - "ignore": "^5.3.1", + "ignore": "^7.0.5", "imurmurhash": "^0.1.4", "is-plain-object": "^5.0.0", - "known-css-properties": "^0.30.0", + "known-css-properties": "^0.37.0", "mathml-tag-names": "^2.1.3", "meow": "^13.2.0", - "micromatch": "^4.0.5", + "micromatch": "^4.0.8", "normalize-path": "^3.0.0", - "picocolors": "^1.0.0", - "postcss": "^8.4.38", - "postcss-resolve-nested-selector": "^0.1.1", - "postcss-safe-parser": "^7.0.0", - "postcss-selector-parser": "^6.0.16", + "picocolors": "^1.1.1", + "postcss": "^8.5.6", + "postcss-resolve-nested-selector": "^0.1.6", + "postcss-safe-parser": "^7.0.1", + "postcss-selector-parser": "^7.1.0", "postcss-value-parser": "^4.2.0", "resolve-from": "^5.0.0", "string-width": "^4.2.3", - "strip-ansi": "^7.1.0", - "supports-hyperlinks": "^3.0.0", + "supports-hyperlinks": "^3.2.0", "svg-tags": "^1.0.0", - "table": "^6.8.2", + "table": "^6.9.0", "write-file-atomic": "^5.0.1" }, "bin": { @@ -2894,10 +3055,6 @@ }, "engines": { "node": ">=18.12.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/stylelint" } }, "node_modules/stylelint/node_modules/balanced-match": { @@ -2907,12 +3064,13 @@ "dev": true }, "node_modules/stylelint/node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, + "license": "MIT", "dependencies": { - "ms": "2.1.2" + "ms": "^2.1.3" }, "engines": { "node": ">=6.0" @@ -2943,11 +3101,32 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/stylelint/node_modules/globby/node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/stylelint/node_modules/ignore": { + "version": "7.0.12", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.12.tgz", + "integrity": "sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, "node_modules/stylelint/node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" }, "node_modules/stylelint/node_modules/resolve-from": { "version": "5.0.0", @@ -2972,6 +3151,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -2980,16 +3160,20 @@ } }, "node_modules/supports-hyperlinks": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", - "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.2.0.tgz", + "integrity": "sha512-zFObLMyZeEwzAoKCyu1B91U79K2t7ApXuQfo8OuxwXLDgcKxuwM+YvcbIhm6QWqz7mHUH1TVytR1PwVVjEuMig==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" }, "engines": { "node": ">=14.18" + }, + "funding": { + "url": "https://github.com/chalk/supports-hyperlinks?sponsor=1" } }, "node_modules/supports-preserve-symlinks-flag": { @@ -3011,10 +3195,11 @@ "dev": true }, "node_modules/table": { - "version": "6.8.2", - "resolved": "https://registry.npmjs.org/table/-/table-6.8.2.tgz", - "integrity": "sha512-w2sfv80nrAh2VCbqR5AK27wswXhqcck2AhfnNW76beQXskGZ1V12GwS//yYVa3d3fcvAip2OUnbDAjW2k3v9fA==", + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/table/-/table-6.9.0.tgz", + "integrity": "sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "ajv": "^8.0.1", "lodash.truncate": "^4.4.2", @@ -3026,27 +3211,6 @@ "node": ">=10.0.0" } }, - "node_modules/table/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/table/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/thenby": { "version": "1.3.4", "resolved": "https://registry.npmjs.org/thenby/-/thenby-1.3.4.tgz", @@ -3226,27 +3390,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrap-ansi/node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index eb3be62..954766b 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "postcss-alter-property-value": "^1.1.3", "postcss-cli": "^11.0.0", "postcss-css-variables": "^0.19.0", - "postcss-custom-selectors": "^6.0.3", + "postcss-custom-selectors": "^9.0.4", "postcss-discard-comments": "^6.0.2", "postcss-header": "^3.0.3", "postcss-import": "^16.1.0", From 0c2680792765eca046a11eb98459d8223c901c33 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 22:58:18 +0000 Subject: [PATCH 2/2] Update dist --- css/dist/ReadiumCSS-after.css | 232 +++++++++--------- css/dist/ReadiumCSS-before.css | 6 +- css/dist/cjk-horizontal/ReadiumCSS-after.css | 212 ++++++++-------- css/dist/cjk-horizontal/ReadiumCSS-before.css | 6 +- css/dist/cjk-vertical/ReadiumCSS-after.css | 214 ++++++++-------- css/dist/cjk-vertical/ReadiumCSS-before.css | 8 +- css/dist/rtl/ReadiumCSS-after.css | 220 ++++++++--------- css/dist/rtl/ReadiumCSS-before.css | 6 +- css/dist/webPub/ReadiumCSS-webPub.css | 156 ++++++------ 9 files changed, 530 insertions(+), 530 deletions(-) diff --git a/css/dist/ReadiumCSS-after.css b/css/dist/ReadiumCSS-after.css index 9c3b070..3518007 100644 --- a/css/dist/ReadiumCSS-after.css +++ b/css/dist/ReadiumCSS-after.css @@ -75,27 +75,27 @@ body{ box-sizing:border-box; } -:root:not([style*="readium-scroll-on"]) body{ +:root:not(:is([style*="readium-scroll-on"])) body{ padding:0 var(--RS__pageGutter) !important; } -:root:not([style*="readium-noOverflow-on"]) body{ +:root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:hidden; } @supports (overflow: clip){ - :root:not([style*="readium-noOverflow-on"]){ + :root:not(:is([style*="readium-noOverflow-on"])){ overflow:clip; } - :root:not([style*="readium-noOverflow-on"]) body{ + :root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; overflow-clip-margin:content-box; } } -:root[style*="readium-scroll-on"]{ +:root:is([style*="readium-scroll-on"]){ -webkit-columns:auto auto !important; -moz-columns:auto auto !important; columns:auto auto !important; @@ -107,39 +107,39 @@ body{ min-height:0 !important; } -:root[style*="readium-scroll-on"] body{ +:root:is([style*="readium-scroll-on"]) body{ max-width:var(--RS__defaultLineLength) !important; box-sizing:border-box !important; } -:root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ +:root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:auto; } @supports (overflow: clip){ - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]){ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])){ overflow:auto; } - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; } } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingTop"] body{ padding-top:var(--RS__scrollPaddingTop) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingBottom"] body{ padding-bottom:var(--RS__scrollPaddingBottom) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingLeft"] body{ padding-left:var(--RS__scrollPaddingLeft) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingRight"] body{ padding-right:var(--RS__scrollPaddingRight) !important; } @@ -222,9 +222,9 @@ body{ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ), :root[style*="--USER__textAlign"] li, :root[style*="--USER__textAlign"] dd{ @@ -262,63 +262,63 @@ body{ font-family:revert !important; } -:root[style*="readium-a11y-on"]{ +:root:is([style*="readium-a11y-on"]){ font-style:normal !important; font-weight:normal !important; } -:root[style*="readium-a11y-on"] body *:not(code):not(var):not(kbd):not(samp){ +:root:is([style*="readium-a11y-on"]) body *:not(code):not(var):not(kbd):not(samp){ font-family:inherit !important; font-style:inherit !important; font-weight:inherit !important; } -:root[style*="readium-a11y-on"] body *:not(a){ +:root:is([style*="readium-a11y-on"]) body *:not(a){ text-decoration:none !important; } -:root[style*="readium-a11y-on"] body *{ +:root:is([style*="readium-a11y-on"]) body *{ font-variant-caps:normal !important; font-variant-numeric:normal !important; font-variant-position:normal !important; } -:root[style*="readium-a11y-on"] sup, -:root[style*="readium-a11y-on"] sub{ +:root:is([style*="readium-a11y-on"]) sup, +:root:is([style*="readium-a11y-on"]) sub{ font-size:1rem !important; vertical-align:baseline !important; } -:root:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] body{ zoom:var(--USER__fontSize) !important; } -:root:not([style*="readium-deprecatedFontSize-on"])[style*="readium-iOSPatch-on"][style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):is([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ -webkit-text-size-adjust:var(--USER__fontSize) !important; } @supports selector(figure:has(> img)){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> img), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> video), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> svg), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> canvas), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> iframe), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> audio), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> img:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> video:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> svg:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> canvas:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> iframe:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> audio:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] table{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> img), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> video), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> svg), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> canvas), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> iframe), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> audio), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> img:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> video:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> svg:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> canvas:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> iframe:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> audio:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] table{ zoom:calc(100% / var(--USER__fontSize)) !important; } - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figcaption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] caption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] td, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] th{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figcaption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] caption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] td, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] th{ zoom:var(--USER__fontSize) !important; } } @@ -330,7 +330,7 @@ body{ } } -:root[style*="readium-deprecatedFontSize-on"][style*="--USER__fontSize"]{ +:root:is([style*="readium-deprecatedFontSize-on"])[style*="--USER__fontSize"]{ font-size:var(--USER__fontSize) !important; } @@ -355,9 +355,9 @@ body{ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ){ text-indent:var(--USER__paraIndent) !important; } @@ -420,8 +420,8 @@ body{ font-optical-sizing:var(--USER__fontOpticalSizing) !important; } -:root[style*="readium-blend-on"] svg, -:root[style*="readium-blend-on"] img{ +:root:is([style*="readium-blend-on"]) svg, +:root:is([style*="readium-blend-on"]) img{ background-color:transparent !important; mix-blend-mode:multiply !important; } @@ -431,7 +431,7 @@ body{ filter:brightness(var(--USER__darkenImages)) !important; } -:root[style*="readium-darken-on"] img{ +:root:is([style*="readium-darken-on"]) img{ -webkit-filter:brightness(80%) !important; filter:brightness(80%) !important; } @@ -441,7 +441,7 @@ body{ filter:invert(var(--USER__invertImages)) !important; } -:root[style*="readium-invert-on"] img{ +:root:is([style*="readium-invert-on"]) img{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } @@ -451,17 +451,17 @@ body{ filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important; } -:root[style*="readium-darken-on"][style*="--USER__invertImages"] img{ +:root:is([style*="readium-darken-on"])[style*="--USER__invertImages"] img{ -webkit-filter:brightness(80%) invert(var(--USER__invertImages)) !important; filter:brightness(80%) invert(var(--USER__invertImages)) !important; } -:root[style*="--USER__darkenImages"][style*="readium-invert-on"] img{ +:root[style*="--USER__darkenImages"]:is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(var(--USER__darkenImages)) invert(100%) !important; filter:brightness(var(--USER__darkenImages)) invert(100%) !important; } -:root[style*="readium-darken-on"][style*="readium-invert-on"] img{ +:root:is([style*="readium-darken-on"]):is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(80%) invert(100%) !important; filter:brightness(80%) invert(100%) !important; } @@ -471,116 +471,116 @@ body{ filter:invert(var(--USER__invertGaiji)) !important; } -:root[style*="readium-invertGaiji-on"] img[class*="gaiji"]{ +:root:is([style*="readium-invertGaiji-on"]) img[class*="gaiji"]{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } -:root[style*="readium-normalize-on"]{ +:root:is([style*="readium-normalize-on"]){ --USER__typeScale:1.2; } -:root[style*="readium-normalize-on"] p, -:root[style*="readium-normalize-on"] li, -:root[style*="readium-normalize-on"] div, -:root[style*="readium-normalize-on"] pre, -:root[style*="readium-normalize-on"] dd{ +:root:is([style*="readium-normalize-on"]) p, +:root:is([style*="readium-normalize-on"]) li, +:root:is([style*="readium-normalize-on"]) div, +:root:is([style*="readium-normalize-on"]) pre, +:root:is([style*="readium-normalize-on"]) dd{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] h1{ +:root:is([style*="readium-normalize-on"]) h1{ font-size:1.75rem !important; font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h2{ +:root:is([style*="readium-normalize-on"]) h2{ font-size:1.5rem !important; font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h3{ +:root:is([style*="readium-normalize-on"]) h3{ font-size:1.25rem !important; font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h4, -:root[style*="readium-normalize-on"] h5, -:root[style*="readium-normalize-on"] h6{ +:root:is([style*="readium-normalize-on"]) h4, +:root:is([style*="readium-normalize-on"]) h5, +:root:is([style*="readium-normalize-on"]) h6{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] small{ +:root:is([style*="readium-normalize-on"]) small{ font-size:smaller !important; } -:root[style*="readium-normalize-on"] sub, -:root[style*="readium-normalize-on"] sup{ +:root:is([style*="readium-normalize-on"]) sub, +:root:is([style*="readium-normalize-on"]) sup{ font-size:67.5% !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h1{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h1{ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h2{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h2{ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h3{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h3{ font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-iPadOSPatch-on"] body{ +:root:is([style*="readium-iPadOSPatch-on"]) body{ -webkit-text-size-adjust:none; } -:root[style*="readium-iPadOSPatch-on"] p, -:root[style*="readium-iPadOSPatch-on"] h1, -:root[style*="readium-iPadOSPatch-on"] h2, -:root[style*="readium-iPadOSPatch-on"] h3, -:root[style*="readium-iPadOSPatch-on"] h4, -:root[style*="readium-iPadOSPatch-on"] h5, -:root[style*="readium-iPadOSPatch-on"] h6, -:root[style*="readium-iPadOSPatch-on"] li, -:root[style*="readium-iPadOSPatch-on"] th, -:root[style*="readium-iPadOSPatch-on"] td, -:root[style*="readium-iPadOSPatch-on"] dt, -:root[style*="readium-iPadOSPatch-on"] dd, -:root[style*="readium-iPadOSPatch-on"] pre, -:root[style*="readium-iPadOSPatch-on"] address, -:root[style*="readium-iPadOSPatch-on"] details, -:root[style*="readium-iPadOSPatch-on"] summary, -:root[style*="readium-iPadOSPatch-on"] figcaption, -:root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), -:root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ +:root:is([style*="readium-iPadOSPatch-on"]) p, +:root:is([style*="readium-iPadOSPatch-on"]) h1, +:root:is([style*="readium-iPadOSPatch-on"]) h2, +:root:is([style*="readium-iPadOSPatch-on"]) h3, +:root:is([style*="readium-iPadOSPatch-on"]) h4, +:root:is([style*="readium-iPadOSPatch-on"]) h5, +:root:is([style*="readium-iPadOSPatch-on"]) h6, +:root:is([style*="readium-iPadOSPatch-on"]) li, +:root:is([style*="readium-iPadOSPatch-on"]) th, +:root:is([style*="readium-iPadOSPatch-on"]) td, +:root:is([style*="readium-iPadOSPatch-on"]) dt, +:root:is([style*="readium-iPadOSPatch-on"]) dd, +:root:is([style*="readium-iPadOSPatch-on"]) pre, +:root:is([style*="readium-iPadOSPatch-on"]) address, +:root:is([style*="readium-iPadOSPatch-on"]) details, +:root:is([style*="readium-iPadOSPatch-on"]) summary, +:root:is([style*="readium-iPadOSPatch-on"]) figcaption, +:root:is([style*="readium-iPadOSPatch-on"]) div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), +:root:is([style*="readium-iPadOSPatch-on"]) aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ -webkit-text-zoom:reset; } -:root[style*="readium-iPadOSPatch-on"] abbr, -:root[style*="readium-iPadOSPatch-on"] b, -:root[style*="readium-iPadOSPatch-on"] bdi, -:root[style*="readium-iPadOSPatch-on"] bdo, -:root[style*="readium-iPadOSPatch-on"] cite, -:root[style*="readium-iPadOSPatch-on"] code, -:root[style*="readium-iPadOSPatch-on"] dfn, -:root[style*="readium-iPadOSPatch-on"] em, -:root[style*="readium-iPadOSPatch-on"] i, -:root[style*="readium-iPadOSPatch-on"] kbd, -:root[style*="readium-iPadOSPatch-on"] mark, -:root[style*="readium-iPadOSPatch-on"] q, -:root[style*="readium-iPadOSPatch-on"] rp, -:root[style*="readium-iPadOSPatch-on"] rt, -:root[style*="readium-iPadOSPatch-on"] ruby, -:root[style*="readium-iPadOSPatch-on"] s, -:root[style*="readium-iPadOSPatch-on"] samp, -:root[style*="readium-iPadOSPatch-on"] small, -:root[style*="readium-iPadOSPatch-on"] span, -:root[style*="readium-iPadOSPatch-on"] strong, -:root[style*="readium-iPadOSPatch-on"] sub, -:root[style*="readium-iPadOSPatch-on"] sup, -:root[style*="readium-iPadOSPatch-on"] time, -:root[style*="readium-iPadOSPatch-on"] u, -:root[style*="readium-iPadOSPatch-on"] var{ +:root:is([style*="readium-iPadOSPatch-on"]) abbr, +:root:is([style*="readium-iPadOSPatch-on"]) b, +:root:is([style*="readium-iPadOSPatch-on"]) bdi, +:root:is([style*="readium-iPadOSPatch-on"]) bdo, +:root:is([style*="readium-iPadOSPatch-on"]) cite, +:root:is([style*="readium-iPadOSPatch-on"]) code, +:root:is([style*="readium-iPadOSPatch-on"]) dfn, +:root:is([style*="readium-iPadOSPatch-on"]) em, +:root:is([style*="readium-iPadOSPatch-on"]) i, +:root:is([style*="readium-iPadOSPatch-on"]) kbd, +:root:is([style*="readium-iPadOSPatch-on"]) mark, +:root:is([style*="readium-iPadOSPatch-on"]) q, +:root:is([style*="readium-iPadOSPatch-on"]) rp, +:root:is([style*="readium-iPadOSPatch-on"]) rt, +:root:is([style*="readium-iPadOSPatch-on"]) ruby, +:root:is([style*="readium-iPadOSPatch-on"]) s, +:root:is([style*="readium-iPadOSPatch-on"]) samp, +:root:is([style*="readium-iPadOSPatch-on"]) small, +:root:is([style*="readium-iPadOSPatch-on"]) span, +:root:is([style*="readium-iPadOSPatch-on"]) strong, +:root:is([style*="readium-iPadOSPatch-on"]) sub, +:root:is([style*="readium-iPadOSPatch-on"]) sup, +:root:is([style*="readium-iPadOSPatch-on"]) time, +:root:is([style*="readium-iPadOSPatch-on"]) u, +:root:is([style*="readium-iPadOSPatch-on"]) var{ -webkit-text-zoom:normal; } diff --git a/css/dist/ReadiumCSS-before.css b/css/dist/ReadiumCSS-before.css index 460b031..918eebc 100644 --- a/css/dist/ReadiumCSS-before.css +++ b/css/dist/ReadiumCSS-before.css @@ -506,9 +506,9 @@ img, svg|svg, video{ @supports (zoom: 1) and (not ((-webkit-column-axis: horizontal) and (-webkit-column-progression: normal))){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] img, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] svg|svg, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] video{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] img, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] svg|svg, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] video{ zoom:calc(100% / var(--USER__fontSize)); } } diff --git a/css/dist/cjk-horizontal/ReadiumCSS-after.css b/css/dist/cjk-horizontal/ReadiumCSS-after.css index 23a0a34..dc273d9 100644 --- a/css/dist/cjk-horizontal/ReadiumCSS-after.css +++ b/css/dist/cjk-horizontal/ReadiumCSS-after.css @@ -75,27 +75,27 @@ body{ box-sizing:border-box; } -:root:not([style*="readium-scroll-on"]) body{ +:root:not(:is([style*="readium-scroll-on"])) body{ padding:0 var(--RS__pageGutter) !important; } -:root:not([style*="readium-noOverflow-on"]) body{ +:root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:hidden; } @supports (overflow: clip){ - :root:not([style*="readium-noOverflow-on"]){ + :root:not(:is([style*="readium-noOverflow-on"])){ overflow:clip; } - :root:not([style*="readium-noOverflow-on"]) body{ + :root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; overflow-clip-margin:content-box; } } -:root[style*="readium-scroll-on"]{ +:root:is([style*="readium-scroll-on"]){ -webkit-columns:auto auto !important; -moz-columns:auto auto !important; columns:auto auto !important; @@ -107,39 +107,39 @@ body{ min-height:0 !important; } -:root[style*="readium-scroll-on"] body{ +:root:is([style*="readium-scroll-on"]) body{ max-width:var(--RS__defaultLineLength) !important; box-sizing:border-box !important; } -:root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ +:root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:auto; } @supports (overflow: clip){ - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]){ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])){ overflow:auto; } - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; } } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingTop"] body{ padding-top:var(--RS__scrollPaddingTop) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingBottom"] body{ padding-bottom:var(--RS__scrollPaddingBottom) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingLeft"] body{ padding-left:var(--RS__scrollPaddingLeft) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingRight"] body{ padding-right:var(--RS__scrollPaddingRight) !important; } @@ -220,36 +220,36 @@ body{ font-family:revert !important; } -:root:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] body{ zoom:var(--USER__fontSize) !important; } -:root:not([style*="readium-deprecatedFontSize-on"])[style*="readium-iOSPatch-on"][style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):is([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ -webkit-text-size-adjust:var(--USER__fontSize) !important; } @supports selector(figure:has(> img)){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> img), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> video), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> svg), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> canvas), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> iframe), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> audio), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> img:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> video:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> svg:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> canvas:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> iframe:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> audio:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] table{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> img), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> video), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> svg), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> canvas), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> iframe), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> audio), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> img:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> video:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> svg:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> canvas:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> iframe:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> audio:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] table{ zoom:calc(100% / var(--USER__fontSize)) !important; } - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figcaption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] caption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] td, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] th{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figcaption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] caption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] td, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] th{ zoom:var(--USER__fontSize) !important; } } @@ -261,7 +261,7 @@ body{ } } -:root[style*="readium-deprecatedFontSize-on"][style*="--USER__fontSize"]{ +:root:is([style*="readium-deprecatedFontSize-on"])[style*="--USER__fontSize"]{ font-size:var(--USER__fontSize) !important; } @@ -313,13 +313,13 @@ body{ font-variant:none !important; } -:root[style*="readium-noRuby-on"] body rt, -:root[style*="readium-noRuby-on"] body rp{ +:root:is([style*="readium-noRuby-on"]) body rt, +:root:is([style*="readium-noRuby-on"]) body rp{ display:none; } -:root[style*="readium-blend-on"] svg, -:root[style*="readium-blend-on"] img{ +:root:is([style*="readium-blend-on"]) svg, +:root:is([style*="readium-blend-on"]) img{ background-color:transparent !important; mix-blend-mode:multiply !important; } @@ -329,7 +329,7 @@ body{ filter:brightness(var(--USER__darkenImages)) !important; } -:root[style*="readium-darken-on"] img{ +:root:is([style*="readium-darken-on"]) img{ -webkit-filter:brightness(80%) !important; filter:brightness(80%) !important; } @@ -339,7 +339,7 @@ body{ filter:invert(var(--USER__invertImages)) !important; } -:root[style*="readium-invert-on"] img{ +:root:is([style*="readium-invert-on"]) img{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } @@ -349,17 +349,17 @@ body{ filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important; } -:root[style*="readium-darken-on"][style*="--USER__invertImages"] img{ +:root:is([style*="readium-darken-on"])[style*="--USER__invertImages"] img{ -webkit-filter:brightness(80%) invert(var(--USER__invertImages)) !important; filter:brightness(80%) invert(var(--USER__invertImages)) !important; } -:root[style*="--USER__darkenImages"][style*="readium-invert-on"] img{ +:root[style*="--USER__darkenImages"]:is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(var(--USER__darkenImages)) invert(100%) !important; filter:brightness(var(--USER__darkenImages)) invert(100%) !important; } -:root[style*="readium-darken-on"][style*="readium-invert-on"] img{ +:root:is([style*="readium-darken-on"]):is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(80%) invert(100%) !important; filter:brightness(80%) invert(100%) !important; } @@ -369,116 +369,116 @@ body{ filter:invert(var(--USER__invertGaiji)) !important; } -:root[style*="readium-invertGaiji-on"] img[class*="gaiji"]{ +:root:is([style*="readium-invertGaiji-on"]) img[class*="gaiji"]{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } -:root[style*="readium-normalize-on"]{ +:root:is([style*="readium-normalize-on"]){ --USER__typeScale:1.2; } -:root[style*="readium-normalize-on"] p, -:root[style*="readium-normalize-on"] li, -:root[style*="readium-normalize-on"] div, -:root[style*="readium-normalize-on"] pre, -:root[style*="readium-normalize-on"] dd{ +:root:is([style*="readium-normalize-on"]) p, +:root:is([style*="readium-normalize-on"]) li, +:root:is([style*="readium-normalize-on"]) div, +:root:is([style*="readium-normalize-on"]) pre, +:root:is([style*="readium-normalize-on"]) dd{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] h1{ +:root:is([style*="readium-normalize-on"]) h1{ font-size:1.75rem !important; font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h2{ +:root:is([style*="readium-normalize-on"]) h2{ font-size:1.5rem !important; font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h3{ +:root:is([style*="readium-normalize-on"]) h3{ font-size:1.25rem !important; font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h4, -:root[style*="readium-normalize-on"] h5, -:root[style*="readium-normalize-on"] h6{ +:root:is([style*="readium-normalize-on"]) h4, +:root:is([style*="readium-normalize-on"]) h5, +:root:is([style*="readium-normalize-on"]) h6{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] small{ +:root:is([style*="readium-normalize-on"]) small{ font-size:smaller !important; } -:root[style*="readium-normalize-on"] sub, -:root[style*="readium-normalize-on"] sup{ +:root:is([style*="readium-normalize-on"]) sub, +:root:is([style*="readium-normalize-on"]) sup{ font-size:67.5% !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h1{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h1{ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h2{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h2{ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h3{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h3{ font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-iPadOSPatch-on"] body{ +:root:is([style*="readium-iPadOSPatch-on"]) body{ -webkit-text-size-adjust:none; } -:root[style*="readium-iPadOSPatch-on"] p, -:root[style*="readium-iPadOSPatch-on"] h1, -:root[style*="readium-iPadOSPatch-on"] h2, -:root[style*="readium-iPadOSPatch-on"] h3, -:root[style*="readium-iPadOSPatch-on"] h4, -:root[style*="readium-iPadOSPatch-on"] h5, -:root[style*="readium-iPadOSPatch-on"] h6, -:root[style*="readium-iPadOSPatch-on"] li, -:root[style*="readium-iPadOSPatch-on"] th, -:root[style*="readium-iPadOSPatch-on"] td, -:root[style*="readium-iPadOSPatch-on"] dt, -:root[style*="readium-iPadOSPatch-on"] dd, -:root[style*="readium-iPadOSPatch-on"] pre, -:root[style*="readium-iPadOSPatch-on"] address, -:root[style*="readium-iPadOSPatch-on"] details, -:root[style*="readium-iPadOSPatch-on"] summary, -:root[style*="readium-iPadOSPatch-on"] figcaption, -:root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), -:root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ +:root:is([style*="readium-iPadOSPatch-on"]) p, +:root:is([style*="readium-iPadOSPatch-on"]) h1, +:root:is([style*="readium-iPadOSPatch-on"]) h2, +:root:is([style*="readium-iPadOSPatch-on"]) h3, +:root:is([style*="readium-iPadOSPatch-on"]) h4, +:root:is([style*="readium-iPadOSPatch-on"]) h5, +:root:is([style*="readium-iPadOSPatch-on"]) h6, +:root:is([style*="readium-iPadOSPatch-on"]) li, +:root:is([style*="readium-iPadOSPatch-on"]) th, +:root:is([style*="readium-iPadOSPatch-on"]) td, +:root:is([style*="readium-iPadOSPatch-on"]) dt, +:root:is([style*="readium-iPadOSPatch-on"]) dd, +:root:is([style*="readium-iPadOSPatch-on"]) pre, +:root:is([style*="readium-iPadOSPatch-on"]) address, +:root:is([style*="readium-iPadOSPatch-on"]) details, +:root:is([style*="readium-iPadOSPatch-on"]) summary, +:root:is([style*="readium-iPadOSPatch-on"]) figcaption, +:root:is([style*="readium-iPadOSPatch-on"]) div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), +:root:is([style*="readium-iPadOSPatch-on"]) aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ -webkit-text-zoom:reset; } -:root[style*="readium-iPadOSPatch-on"] abbr, -:root[style*="readium-iPadOSPatch-on"] b, -:root[style*="readium-iPadOSPatch-on"] bdi, -:root[style*="readium-iPadOSPatch-on"] bdo, -:root[style*="readium-iPadOSPatch-on"] cite, -:root[style*="readium-iPadOSPatch-on"] code, -:root[style*="readium-iPadOSPatch-on"] dfn, -:root[style*="readium-iPadOSPatch-on"] em, -:root[style*="readium-iPadOSPatch-on"] i, -:root[style*="readium-iPadOSPatch-on"] kbd, -:root[style*="readium-iPadOSPatch-on"] mark, -:root[style*="readium-iPadOSPatch-on"] q, -:root[style*="readium-iPadOSPatch-on"] rp, -:root[style*="readium-iPadOSPatch-on"] rt, -:root[style*="readium-iPadOSPatch-on"] ruby, -:root[style*="readium-iPadOSPatch-on"] s, -:root[style*="readium-iPadOSPatch-on"] samp, -:root[style*="readium-iPadOSPatch-on"] small, -:root[style*="readium-iPadOSPatch-on"] span, -:root[style*="readium-iPadOSPatch-on"] strong, -:root[style*="readium-iPadOSPatch-on"] sub, -:root[style*="readium-iPadOSPatch-on"] sup, -:root[style*="readium-iPadOSPatch-on"] time, -:root[style*="readium-iPadOSPatch-on"] u, -:root[style*="readium-iPadOSPatch-on"] var{ +:root:is([style*="readium-iPadOSPatch-on"]) abbr, +:root:is([style*="readium-iPadOSPatch-on"]) b, +:root:is([style*="readium-iPadOSPatch-on"]) bdi, +:root:is([style*="readium-iPadOSPatch-on"]) bdo, +:root:is([style*="readium-iPadOSPatch-on"]) cite, +:root:is([style*="readium-iPadOSPatch-on"]) code, +:root:is([style*="readium-iPadOSPatch-on"]) dfn, +:root:is([style*="readium-iPadOSPatch-on"]) em, +:root:is([style*="readium-iPadOSPatch-on"]) i, +:root:is([style*="readium-iPadOSPatch-on"]) kbd, +:root:is([style*="readium-iPadOSPatch-on"]) mark, +:root:is([style*="readium-iPadOSPatch-on"]) q, +:root:is([style*="readium-iPadOSPatch-on"]) rp, +:root:is([style*="readium-iPadOSPatch-on"]) rt, +:root:is([style*="readium-iPadOSPatch-on"]) ruby, +:root:is([style*="readium-iPadOSPatch-on"]) s, +:root:is([style*="readium-iPadOSPatch-on"]) samp, +:root:is([style*="readium-iPadOSPatch-on"]) small, +:root:is([style*="readium-iPadOSPatch-on"]) span, +:root:is([style*="readium-iPadOSPatch-on"]) strong, +:root:is([style*="readium-iPadOSPatch-on"]) sub, +:root:is([style*="readium-iPadOSPatch-on"]) sup, +:root:is([style*="readium-iPadOSPatch-on"]) time, +:root:is([style*="readium-iPadOSPatch-on"]) u, +:root:is([style*="readium-iPadOSPatch-on"]) var{ -webkit-text-zoom:normal; } diff --git a/css/dist/cjk-horizontal/ReadiumCSS-before.css b/css/dist/cjk-horizontal/ReadiumCSS-before.css index 460b031..918eebc 100644 --- a/css/dist/cjk-horizontal/ReadiumCSS-before.css +++ b/css/dist/cjk-horizontal/ReadiumCSS-before.css @@ -506,9 +506,9 @@ img, svg|svg, video{ @supports (zoom: 1) and (not ((-webkit-column-axis: horizontal) and (-webkit-column-progression: normal))){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] img, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] svg|svg, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] video{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] img, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] svg|svg, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] video{ zoom:calc(100% / var(--USER__fontSize)); } } diff --git a/css/dist/cjk-vertical/ReadiumCSS-after.css b/css/dist/cjk-vertical/ReadiumCSS-after.css index ce7e101..34b3227 100644 --- a/css/dist/cjk-vertical/ReadiumCSS-after.css +++ b/css/dist/cjk-vertical/ReadiumCSS-after.css @@ -86,28 +86,28 @@ body{ box-sizing:border-box; } -:root:not([style*="readium-scroll-on"]) body{ +:root:not(:is([style*="readium-scroll-on"])) body{ padding:var(--RS__pageGutter) 0 !important; } -:root:not([style*="readium-noOverflow-on"]) body{ +:root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:hidden; } @supports (overflow: clip){ - :root:not([style*="readium-noOverflow-on"]){ + :root:not(:is([style*="readium-noOverflow-on"])){ overflow:clip; } - :root:not([style*="readium-noOverflow-on"]) body{ + :root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; overflow-clip-margin:content-box; } } -:root[style*="readium-scroll-on"], -:root[style*="readium-noVerticalPagination-on"]{ +:root:is([style*="readium-scroll-on"]), +:root:is([style*="readium-noVerticalPagination-on"]){ -webkit-columns:auto auto !important; -moz-columns:auto auto !important; columns:auto auto !important; @@ -117,36 +117,36 @@ body{ min-width:0 !important; } -:root[style*="readium-scroll-on"] body, -:root[style*="readium-noVerticalPagination-on"] body{ +:root:is([style*="readium-scroll-on"]) body, +:root:is([style*="readium-noVerticalPagination-on"]) body{ max-width:var(--RS__defaultLineLength) !important; box-sizing:border-box !important; } @supports (overflow: clip){ - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]){ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])){ overflow:auto; } - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; } } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingTop"] body{ padding-top:var(--RS__scrollPaddingTop) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingBottom"] body{ padding-bottom:var(--RS__scrollPaddingBottom) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingLeft"] body{ padding-left:var(--RS__scrollPaddingLeft) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingRight"] body{ padding-right:var(--RS__scrollPaddingRight) !important; } @@ -205,36 +205,36 @@ body{ font-family:revert !important; } -:root:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] body{ zoom:var(--USER__fontSize) !important; } -:root:not([style*="readium-deprecatedFontSize-on"])[style*="readium-iOSPatch-on"][style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):is([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ -webkit-text-size-adjust:var(--USER__fontSize) !important; } @supports selector(figure:has(> img)){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> img), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> video), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> svg), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> canvas), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> iframe), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> audio), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> img:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> video:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> svg:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> canvas:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> iframe:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> audio:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] table{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> img), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> video), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> svg), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> canvas), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> iframe), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> audio), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> img:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> video:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> svg:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> canvas:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> iframe:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> audio:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] table{ zoom:calc(100% / var(--USER__fontSize)) !important; } - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figcaption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] caption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] td, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] th{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figcaption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] caption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] td, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] th{ zoom:var(--USER__fontSize) !important; } } @@ -246,7 +246,7 @@ body{ } } -:root[style*="readium-deprecatedFontSize-on"][style*="--USER__fontSize"]{ +:root:is([style*="readium-deprecatedFontSize-on"])[style*="--USER__fontSize"]{ font-size:var(--USER__fontSize) !important; } @@ -298,13 +298,13 @@ body{ font-variant:none !important; } -:root[style*="readium-noRuby-on"] body rt, -:root[style*="readium-noRuby-on"] body rp{ +:root:is([style*="readium-noRuby-on"]) body rt, +:root:is([style*="readium-noRuby-on"]) body rp{ display:none; } -:root[style*="readium-blend-on"] svg, -:root[style*="readium-blend-on"] img{ +:root:is([style*="readium-blend-on"]) svg, +:root:is([style*="readium-blend-on"]) img{ background-color:transparent !important; mix-blend-mode:multiply !important; } @@ -314,7 +314,7 @@ body{ filter:brightness(var(--USER__darkenImages)) !important; } -:root[style*="readium-darken-on"] img{ +:root:is([style*="readium-darken-on"]) img{ -webkit-filter:brightness(80%) !important; filter:brightness(80%) !important; } @@ -324,7 +324,7 @@ body{ filter:invert(var(--USER__invertImages)) !important; } -:root[style*="readium-invert-on"] img{ +:root:is([style*="readium-invert-on"]) img{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } @@ -334,17 +334,17 @@ body{ filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important; } -:root[style*="readium-darken-on"][style*="--USER__invertImages"] img{ +:root:is([style*="readium-darken-on"])[style*="--USER__invertImages"] img{ -webkit-filter:brightness(80%) invert(var(--USER__invertImages)) !important; filter:brightness(80%) invert(var(--USER__invertImages)) !important; } -:root[style*="--USER__darkenImages"][style*="readium-invert-on"] img{ +:root[style*="--USER__darkenImages"]:is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(var(--USER__darkenImages)) invert(100%) !important; filter:brightness(var(--USER__darkenImages)) invert(100%) !important; } -:root[style*="readium-darken-on"][style*="readium-invert-on"] img{ +:root:is([style*="readium-darken-on"]):is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(80%) invert(100%) !important; filter:brightness(80%) invert(100%) !important; } @@ -354,116 +354,116 @@ body{ filter:invert(var(--USER__invertGaiji)) !important; } -:root[style*="readium-invertGaiji-on"] img[class*="gaiji"]{ +:root:is([style*="readium-invertGaiji-on"]) img[class*="gaiji"]{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } -:root[style*="readium-normalize-on"]{ +:root:is([style*="readium-normalize-on"]){ --USER__typeScale:1.2; } -:root[style*="readium-normalize-on"] p, -:root[style*="readium-normalize-on"] li, -:root[style*="readium-normalize-on"] div, -:root[style*="readium-normalize-on"] pre, -:root[style*="readium-normalize-on"] dd{ +:root:is([style*="readium-normalize-on"]) p, +:root:is([style*="readium-normalize-on"]) li, +:root:is([style*="readium-normalize-on"]) div, +:root:is([style*="readium-normalize-on"]) pre, +:root:is([style*="readium-normalize-on"]) dd{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] h1{ +:root:is([style*="readium-normalize-on"]) h1{ font-size:1.75rem !important; font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h2{ +:root:is([style*="readium-normalize-on"]) h2{ font-size:1.5rem !important; font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h3{ +:root:is([style*="readium-normalize-on"]) h3{ font-size:1.25rem !important; font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h4, -:root[style*="readium-normalize-on"] h5, -:root[style*="readium-normalize-on"] h6{ +:root:is([style*="readium-normalize-on"]) h4, +:root:is([style*="readium-normalize-on"]) h5, +:root:is([style*="readium-normalize-on"]) h6{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] small{ +:root:is([style*="readium-normalize-on"]) small{ font-size:smaller !important; } -:root[style*="readium-normalize-on"] sub, -:root[style*="readium-normalize-on"] sup{ +:root:is([style*="readium-normalize-on"]) sub, +:root:is([style*="readium-normalize-on"]) sup{ font-size:67.5% !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h1{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h1{ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h2{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h2{ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h3{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h3{ font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-iPadOSPatch-on"] body{ +:root:is([style*="readium-iPadOSPatch-on"]) body{ -webkit-text-size-adjust:none; } -:root[style*="readium-iPadOSPatch-on"] p, -:root[style*="readium-iPadOSPatch-on"] h1, -:root[style*="readium-iPadOSPatch-on"] h2, -:root[style*="readium-iPadOSPatch-on"] h3, -:root[style*="readium-iPadOSPatch-on"] h4, -:root[style*="readium-iPadOSPatch-on"] h5, -:root[style*="readium-iPadOSPatch-on"] h6, -:root[style*="readium-iPadOSPatch-on"] li, -:root[style*="readium-iPadOSPatch-on"] th, -:root[style*="readium-iPadOSPatch-on"] td, -:root[style*="readium-iPadOSPatch-on"] dt, -:root[style*="readium-iPadOSPatch-on"] dd, -:root[style*="readium-iPadOSPatch-on"] pre, -:root[style*="readium-iPadOSPatch-on"] address, -:root[style*="readium-iPadOSPatch-on"] details, -:root[style*="readium-iPadOSPatch-on"] summary, -:root[style*="readium-iPadOSPatch-on"] figcaption, -:root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), -:root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ +:root:is([style*="readium-iPadOSPatch-on"]) p, +:root:is([style*="readium-iPadOSPatch-on"]) h1, +:root:is([style*="readium-iPadOSPatch-on"]) h2, +:root:is([style*="readium-iPadOSPatch-on"]) h3, +:root:is([style*="readium-iPadOSPatch-on"]) h4, +:root:is([style*="readium-iPadOSPatch-on"]) h5, +:root:is([style*="readium-iPadOSPatch-on"]) h6, +:root:is([style*="readium-iPadOSPatch-on"]) li, +:root:is([style*="readium-iPadOSPatch-on"]) th, +:root:is([style*="readium-iPadOSPatch-on"]) td, +:root:is([style*="readium-iPadOSPatch-on"]) dt, +:root:is([style*="readium-iPadOSPatch-on"]) dd, +:root:is([style*="readium-iPadOSPatch-on"]) pre, +:root:is([style*="readium-iPadOSPatch-on"]) address, +:root:is([style*="readium-iPadOSPatch-on"]) details, +:root:is([style*="readium-iPadOSPatch-on"]) summary, +:root:is([style*="readium-iPadOSPatch-on"]) figcaption, +:root:is([style*="readium-iPadOSPatch-on"]) div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), +:root:is([style*="readium-iPadOSPatch-on"]) aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ -webkit-text-zoom:reset; } -:root[style*="readium-iPadOSPatch-on"] abbr, -:root[style*="readium-iPadOSPatch-on"] b, -:root[style*="readium-iPadOSPatch-on"] bdi, -:root[style*="readium-iPadOSPatch-on"] bdo, -:root[style*="readium-iPadOSPatch-on"] cite, -:root[style*="readium-iPadOSPatch-on"] code, -:root[style*="readium-iPadOSPatch-on"] dfn, -:root[style*="readium-iPadOSPatch-on"] em, -:root[style*="readium-iPadOSPatch-on"] i, -:root[style*="readium-iPadOSPatch-on"] kbd, -:root[style*="readium-iPadOSPatch-on"] mark, -:root[style*="readium-iPadOSPatch-on"] q, -:root[style*="readium-iPadOSPatch-on"] rp, -:root[style*="readium-iPadOSPatch-on"] rt, -:root[style*="readium-iPadOSPatch-on"] ruby, -:root[style*="readium-iPadOSPatch-on"] s, -:root[style*="readium-iPadOSPatch-on"] samp, -:root[style*="readium-iPadOSPatch-on"] small, -:root[style*="readium-iPadOSPatch-on"] span, -:root[style*="readium-iPadOSPatch-on"] strong, -:root[style*="readium-iPadOSPatch-on"] sub, -:root[style*="readium-iPadOSPatch-on"] sup, -:root[style*="readium-iPadOSPatch-on"] time, -:root[style*="readium-iPadOSPatch-on"] u, -:root[style*="readium-iPadOSPatch-on"] var{ +:root:is([style*="readium-iPadOSPatch-on"]) abbr, +:root:is([style*="readium-iPadOSPatch-on"]) b, +:root:is([style*="readium-iPadOSPatch-on"]) bdi, +:root:is([style*="readium-iPadOSPatch-on"]) bdo, +:root:is([style*="readium-iPadOSPatch-on"]) cite, +:root:is([style*="readium-iPadOSPatch-on"]) code, +:root:is([style*="readium-iPadOSPatch-on"]) dfn, +:root:is([style*="readium-iPadOSPatch-on"]) em, +:root:is([style*="readium-iPadOSPatch-on"]) i, +:root:is([style*="readium-iPadOSPatch-on"]) kbd, +:root:is([style*="readium-iPadOSPatch-on"]) mark, +:root:is([style*="readium-iPadOSPatch-on"]) q, +:root:is([style*="readium-iPadOSPatch-on"]) rp, +:root:is([style*="readium-iPadOSPatch-on"]) rt, +:root:is([style*="readium-iPadOSPatch-on"]) ruby, +:root:is([style*="readium-iPadOSPatch-on"]) s, +:root:is([style*="readium-iPadOSPatch-on"]) samp, +:root:is([style*="readium-iPadOSPatch-on"]) small, +:root:is([style*="readium-iPadOSPatch-on"]) span, +:root:is([style*="readium-iPadOSPatch-on"]) strong, +:root:is([style*="readium-iPadOSPatch-on"]) sub, +:root:is([style*="readium-iPadOSPatch-on"]) sup, +:root:is([style*="readium-iPadOSPatch-on"]) time, +:root:is([style*="readium-iPadOSPatch-on"]) u, +:root:is([style*="readium-iPadOSPatch-on"]) var{ -webkit-text-zoom:normal; } diff --git a/css/dist/cjk-vertical/ReadiumCSS-before.css b/css/dist/cjk-vertical/ReadiumCSS-before.css index b6708f4..fb94fd9 100644 --- a/css/dist/cjk-vertical/ReadiumCSS-before.css +++ b/css/dist/cjk-vertical/ReadiumCSS-before.css @@ -506,10 +506,10 @@ img, svg|svg, video{ @supports (zoom: 1) and (not ((-webkit-column-axis: horizontal) and (-webkit-column-progression: normal))){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] img, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] svg|svg, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] video, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] img, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] svg|svg, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] video, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div{ zoom:calc(100% / var(--USER__fontSize)); } } diff --git a/css/dist/rtl/ReadiumCSS-after.css b/css/dist/rtl/ReadiumCSS-after.css index 16abc94..c48eb7a 100644 --- a/css/dist/rtl/ReadiumCSS-after.css +++ b/css/dist/rtl/ReadiumCSS-after.css @@ -75,27 +75,27 @@ body{ box-sizing:border-box; } -:root:not([style*="readium-scroll-on"]) body{ +:root:not(:is([style*="readium-scroll-on"])) body{ padding:0 var(--RS__pageGutter) !important; } -:root:not([style*="readium-noOverflow-on"]) body{ +:root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:hidden; } @supports (overflow: clip){ - :root:not([style*="readium-noOverflow-on"]){ + :root:not(:is([style*="readium-noOverflow-on"])){ overflow:clip; } - :root:not([style*="readium-noOverflow-on"]) body{ + :root:not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; overflow-clip-margin:content-box; } } -:root[style*="readium-scroll-on"]{ +:root:is([style*="readium-scroll-on"]){ -webkit-columns:auto auto !important; -moz-columns:auto auto !important; columns:auto auto !important; @@ -107,39 +107,39 @@ body{ min-height:0 !important; } -:root[style*="readium-scroll-on"] body{ +:root:is([style*="readium-scroll-on"]) body{ max-width:var(--RS__defaultLineLength) !important; box-sizing:border-box !important; } -:root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ +:root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:auto; } @supports (overflow: clip){ - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]){ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])){ overflow:auto; } - :root[style*="readium-scroll-on"]:not([style*="readium-noOverflow-on"]) body{ + :root:is([style*="readium-scroll-on"]):not(:is([style*="readium-noOverflow-on"])) body{ overflow:clip; } } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingTop"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingTop"] body{ padding-top:var(--RS__scrollPaddingTop) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingBottom"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingBottom"] body{ padding-bottom:var(--RS__scrollPaddingBottom) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingLeft"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingLeft"] body{ padding-left:var(--RS__scrollPaddingLeft) !important; } -:root[style*="readium-scroll-on"][style*="--RS__scrollPaddingRight"] body{ +:root:is([style*="readium-scroll-on"])[style*="--RS__scrollPaddingRight"] body{ padding-right:var(--RS__scrollPaddingRight) !important; } @@ -222,9 +222,9 @@ body{ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ), :root[style*="--USER__textAlign"] li, :root[style*="--USER__textAlign"] dd{ @@ -242,36 +242,36 @@ body{ font-family:revert !important; } -:root:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] body{ zoom:var(--USER__fontSize) !important; } -:root:not([style*="readium-deprecatedFontSize-on"])[style*="readium-iOSPatch-on"][style*="--USER__fontSize"] body{ +:root:not(:is([style*="readium-deprecatedFontSize-on"])):is([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] body{ -webkit-text-size-adjust:var(--USER__fontSize) !important; } @supports selector(figure:has(> img)){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> img), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> video), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> svg), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> canvas), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> iframe), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figure:has(> audio), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> img:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> video:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> svg:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> canvas:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> iframe:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] div:has(> audio:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] table{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> img), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> video), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> svg), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> canvas), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> iframe), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figure:has(> audio), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> img:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> video:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> svg:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> canvas:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> iframe:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] div:has(> audio:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] table{ zoom:calc(100% / var(--USER__fontSize)) !important; } - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] figcaption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] caption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] td, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] th{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] figcaption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] caption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] td, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] th{ zoom:var(--USER__fontSize) !important; } } @@ -283,7 +283,7 @@ body{ } } -:root[style*="readium-deprecatedFontSize-on"][style*="--USER__fontSize"]{ +:root:is([style*="readium-deprecatedFontSize-on"])[style*="--USER__fontSize"]{ font-size:var(--USER__fontSize) !important; } @@ -308,9 +308,9 @@ body{ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ){ text-indent:var(--USER__paraIndent) !important; } @@ -358,8 +358,8 @@ body{ font-optical-sizing:var(--USER__fontOpticalSizing) !important; } -:root[style*="readium-blend-on"] svg, -:root[style*="readium-blend-on"] img{ +:root:is([style*="readium-blend-on"]) svg, +:root:is([style*="readium-blend-on"]) img{ background-color:transparent !important; mix-blend-mode:multiply !important; } @@ -369,7 +369,7 @@ body{ filter:brightness(var(--USER__darkenImages)) !important; } -:root[style*="readium-darken-on"] img{ +:root:is([style*="readium-darken-on"]) img{ -webkit-filter:brightness(80%) !important; filter:brightness(80%) !important; } @@ -379,7 +379,7 @@ body{ filter:invert(var(--USER__invertImages)) !important; } -:root[style*="readium-invert-on"] img{ +:root:is([style*="readium-invert-on"]) img{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } @@ -389,17 +389,17 @@ body{ filter:brightness(var(--USER__darkenImages)) invert(var(--USER__invertImages)) !important; } -:root[style*="readium-darken-on"][style*="--USER__invertImages"] img{ +:root:is([style*="readium-darken-on"])[style*="--USER__invertImages"] img{ -webkit-filter:brightness(80%) invert(var(--USER__invertImages)) !important; filter:brightness(80%) invert(var(--USER__invertImages)) !important; } -:root[style*="--USER__darkenImages"][style*="readium-invert-on"] img{ +:root[style*="--USER__darkenImages"]:is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(var(--USER__darkenImages)) invert(100%) !important; filter:brightness(var(--USER__darkenImages)) invert(100%) !important; } -:root[style*="readium-darken-on"][style*="readium-invert-on"] img{ +:root:is([style*="readium-darken-on"]):is([style*="readium-invert-on"]) img{ -webkit-filter:brightness(80%) invert(100%) !important; filter:brightness(80%) invert(100%) !important; } @@ -409,116 +409,116 @@ body{ filter:invert(var(--USER__invertGaiji)) !important; } -:root[style*="readium-invertGaiji-on"] img[class*="gaiji"]{ +:root:is([style*="readium-invertGaiji-on"]) img[class*="gaiji"]{ -webkit-filter:invert(100%) !important; filter:invert(100%) !important; } -:root[style*="readium-normalize-on"]{ +:root:is([style*="readium-normalize-on"]){ --USER__typeScale:1.2; } -:root[style*="readium-normalize-on"] p, -:root[style*="readium-normalize-on"] li, -:root[style*="readium-normalize-on"] div, -:root[style*="readium-normalize-on"] pre, -:root[style*="readium-normalize-on"] dd{ +:root:is([style*="readium-normalize-on"]) p, +:root:is([style*="readium-normalize-on"]) li, +:root:is([style*="readium-normalize-on"]) div, +:root:is([style*="readium-normalize-on"]) pre, +:root:is([style*="readium-normalize-on"]) dd{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] h1{ +:root:is([style*="readium-normalize-on"]) h1{ font-size:1.75rem !important; font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h2{ +:root:is([style*="readium-normalize-on"]) h2{ font-size:1.5rem !important; font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h3{ +:root:is([style*="readium-normalize-on"]) h3{ font-size:1.25rem !important; font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"] h4, -:root[style*="readium-normalize-on"] h5, -:root[style*="readium-normalize-on"] h6{ +:root:is([style*="readium-normalize-on"]) h4, +:root:is([style*="readium-normalize-on"]) h5, +:root:is([style*="readium-normalize-on"]) h6{ font-size:1rem !important; } -:root[style*="readium-normalize-on"] small{ +:root:is([style*="readium-normalize-on"]) small{ font-size:smaller !important; } -:root[style*="readium-normalize-on"] sub, -:root[style*="readium-normalize-on"] sup{ +:root:is([style*="readium-normalize-on"]) sub, +:root:is([style*="readium-normalize-on"]) sup{ font-size:67.5% !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h1{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h1{ font-size:calc(((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h2{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h2{ font-size:calc((1rem * var(--USER__typeScale)) * var(--USER__typeScale)) !important; } -:root[style*="readium-normalize-on"][style*="--USER__typeScale"] h3{ +:root:is([style*="readium-normalize-on"])[style*="--USER__typeScale"] h3{ font-size:calc(1rem * var(--USER__typeScale)) !important; } -:root[style*="readium-iPadOSPatch-on"] body{ +:root:is([style*="readium-iPadOSPatch-on"]) body{ -webkit-text-size-adjust:none; } -:root[style*="readium-iPadOSPatch-on"] p, -:root[style*="readium-iPadOSPatch-on"] h1, -:root[style*="readium-iPadOSPatch-on"] h2, -:root[style*="readium-iPadOSPatch-on"] h3, -:root[style*="readium-iPadOSPatch-on"] h4, -:root[style*="readium-iPadOSPatch-on"] h5, -:root[style*="readium-iPadOSPatch-on"] h6, -:root[style*="readium-iPadOSPatch-on"] li, -:root[style*="readium-iPadOSPatch-on"] th, -:root[style*="readium-iPadOSPatch-on"] td, -:root[style*="readium-iPadOSPatch-on"] dt, -:root[style*="readium-iPadOSPatch-on"] dd, -:root[style*="readium-iPadOSPatch-on"] pre, -:root[style*="readium-iPadOSPatch-on"] address, -:root[style*="readium-iPadOSPatch-on"] details, -:root[style*="readium-iPadOSPatch-on"] summary, -:root[style*="readium-iPadOSPatch-on"] figcaption, -:root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), -:root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ +:root:is([style*="readium-iPadOSPatch-on"]) p, +:root:is([style*="readium-iPadOSPatch-on"]) h1, +:root:is([style*="readium-iPadOSPatch-on"]) h2, +:root:is([style*="readium-iPadOSPatch-on"]) h3, +:root:is([style*="readium-iPadOSPatch-on"]) h4, +:root:is([style*="readium-iPadOSPatch-on"]) h5, +:root:is([style*="readium-iPadOSPatch-on"]) h6, +:root:is([style*="readium-iPadOSPatch-on"]) li, +:root:is([style*="readium-iPadOSPatch-on"]) th, +:root:is([style*="readium-iPadOSPatch-on"]) td, +:root:is([style*="readium-iPadOSPatch-on"]) dt, +:root:is([style*="readium-iPadOSPatch-on"]) dd, +:root:is([style*="readium-iPadOSPatch-on"]) pre, +:root:is([style*="readium-iPadOSPatch-on"]) address, +:root:is([style*="readium-iPadOSPatch-on"]) details, +:root:is([style*="readium-iPadOSPatch-on"]) summary, +:root:is([style*="readium-iPadOSPatch-on"]) figcaption, +:root:is([style*="readium-iPadOSPatch-on"]) div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), +:root:is([style*="readium-iPadOSPatch-on"]) aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ -webkit-text-zoom:reset; } -:root[style*="readium-iPadOSPatch-on"] abbr, -:root[style*="readium-iPadOSPatch-on"] b, -:root[style*="readium-iPadOSPatch-on"] bdi, -:root[style*="readium-iPadOSPatch-on"] bdo, -:root[style*="readium-iPadOSPatch-on"] cite, -:root[style*="readium-iPadOSPatch-on"] code, -:root[style*="readium-iPadOSPatch-on"] dfn, -:root[style*="readium-iPadOSPatch-on"] em, -:root[style*="readium-iPadOSPatch-on"] i, -:root[style*="readium-iPadOSPatch-on"] kbd, -:root[style*="readium-iPadOSPatch-on"] mark, -:root[style*="readium-iPadOSPatch-on"] q, -:root[style*="readium-iPadOSPatch-on"] rp, -:root[style*="readium-iPadOSPatch-on"] rt, -:root[style*="readium-iPadOSPatch-on"] ruby, -:root[style*="readium-iPadOSPatch-on"] s, -:root[style*="readium-iPadOSPatch-on"] samp, -:root[style*="readium-iPadOSPatch-on"] small, -:root[style*="readium-iPadOSPatch-on"] span, -:root[style*="readium-iPadOSPatch-on"] strong, -:root[style*="readium-iPadOSPatch-on"] sub, -:root[style*="readium-iPadOSPatch-on"] sup, -:root[style*="readium-iPadOSPatch-on"] time, -:root[style*="readium-iPadOSPatch-on"] u, -:root[style*="readium-iPadOSPatch-on"] var{ +:root:is([style*="readium-iPadOSPatch-on"]) abbr, +:root:is([style*="readium-iPadOSPatch-on"]) b, +:root:is([style*="readium-iPadOSPatch-on"]) bdi, +:root:is([style*="readium-iPadOSPatch-on"]) bdo, +:root:is([style*="readium-iPadOSPatch-on"]) cite, +:root:is([style*="readium-iPadOSPatch-on"]) code, +:root:is([style*="readium-iPadOSPatch-on"]) dfn, +:root:is([style*="readium-iPadOSPatch-on"]) em, +:root:is([style*="readium-iPadOSPatch-on"]) i, +:root:is([style*="readium-iPadOSPatch-on"]) kbd, +:root:is([style*="readium-iPadOSPatch-on"]) mark, +:root:is([style*="readium-iPadOSPatch-on"]) q, +:root:is([style*="readium-iPadOSPatch-on"]) rp, +:root:is([style*="readium-iPadOSPatch-on"]) rt, +:root:is([style*="readium-iPadOSPatch-on"]) ruby, +:root:is([style*="readium-iPadOSPatch-on"]) s, +:root:is([style*="readium-iPadOSPatch-on"]) samp, +:root:is([style*="readium-iPadOSPatch-on"]) small, +:root:is([style*="readium-iPadOSPatch-on"]) span, +:root:is([style*="readium-iPadOSPatch-on"]) strong, +:root:is([style*="readium-iPadOSPatch-on"]) sub, +:root:is([style*="readium-iPadOSPatch-on"]) sup, +:root:is([style*="readium-iPadOSPatch-on"]) time, +:root:is([style*="readium-iPadOSPatch-on"]) u, +:root:is([style*="readium-iPadOSPatch-on"]) var{ -webkit-text-zoom:normal; } diff --git a/css/dist/rtl/ReadiumCSS-before.css b/css/dist/rtl/ReadiumCSS-before.css index 460b031..918eebc 100644 --- a/css/dist/rtl/ReadiumCSS-before.css +++ b/css/dist/rtl/ReadiumCSS-before.css @@ -506,9 +506,9 @@ img, svg|svg, video{ @supports (zoom: 1) and (not ((-webkit-column-axis: horizontal) and (-webkit-column-progression: normal))){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] img, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] svg|svg, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-deprecatedFontSize-on"]):not([style*="readium-iOSPatch-on"])[style*="--USER__fontSize"] video{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] img, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] svg|svg, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-deprecatedFontSize-on"])):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__fontSize"] video{ zoom:calc(100% / var(--USER__fontSize)); } } diff --git a/css/dist/webPub/ReadiumCSS-webPub.css b/css/dist/webPub/ReadiumCSS-webPub.css index e2cf627..17c4149 100644 --- a/css/dist/webPub/ReadiumCSS-webPub.css +++ b/css/dist/webPub/ReadiumCSS-webPub.css @@ -23,9 +23,9 @@ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ), :root[style*="--USER__textAlign"] li, :root[style*="--USER__textAlign"] dd{ @@ -63,63 +63,63 @@ font-family:revert !important; } -:root[style*="readium-a11y-on"]{ +:root:is([style*="readium-a11y-on"]){ font-style:normal !important; font-weight:normal !important; } -:root[style*="readium-a11y-on"] body *:not(code):not(var):not(kbd):not(samp){ +:root:is([style*="readium-a11y-on"]) body *:not(code):not(var):not(kbd):not(samp){ font-family:inherit !important; font-style:inherit !important; font-weight:inherit !important; } -:root[style*="readium-a11y-on"] body *:not(a){ +:root:is([style*="readium-a11y-on"]) body *:not(a){ text-decoration:none !important; } -:root[style*="readium-a11y-on"] body *{ +:root:is([style*="readium-a11y-on"]) body *{ font-variant-caps:normal !important; font-variant-numeric:normal !important; font-variant-position:normal !important; } -:root[style*="readium-a11y-on"] sup, -:root[style*="readium-a11y-on"] sub{ +:root:is([style*="readium-a11y-on"]) sup, +:root:is([style*="readium-a11y-on"]) sub{ font-size:1rem !important; vertical-align:baseline !important; } -:root:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] body{ +:root:not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] body{ zoom:var(--USER__zoom) !important; } -:root[style*="readium-iOSPatch-on"][style*="--USER__zoom"] body{ +:root:is([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] body{ -webkit-text-size-adjust:var(--USER__zoom) !important; } @supports selector(figure:has(> img)){ - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> img), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> video), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> svg), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> canvas), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> iframe), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figure:has(> audio), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> img:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> video:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> svg:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> canvas:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> iframe:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] div:has(> audio:only-child), - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] table{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> img), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> video), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> svg), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> canvas), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> iframe), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figure:has(> audio), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> img:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> video:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> svg:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> canvas:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> iframe:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] div:has(> audio:only-child), + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] table{ zoom:calc(100% / var(--USER__zoom)) !important; } - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] figcaption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] caption, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] td, - :root[style*="readium-experimentalZoom-on"]:not([style*="readium-iOSPatch-on"])[style*="--USER__zoom"] th{ + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] figcaption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] caption, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] td, + :root:is([style*="readium-experimentalZoom-on"]):not(:is([style*="readium-iOSPatch-on"]))[style*="--USER__zoom"] th{ zoom:var(--USER__zoom) !important; } } @@ -145,9 +145,9 @@ figcaption p, header p, hgroup p, - :root[style*="readium-experimentalHeaderFiltering-on"] p[class*="title"], - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > h1 + p, - :root[style*="readium-experimentalHeaderFiltering-on"] div:has(+ *) > p:has(+ h1) + :root:is([style*="readium-experimentalHeaderFiltering-on"]) p[class*="title"], + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > h1 + p, + :root:is([style*="readium-experimentalHeaderFiltering-on"]) div:has(+ *) > p:has(+ h1) ){ text-indent:var(--USER__paraIndent) !important; } @@ -202,8 +202,8 @@ font-optical-sizing:var(--USER__fontOpticalSizing) !important; } -:root[style*="readium-noRuby-on"] body rt, -:root[style*="readium-noRuby-on"] body rp{ +:root:is([style*="readium-noRuby-on"]) body rt, +:root:is([style*="readium-noRuby-on"]) body rp{ display:none; } @@ -215,57 +215,57 @@ font-variant-ligatures:inherit !important; } -:root[style*="readium-iPadOSPatch-on"] body{ +:root:is([style*="readium-iPadOSPatch-on"]) body{ -webkit-text-size-adjust:none; } -:root[style*="readium-iPadOSPatch-on"] p, -:root[style*="readium-iPadOSPatch-on"] h1, -:root[style*="readium-iPadOSPatch-on"] h2, -:root[style*="readium-iPadOSPatch-on"] h3, -:root[style*="readium-iPadOSPatch-on"] h4, -:root[style*="readium-iPadOSPatch-on"] h5, -:root[style*="readium-iPadOSPatch-on"] h6, -:root[style*="readium-iPadOSPatch-on"] li, -:root[style*="readium-iPadOSPatch-on"] th, -:root[style*="readium-iPadOSPatch-on"] td, -:root[style*="readium-iPadOSPatch-on"] dt, -:root[style*="readium-iPadOSPatch-on"] dd, -:root[style*="readium-iPadOSPatch-on"] pre, -:root[style*="readium-iPadOSPatch-on"] address, -:root[style*="readium-iPadOSPatch-on"] details, -:root[style*="readium-iPadOSPatch-on"] summary, -:root[style*="readium-iPadOSPatch-on"] figcaption, -:root[style*="readium-iPadOSPatch-on"] div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), -:root[style*="readium-iPadOSPatch-on"] aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ +:root:is([style*="readium-iPadOSPatch-on"]) p, +:root:is([style*="readium-iPadOSPatch-on"]) h1, +:root:is([style*="readium-iPadOSPatch-on"]) h2, +:root:is([style*="readium-iPadOSPatch-on"]) h3, +:root:is([style*="readium-iPadOSPatch-on"]) h4, +:root:is([style*="readium-iPadOSPatch-on"]) h5, +:root:is([style*="readium-iPadOSPatch-on"]) h6, +:root:is([style*="readium-iPadOSPatch-on"]) li, +:root:is([style*="readium-iPadOSPatch-on"]) th, +:root:is([style*="readium-iPadOSPatch-on"]) td, +:root:is([style*="readium-iPadOSPatch-on"]) dt, +:root:is([style*="readium-iPadOSPatch-on"]) dd, +:root:is([style*="readium-iPadOSPatch-on"]) pre, +:root:is([style*="readium-iPadOSPatch-on"]) address, +:root:is([style*="readium-iPadOSPatch-on"]) details, +:root:is([style*="readium-iPadOSPatch-on"]) summary, +:root:is([style*="readium-iPadOSPatch-on"]) figcaption, +:root:is([style*="readium-iPadOSPatch-on"]) div:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)), +:root:is([style*="readium-iPadOSPatch-on"]) aside:not(:has(p, h1, h2, h3, h4, h5, h6, li, th, td, dt, dd, pre, address, aside, details, figcaption, summary)){ -webkit-text-zoom:reset; } -:root[style*="readium-iPadOSPatch-on"] abbr, -:root[style*="readium-iPadOSPatch-on"] b, -:root[style*="readium-iPadOSPatch-on"] bdi, -:root[style*="readium-iPadOSPatch-on"] bdo, -:root[style*="readium-iPadOSPatch-on"] cite, -:root[style*="readium-iPadOSPatch-on"] code, -:root[style*="readium-iPadOSPatch-on"] dfn, -:root[style*="readium-iPadOSPatch-on"] em, -:root[style*="readium-iPadOSPatch-on"] i, -:root[style*="readium-iPadOSPatch-on"] kbd, -:root[style*="readium-iPadOSPatch-on"] mark, -:root[style*="readium-iPadOSPatch-on"] q, -:root[style*="readium-iPadOSPatch-on"] rp, -:root[style*="readium-iPadOSPatch-on"] rt, -:root[style*="readium-iPadOSPatch-on"] ruby, -:root[style*="readium-iPadOSPatch-on"] s, -:root[style*="readium-iPadOSPatch-on"] samp, -:root[style*="readium-iPadOSPatch-on"] small, -:root[style*="readium-iPadOSPatch-on"] span, -:root[style*="readium-iPadOSPatch-on"] strong, -:root[style*="readium-iPadOSPatch-on"] sub, -:root[style*="readium-iPadOSPatch-on"] sup, -:root[style*="readium-iPadOSPatch-on"] time, -:root[style*="readium-iPadOSPatch-on"] u, -:root[style*="readium-iPadOSPatch-on"] var{ +:root:is([style*="readium-iPadOSPatch-on"]) abbr, +:root:is([style*="readium-iPadOSPatch-on"]) b, +:root:is([style*="readium-iPadOSPatch-on"]) bdi, +:root:is([style*="readium-iPadOSPatch-on"]) bdo, +:root:is([style*="readium-iPadOSPatch-on"]) cite, +:root:is([style*="readium-iPadOSPatch-on"]) code, +:root:is([style*="readium-iPadOSPatch-on"]) dfn, +:root:is([style*="readium-iPadOSPatch-on"]) em, +:root:is([style*="readium-iPadOSPatch-on"]) i, +:root:is([style*="readium-iPadOSPatch-on"]) kbd, +:root:is([style*="readium-iPadOSPatch-on"]) mark, +:root:is([style*="readium-iPadOSPatch-on"]) q, +:root:is([style*="readium-iPadOSPatch-on"]) rp, +:root:is([style*="readium-iPadOSPatch-on"]) rt, +:root:is([style*="readium-iPadOSPatch-on"]) ruby, +:root:is([style*="readium-iPadOSPatch-on"]) s, +:root:is([style*="readium-iPadOSPatch-on"]) samp, +:root:is([style*="readium-iPadOSPatch-on"]) small, +:root:is([style*="readium-iPadOSPatch-on"]) span, +:root:is([style*="readium-iPadOSPatch-on"]) strong, +:root:is([style*="readium-iPadOSPatch-on"]) sub, +:root:is([style*="readium-iPadOSPatch-on"]) sup, +:root:is([style*="readium-iPadOSPatch-on"]) time, +:root:is([style*="readium-iPadOSPatch-on"]) u, +:root:is([style*="readium-iPadOSPatch-on"]) var{ -webkit-text-zoom:normal; }