-
Notifications
You must be signed in to change notification settings - Fork 6
No-inherit mode #18
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
Comments
I think the inheritance is nice, but the way it currently works, if you visit http://gist.github.com
So, unfortunately, this means that any styles defined in
Does this seem more like what you're looking for? Then you can have global GitHub styles in |
I'm remiss to offer 'modes' since I think something like dotcss should have zero configuration. You install it, it serves CSS. That's it. |
No, that's not it. I want to avoid loading of the github.com styles on 2014-03-08 22:06 GMT+01:00 Andrew Stewart [email protected]:
Zlatan Vasović - ZDroid |
I've found having the subdomains load the root domain css more useful than not, and it's also the behaviour in defunkt/dotjs, so I'm opting to stick with that for now. If you really do want that behaviour, the most straightforward way (I think?) to get it would be to fork dotcss and apply a patch like this. |
I didn't thought about something like that. :D My idea was: dotcss should ignore parent domain styles if there is a subdomain styles that are in the file prefixed with underscore (or whatever prefix else). So, if there is a |
I actually really like the idea. |
There should be a way to avoid inheritance over subdomains.
E.g.
<prefix>g.yxqyang.asia.css
shouldn't apply to gist.github.com.The text was updated successfully, but these errors were encountered: