Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add asciihero-dice-footer extension #92

Merged
merged 5 commits into from
Dec 9, 2023
Merged

Add asciihero-dice-footer extension #92

merged 5 commits into from
Dec 9, 2023

Conversation

mrombout
Copy link
Owner

@mrombout mrombout commented Dec 9, 2023

Adds two random dice to the page if asciihero-dice-footer attribute is enabled.

It does so by inserting a hidden element to each segment with a pair of random dice icons. Then CSS running(footer-die) is used to capture those elements to display using content: element(footer-die).

Fixes #57.

@mrombout mrombout merged commit c5242fa into main Dec 9, 2023
3 checks passed
@mrombout mrombout deleted the 57-dice-footer branch December 9, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Random dice in footer
1 participant