{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/46900","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/46900/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/46900/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/46900/events","html_url":"https://github.com/rust-lang/rust/issues/46900","id":283803491,"number":46900,"title":"rustdoc: kbd style rules","user":{"login":"hellow554","id":921462,"avatar_url":"https://avatars3.githubusercontent.com/u/921462?v=4","gravatar_id":"","url":"https://api.github.com/users/hellow554","html_url":"https://github.com/hellow554","followers_url":"https://api.github.com/users/hellow554/followers","following_url":"https://api.github.com/users/hellow554/following{/other_user}","gists_url":"https://api.github.com/users/hellow554/gists{/gist_id}","starred_url":"https://api.github.com/users/hellow554/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellow554/subscriptions","organizations_url":"https://api.github.com/users/hellow554/orgs","repos_url":"https://api.github.com/users/hellow554/repos","events_url":"https://api.github.com/users/hellow554/events{/privacy}","received_events_url":"https://api.github.com/users/hellow554/received_events","type":"User","site_admin":false},"labels":[{"id":203738,"url":"https://api.github.com/repos/rust-lang/rust/labels/A-rustdoc","name":"A-rustdoc","color":"d7e102","default":false},{"id":234902,"url":"https://api.github.com/repos/rust-lang/rust/labels/C-enhancement","name":"C-enhancement","color":"f5f1fd","default":false},{"id":431251592,"url":"https://api.github.com/repos/rust-lang/rust/labels/T-doc","name":"T-doc","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2017-12-21T08:12:53Z","updated_at":"2018-02-04T11:55:59Z","closed_at":"2018-02-04T11:55:59Z","author_association":"CONTRIBUTOR","body":"Hi everyone,\r\n\r\nI documented a struct which uses keyboard commands during runtime to do something and I noticed that it looks not as nice as it could be, so I looked around and compared different kbd styles on the internet.\r\nI compare here the github style (<kbd>A</kbd>), [Stackexchange](https://meta.superuser.com/questions/4788/css-for-the-new-kbd-style) and [Bootstrap (v4)](https://v4-alpha.getbootstrap.com/content/code/#user-input)\r\n\r\n![compare](https://user-images.githubusercontent.com/921462/34246368-993bfd5c-e62e-11e7-87a5-c393a6559ec8.png)\r\n\r\nWhich of these styles do you prefer? I would go with the github style, because it's looks nice and clean without any padding. Maybe one could increase the font size.\r\n\r\nI would also do a PR, but I wanted to discuss the style before I do that.\r\n\r\nSo, what are your thoughts? Do you have any different style in mind? To which elements should the rule apply? To all \\<kbd\\> tags or just tags inside a `docblock`? "}}
{"actor":{"display_login":"GuillaumeGomez"}}