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

suppress CSS #21

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

suppress CSS #21

wants to merge 4 commits into from

Conversation

alexfung888
Copy link

By default, roofpig.js appends a stylesheet upon document.onload().
There is no method to override the default CSS, because the roofpig sheet gets highest priority.
With this patch, if web page has a CSS with title=roofpig, then roofpit will not insert its own CSS
refer to demo
fixes #16

…that the existing roofpig.js displays wrong colors at the START position when M/E/S slice moves or x//y/z rotations are involved.
if web page has a CSS with title=roofpig, then roofpit will not insert its own CSS
there is no other method to override the default CSS, because otherwise roofpig.js appends its own styles during document ready and gets highest priority.
refer to demo
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.

Separate css file
1 participant