{"action":"created","comment":{"url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments/59126609","id":59126609,"diff_hunk":"@@ -0,0 +1,118 @@\n+//********************************************************\n+// 18F.gsa.gov CUSTOM SASS\n+//********************************************************\n+\n+\n+// Print override styles\n+//********************************************************\n+body, p {\n+  font-size: 12pt;\n+}\n+\n+a {\n+  font-weight: 700;\n+}\n+\n+h1 {\n+  font-size: 20pt;\n+}\n+\n+.blog-posting, .blog-related {\n+  p a {\n+    &:link:after, &:visited:after, {\n+      content: \" (\" attr(href) \")\";\n+      font-weight: normal;\n+      word-break: break-all;\n+    }\n+    &[href^=\"/\"]:after {\n+      content: \" (https://18f.gsa.gov\" attr(href) \") \";\n+    }\n+  }\n+}\n+\n+.blog-posting .blog-tags {\n+  a:link:after, a:visited:after {\n+    content: '';\n+  }\n+}\n+\n+.usa p {\n+  font-size: 10pt;\n+}\n+\n+.global-nav {\n+  float: none;\n+  ul {\n+    margin-right: 2em;\n+    li a {\n+      padding: 0.8em;\n+    }\n+  }\n+}\n+\n+.bare-logo {\n+  padding-top: 0;\n+}\n+\n+.blog-posting h1 {\n+  margin-top: 0;\n+}\n+\n+.bare h2 {\n+  font-size: 18pt;\n+  padding-top: 20px;\n+}\n+\n+.blog-pagination, .newsletter {\n+  display: none;\n+}\n+\n+.footer {\n+  background-color: #fff;\n+  border-top-width: 2px;\n+  padding-top: 5px;\n+  h1 {\n+    color: #06d;\n+  }\n+  a {\n+    color: #06d;\n+    font-size: 10pt;\n+    &[title=\"Edit this page\"] {\n+      &:link:after, &:visited:after {\n+        content: '';\n+      }\n+    }\n+  }\n+  .container {\n+    background-color: #fff;\n+    padding-top: 2em;\n+  }\n+  .usa-footer-primary-section .usa-grid-full {\n+    padding: 0 .5em;\n+  }\n+}\n+\n+.footer-content:first-child {\n+  a:link:after,\n+  a:visited:after{","path":"assets/_sass/_print.scss","position":97,"original_position":97,"commit_id":"f3ae092925d530f84b07bf6862fbbf49ae9c2dbb","original_commit_id":"f3ae092925d530f84b07bf6862fbbf49ae9c2dbb","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Opening curly brace `{` should be preceded by one space","created_at":"2016-04-10T04:25:03Z","updated_at":"2016-04-10T04:25:03Z","html_url":"https://github.com/18F/18f.gsa.gov/pull/1632#discussion_r59126609","pull_request_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632","_links":{"self":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments/59126609"},"html":{"href":"https://github.com/18F/18f.gsa.gov/pull/1632#discussion_r59126609"},"pull_request":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632"}}},"pull_request":{"url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632","id":65900665,"html_url":"https://github.com/18F/18f.gsa.gov/pull/1632","diff_url":"https://github.com/18F/18f.gsa.gov/pull/1632.diff","patch_url":"https://github.com/18F/18f.gsa.gov/pull/1632.patch","issue_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1632","number":1632,"state":"open","locked":false,"title":"print stylesheet","user":{"login":"llkats","id":578156,"avatar_url":"https://avatars.githubusercontent.com/u/578156?v=3","gravatar_id":"","url":"https://api.github.com/users/llkats","html_url":"https://github.com/llkats","followers_url":"https://api.github.com/users/llkats/followers","following_url":"https://api.github.com/users/llkats/following{/other_user}","gists_url":"https://api.github.com/users/llkats/gists{/gist_id}","starred_url":"https://api.github.com/users/llkats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llkats/subscriptions","organizations_url":"https://api.github.com/users/llkats/orgs","repos_url":"https://api.github.com/users/llkats/repos","events_url":"https://api.github.com/users/llkats/events{/privacy}","received_events_url":"https://api.github.com/users/llkats/received_events","type":"User","site_admin":false},"body":"Hello!\r\n\r\nI took a crack at writing a dedicated print stylesheet for #1606. Following the linked resources, this stylesheet addresses:\r\n\r\n- retaining header and footer links\r\n- retaining all images\r\n- printing links in the main content in bold with URLs\r\n- removing background colors and re-applying suitable font colors\r\n- applying `pt` font sizes to text\r\n\r\nI ran into a few issues. In trying to write nested media query rules, I discovered that Nest does not appear to natively support print media queries (please see this recent issue which describes the problem: https://github.com/thoughtbot/neat/issues/435). I was unsure if or where to write a custom mixin, and so attempted to make a separate stylesheet. In doing so, I was unable to figure out how to get `sass` to compile the stylesheet automatically, so I've been running `sass` from the command line.\r\n\r\nSo, this PR includes the separate stylesheet, but I'd be happy to refactor to nest the print styles in their rules with a little guidance on the best way to write the media queries inline. If the separate stylesheet is acceptable, then please let me know how to get the stylesheet built automatically on change. I've tried to adhere to the code style guide and write the visual styles in the spirit of the current site's design, but please let me know any and all feedback!\r\n\r\nI tested the print preview in OS X Chrome, Firefox, and Safari. Here's an image of the final result that I made from the Chrome Print Preview screen: ![print-example](https://cloud.githubusercontent.com/assets/578156/14408017/8ebf0da0-fe96-11e5-91a6-c37071de052a.png)\r\n","created_at":"2016-04-10T04:24:59Z","updated_at":"2016-04-10T04:25:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74b7f571f6579601a988959856a0812aaeb20ad5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632/commits","review_comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632/comments","review_comment_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1632/comments","statuses_url":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/f3ae092925d530f84b07bf6862fbbf49ae9c2dbb","head":{"label":"llkats:print-stylesheet","ref":"print-stylesheet","sha":"f3ae092925d530f84b07bf6862fbbf49ae9c2dbb","user":{"login":"llkats","id":578156,"avatar_url":"https://avatars.githubusercontent.com/u/578156?v=3","gravatar_id":"","url":"https://api.github.com/users/llkats","html_url":"https://github.com/llkats","followers_url":"https://api.github.com/users/llkats/followers","following_url":"https://api.github.com/users/llkats/following{/other_user}","gists_url":"https://api.github.com/users/llkats/gists{/gist_id}","starred_url":"https://api.github.com/users/llkats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llkats/subscriptions","organizations_url":"https://api.github.com/users/llkats/orgs","repos_url":"https://api.github.com/users/llkats/repos","events_url":"https://api.github.com/users/llkats/events{/privacy}","received_events_url":"https://api.github.com/users/llkats/received_events","type":"User","site_admin":false},"repo":{"id":55870316,"name":"18f.gsa.gov","full_name":"llkats/18f.gsa.gov","owner":{"login":"llkats","id":578156,"avatar_url":"https://avatars.githubusercontent.com/u/578156?v=3","gravatar_id":"","url":"https://api.github.com/users/llkats","html_url":"https://github.com/llkats","followers_url":"https://api.github.com/users/llkats/followers","following_url":"https://api.github.com/users/llkats/following{/other_user}","gists_url":"https://api.github.com/users/llkats/gists{/gist_id}","starred_url":"https://api.github.com/users/llkats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llkats/subscriptions","organizations_url":"https://api.github.com/users/llkats/orgs","repos_url":"https://api.github.com/users/llkats/repos","events_url":"https://api.github.com/users/llkats/events{/privacy}","received_events_url":"https://api.github.com/users/llkats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/llkats/18f.gsa.gov","description":"This repository contains 18F's website.","fork":true,"url":"https://api.github.com/repos/llkats/18f.gsa.gov","forks_url":"https://api.github.com/repos/llkats/18f.gsa.gov/forks","keys_url":"https://api.github.com/repos/llkats/18f.gsa.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/llkats/18f.gsa.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/llkats/18f.gsa.gov/teams","hooks_url":"https://api.github.com/repos/llkats/18f.gsa.gov/hooks","issue_events_url":"https://api.github.com/repos/llkats/18f.gsa.gov/issues/events{/number}","events_url":"https://api.github.com/repos/llkats/18f.gsa.gov/events","assignees_url":"https://api.github.com/repos/llkats/18f.gsa.gov/assignees{/user}","branches_url":"https://api.github.com/repos/llkats/18f.gsa.gov/branches{/branch}","tags_url":"https://api.github.com/repos/llkats/18f.gsa.gov/tags","blobs_url":"https://api.github.com/repos/llkats/18f.gsa.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/llkats/18f.gsa.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/llkats/18f.gsa.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/llkats/18f.gsa.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/llkats/18f.gsa.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/llkats/18f.gsa.gov/languages","stargazers_url":"https://api.github.com/repos/llkats/18f.gsa.gov/stargazers","contributors_url":"https://api.github.com/repos/llkats/18f.gsa.gov/contributors","subscribers_url":"https://api.github.com/repos/llkats/18f.gsa.gov/subscribers","subscription_url":"https://api.github.com/repos/llkats/18f.gsa.gov/subscription","commits_url":"https://api.github.com/repos/llkats/18f.gsa.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/llkats/18f.gsa.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/llkats/18f.gsa.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/llkats/18f.gsa.gov/issues/comments{/number}","contents_url":"https://api.github.com/repos/llkats/18f.gsa.gov/contents/{+path}","compare_url":"https://api.github.com/repos/llkats/18f.gsa.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/llkats/18f.gsa.gov/merges","archive_url":"https://api.github.com/repos/llkats/18f.gsa.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/llkats/18f.gsa.gov/downloads","issues_url":"https://api.github.com/repos/llkats/18f.gsa.gov/issues{/number}","pulls_url":"https://api.github.com/repos/llkats/18f.gsa.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/llkats/18f.gsa.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/llkats/18f.gsa.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/llkats/18f.gsa.gov/labels{/name}","releases_url":"https://api.github.com/repos/llkats/18f.gsa.gov/releases{/id}","deployments_url":"https://api.github.com/repos/llkats/18f.gsa.gov/deployments","created_at":"2016-04-09T22:45:45Z","updated_at":"2016-04-09T22:45:47Z","pushed_at":"2016-04-10T03:10:22Z","git_url":"git://github.com/llkats/18f.gsa.gov.git","ssh_url":"git@github.com:llkats/18f.gsa.gov.git","clone_url":"https://github.com/llkats/18f.gsa.gov.git","svn_url":"https://github.com/llkats/18f.gsa.gov","homepage":"https://18f.gsa.gov","size":203306,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"18F:staging","ref":"staging","sha":"e1c84e6c8e725905740b0a7b979bab7998379f83","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":17324120,"name":"18f.gsa.gov","full_name":"18F/18f.gsa.gov","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/18f.gsa.gov","description":"This repository contains 18F's website.","fork":false,"url":"https://api.github.com/repos/18F/18f.gsa.gov","forks_url":"https://api.github.com/repos/18F/18f.gsa.gov/forks","keys_url":"https://api.github.com/repos/18F/18f.gsa.gov/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/18f.gsa.gov/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/18f.gsa.gov/teams","hooks_url":"https://api.github.com/repos/18F/18f.gsa.gov/hooks","issue_events_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/events{/number}","events_url":"https://api.github.com/repos/18F/18f.gsa.gov/events","assignees_url":"https://api.github.com/repos/18F/18f.gsa.gov/assignees{/user}","branches_url":"https://api.github.com/repos/18F/18f.gsa.gov/branches{/branch}","tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/tags","blobs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/18f.gsa.gov/languages","stargazers_url":"https://api.github.com/repos/18F/18f.gsa.gov/stargazers","contributors_url":"https://api.github.com/repos/18F/18f.gsa.gov/contributors","subscribers_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscribers","subscription_url":"https://api.github.com/repos/18F/18f.gsa.gov/subscription","commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/18f.gsa.gov/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/18f.gsa.gov/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/18f.gsa.gov/contents/{+path}","compare_url":"https://api.github.com/repos/18F/18f.gsa.gov/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/18f.gsa.gov/merges","archive_url":"https://api.github.com/repos/18F/18f.gsa.gov/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/18f.gsa.gov/downloads","issues_url":"https://api.github.com/repos/18F/18f.gsa.gov/issues{/number}","pulls_url":"https://api.github.com/repos/18F/18f.gsa.gov/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/18f.gsa.gov/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/18f.gsa.gov/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/18f.gsa.gov/labels{/name}","releases_url":"https://api.github.com/repos/18F/18f.gsa.gov/releases{/id}","deployments_url":"https://api.github.com/repos/18F/18f.gsa.gov/deployments","created_at":"2014-03-01T20:57:14Z","updated_at":"2016-04-05T17:48:28Z","pushed_at":"2016-04-10T04:24:59Z","git_url":"git://github.com/18F/18f.gsa.gov.git","ssh_url":"git@github.com:18F/18f.gsa.gov.git","clone_url":"https://github.com/18F/18f.gsa.gov.git","svn_url":"https://github.com/18F/18f.gsa.gov","homepage":"https://18f.gsa.gov","size":203693,"stargazers_count":137,"watchers_count":137,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":180,"mirror_url":null,"open_issues_count":75,"forks":180,"open_issues":75,"watchers":137,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632"},"html":{"href":"https://github.com/18F/18f.gsa.gov/pull/1632"},"issue":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1632"},"comments":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/issues/1632/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/pulls/1632/commits"},"statuses":{"href":"https://api.github.com/repos/18F/18f.gsa.gov/statuses/f3ae092925d530f84b07bf6862fbbf49ae9c2dbb"}}}}