{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1841","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1841/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1841/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1841/events","html_url":"https://github.com/dita-ot/dita-ot/issues/1841","id":54735005,"number":1841,"title":"New plugin extension to add extra CSS to the base XHTML processing","user":{"login":"raducoravu","id":1005979,"avatar_url":"https://avatars.githubusercontent.com/u/1005979?v=3","gravatar_id":"","url":"https://api.github.com/users/raducoravu","html_url":"https://github.com/raducoravu","followers_url":"https://api.github.com/users/raducoravu/followers","following_url":"https://api.github.com/users/raducoravu/following{/other_user}","gists_url":"https://api.github.com/users/raducoravu/gists{/gist_id}","starred_url":"https://api.github.com/users/raducoravu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raducoravu/subscriptions","organizations_url":"https://api.github.com/users/raducoravu/orgs","repos_url":"https://api.github.com/users/raducoravu/repos","events_url":"https://api.github.com/users/raducoravu/events{/privacy}","received_events_url":"https://api.github.com/users/raducoravu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/feature","name":"feature","color":"02e10c"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/P2","name":"P2","color":"e102d8"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/xhtml","name":"xhtml","color":"84b6e8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-19T07:49:07Z","updated_at":"2015-01-19T14:20:03Z","closed_at":null,"body":"We have an useful extension \"dita.xsl.xhtml\" which can add XSLT stylesheets to the base XHTML processing.\r\nIdeally we could also have a \"dita.xsl.xhtml.css\" extension which would add a custom CSS to the XHTML-based outputs. The custom CSS would need to be automatically copied to the output folder + referenced correctly from all HTML output files.\r\n\r\nThis would allow a plugin which styles all XHTML-based outputs to contribute both XSLT templates and CSSs which match the new constructs it adds."},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/70498615","html_url":"https://github.com/dita-ot/dita-ot/issues/1841#issuecomment-70498615","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/1841","id":70498615,"user":{"login":"robander","id":1649639,"avatar_url":"https://avatars.githubusercontent.com/u/1649639?v=3","gravatar_id":"","url":"https://api.github.com/users/robander","html_url":"https://github.com/robander","followers_url":"https://api.github.com/users/robander/followers","following_url":"https://api.github.com/users/robander/following{/other_user}","gists_url":"https://api.github.com/users/robander/gists{/gist_id}","starred_url":"https://api.github.com/users/robander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robander/subscriptions","organizations_url":"https://api.github.com/users/robander/orgs","repos_url":"https://api.github.com/users/robander/repos","events_url":"https://api.github.com/users/robander/events{/privacy}","received_events_url":"https://api.github.com/users/robander/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T14:20:03Z","updated_at":"2015-01-19T14:20:03Z","body":"Nice idea. We've (not exactly) done this in the past when creating overrides for a specialization; in that case, the CSS is only referenced when the specialization is used for a specific XHTML output chunk, so we used some hacks to try and only copy it out when needed. I'm assuming for a \"dita.xsl.xhtml.css\" extension, it would be imported to all XHTML output files / always copied to output folder."}}