From 11042b31ed1a7675e8cbc125068e30cd37164b89 Mon Sep 17 00:00:00 2001 From: HandyRandyx Date: Wed, 24 Jul 2024 13:18:32 -0300 Subject: [PATCH] [Hot Cards] Add Holo style preset and fix display on mobile (#371) --- plugins/hotCards/README.md | 74 +++++++------ plugins/hotCards/assets/holo.png | Bin 0 -> 195019 bytes plugins/hotCards/assets/illusion.webp | Bin 0 -> 130594 bytes plugins/hotCards/hotCards.css | 139 +++++++++++++++++++++++- plugins/hotCards/hotCards.js | 149 +++++++++++++++++++++++--- plugins/hotCards/hotCards.yml | 2 +- 6 files changed, 317 insertions(+), 47 deletions(-) create mode 100644 plugins/hotCards/assets/holo.png create mode 100644 plugins/hotCards/assets/illusion.webp diff --git a/plugins/hotCards/README.md b/plugins/hotCards/README.md index 1db8815e..efe9e451 100644 --- a/plugins/hotCards/README.md +++ b/plugins/hotCards/README.md @@ -29,12 +29,10 @@ _[criterion]\_[value]\_[style]\_[gradient-opts]\_[hover-opts]\_[card-opts]_ | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `` | Defines the basis for applying styles. Use `t` for tag-based criteria, `r` for rating-based criteria, or `d` to disable. | If left empty, it will default to the global _Tag ID_ or _Rating Threshold_ as configured. If both options are enabled and unspecified, ~~the Tag ID will be used by default~~ both criteria will be used. | | `` | Specifies the exact value for the Tag ID or Rating Threshold to be used.

_Multiple values can be specified using a comma-separated list and slashes to delimit each set of criteria:_ `,.../,.../...` or `//...` | Defaults to the global _Tag ID_ or _Rating Threshold_ value.

**Important**: When dealing with tenths precision (e.g. 4.8, 3.25), map these to the 6-100 range and set the _Rating Threshold_ in that range. Thus, 4.8 would be 96, 3.25 would be 65, and so on.

See [this additional information](#regarding-multiple-values) on multiple values. | -| `