diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2021-12-08 22:15:51 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2021-12-08 22:15:51 +0100 |
| commit | 042517de6d966308c92f8607125383761f039bbe (patch) | |
| tree | 625e5bcc76f74d0a93c39193c7914142af343176 /scripts | |
| parent | a6b55828912d9da45dd5ef0765061cf9a9b69524 (diff) | |
| download | muhqs-game-042517de6d966308c92f8607125383761f039bbe.tar.gz muhqs-game-042517de6d966308c92f8607125383761f039bbe.zip | |
hover links: don't be pseudo fancy
TODO: be really fancy and position the popup properly
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/generate_card_hover_links.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_card_hover_links.py b/scripts/generate_card_hover_links.py index e86177ac..0a129f37 100755 --- a/scripts/generate_card_hover_links.py +++ b/scripts/generate_card_hover_links.py @@ -10,7 +10,7 @@ from data import CARDS_TO_SETS PATTERN = re.compile('\{\{(?P<card>.*?)\}\}') -CSS_STYLE = 'position: absolute; bottom: 0; left: 0; transform: translate(50%, 50%);' +CSS_STYLE = 'zindex: 100; position: absolute;' HOVERABLE_LINK = \ f'''<a href="{{link_target}}" |
