{"action":"created","issue":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/160","labels_url":"https://api.github.com/repos/processing-js/processing-js/issues/160/labels{/name}","comments_url":"https://api.github.com/repos/processing-js/processing-js/issues/160/comments","events_url":"https://api.github.com/repos/processing-js/processing-js/issues/160/events","html_url":"https://github.com/processing-js/processing-js/issues/160","id":63319197,"number":160,"title":"Allow custom styling of the Pjs console (via a targetable classname)","user":{"login":"teo1978","id":542107,"avatar_url":"https://avatars.githubusercontent.com/u/542107?v=3","gravatar_id":"","url":"https://api.github.com/users/teo1978","html_url":"https://github.com/teo1978","followers_url":"https://api.github.com/users/teo1978/followers","following_url":"https://api.github.com/users/teo1978/following{/other_user}","gists_url":"https://api.github.com/users/teo1978/gists{/gist_id}","starred_url":"https://api.github.com/users/teo1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teo1978/subscriptions","organizations_url":"https://api.github.com/users/teo1978/orgs","repos_url":"https://api.github.com/users/teo1978/repos","events_url":"https://api.github.com/users/teo1978/events{/privacy}","received_events_url":"https://api.github.com/users/teo1978/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing-js/processing-js/labels/enhancement","name":"enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-20T22:16:43Z","updated_at":"2015-05-05T20:04:32Z","closed_at":null,"body":"I honestly don't know whether this is an issue in processing.js or in the html I'm using which comes from JavaScript mode, so please don't hate me if it turns out to be in JavaScript Mode.\r\n\r\nSee:\r\nhttp://matteosistisette.com/pjs_test_instances/\r\nthe output frame on the bottom where print() and println() write their output has broken style which makes it almost unreadable."},"comment":{"url":"https://api.github.com/repos/processing-js/processing-js/issues/comments/99204767","html_url":"https://github.com/processing-js/processing-js/issues/160#issuecomment-99204767","issue_url":"https://api.github.com/repos/processing-js/processing-js/issues/160","id":99204767,"user":{"login":"teo1978","id":542107,"avatar_url":"https://avatars.githubusercontent.com/u/542107?v=3","gravatar_id":"","url":"https://api.github.com/users/teo1978","html_url":"https://github.com/teo1978","followers_url":"https://api.github.com/users/teo1978/followers","following_url":"https://api.github.com/users/teo1978/following{/other_user}","gists_url":"https://api.github.com/users/teo1978/gists{/gist_id}","starred_url":"https://api.github.com/users/teo1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teo1978/subscriptions","organizations_url":"https://api.github.com/users/teo1978/orgs","repos_url":"https://api.github.com/users/teo1978/repos","events_url":"https://api.github.com/users/teo1978/events{/privacy}","received_events_url":"https://api.github.com/users/teo1978/received_events","type":"User","site_admin":false},"created_at":"2015-05-05T20:04:32Z","updated_at":"2015-05-05T20:04:32Z","body":"Another note: those styles cannot be overridden by the user by adding a stylesheet (unless using \"!important\" which wouldn't seem very elegant and convenient), because yours is inserted after.\r\nI think it would be best to inject the style tag in the head and before any existing style tag in the page, so that any user-define style will prevail.\r\n\r\nBy the way, note you're generating a style tag inside the body without the 'scoped' attribute, which (I just learned) is invalid html. But this problem will disappear if you insert the style in the head.\r\n\r\nFinally, I would consider this issue more a bug than an enhancement, though I guess that doesn't matter much."}}