Something like that:
Code: Select all
case 'css':
if (strpos($eventData, '.serendipity_oembed')) {
// class exists in CSS, so a user has customized it and we don't need default
// (doesn't work with templates like BP or 2k11 as the user css is loaded from a seperate file)
return true;
}
// patch some extra css here
Is there something we can do about that? Have we at all? I guess it's not that bad, as css entries of the users css are evaluated later by the browser and will overwrite the internal css classes (so I hope at least), but it would be cool, not to emit the internal css at all then.