Skip to content

suppress CSS#21

Open
alexfung888 wants to merge 4 commits intolarspetrus:masterfrom
alexfung888:alexfung4
Open

suppress CSS#21
alexfung888 wants to merge 4 commits intolarspetrus:masterfrom
alexfung888:alexfung4

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