{"action":"opened","issue":{"url":"https://api.github.com/repos/pakastin/deck-of-cards/issues/27","labels_url":"https://api.github.com/repos/pakastin/deck-of-cards/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/pakastin/deck-of-cards/issues/27/comments","events_url":"https://api.github.com/repos/pakastin/deck-of-cards/issues/27/events","html_url":"https://github.com/pakastin/deck-of-cards/issues/27","id":119776507,"number":27,"title":"Make it easier to change card sizes","user":{"login":"mizzao","id":2080084,"avatar_url":"https://avatars.githubusercontent.com/u/2080084?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzao","html_url":"https://github.com/mizzao","followers_url":"https://api.github.com/users/mizzao/followers","following_url":"https://api.github.com/users/mizzao/following{/other_user}","gists_url":"https://api.github.com/users/mizzao/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzao/subscriptions","organizations_url":"https://api.github.com/users/mizzao/orgs","repos_url":"https://api.github.com/users/mizzao/repos","events_url":"https://api.github.com/users/mizzao/events{/privacy}","received_events_url":"https://api.github.com/users/mizzao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-01T18:17:04Z","updated_at":"2015-12-01T18:17:04Z","closed_at":null,"body":"Right now the card sizes (including font) can be only be changed by setting `html { font-size: 200% }`, etc. This is because of the `rem` units used to determine the card size, which are [relative to the document root](https://css-tricks.com/theres-more-to-the-css-rem-unit-than-font-sizing/).\r\n\r\nIt seems that this could be fixed by simply using `em` units; then one could insert cards to a `div.deck` or something like that and just set `.deck { font-size: whatever }`. Is there anything else that might need to be changed for this?\r\n\r\nOriginally mentioned at https://github.com/pakastin/deck-of-cards/issues/8#issuecomment-160808300."}}