{"action":"created","comment":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/48496661","id":48496661,"diff_hunk":"@@ -0,0 +1,397 @@\n+<!doctype html>\n+<html ⚡>\n+<head>\n+  <meta charset=\"utf-8\">\n+  <title>Lorem Ipsum | PublisherName</title>\n+  <link rel=\"canonical\" href=\"amps.html\" >\n+  <meta name=\"viewport\" content=\"width=device-width,minimum-scale=1,initial-scale=1\">\n+  <link href='https://fonts.googleapis.com/css?family=Georgia|Open+Sans|Roboto' rel='stylesheet' type='text/css'>\n+  <style amp-custom>\n+    body {\n+      margin: 0;\n+      font-family: 'Georgia', Serif;\n+    }\n+\n+    .brand-logo {\n+      font-family: 'Open Sans';\n+    }\n+\n+    .ad-container {\n+      display: flex;\n+      justify-content: center;\n+    }\n+\n+    .content-container p {\n+      line-height: 24px;\n+    }\n+\n+    header,\n+    .article-body {\n+      padding: 15px;\n+    }\n+\n+    .lightbox {\n+      background: #222;\n+    }\n+\n+    .full-bleed {\n+      margin: 0 -15px;\n+    }\n+\n+    .lightbox-content {\n+      position: absolute;\n+      top: 0;\n+      left: 0;\n+      right: 0;\n+      bottom: 0;\n+\n+      display: flex;\n+      flex-direction: column;\n+      flex-wrap: nowrap;\n+      justify-content: center;\n+      align-items: center;\n+    }\n+\n+    .lightbox-content p {\n+      color: #fff;\n+      padding: 15px;\n+    }\n+\n+    .lightbox amp-img {\n+      width: 100%;\n+    }\n+\n+    figure {\n+      margin: 0;\n+    }\n+\n+    figcaption {\n+      color: #6f757a;\n+      padding: 15px 0;\n+      font-size: .9em;\n+    }\n+\n+    .author {\n+      display: flex;\n+      align-items: center;\n+\n+      background: #f4f4f4;\n+      padding: 0 15px;\n+\n+      font-size: .8em;\n+\n+      border: solid #dcdcdc;\n+      border-width: 1px 0;\n+    }\n+\n+    .header-time {\n+      color: #a8a3ae;\n+      font-family: 'Roboto';\n+      font-size: 12px;\n+    }\n+\n+    .author p {\n+      margin: 5px;\n+    }\n+\n+    .byline {\n+      font-family: 'Roboto';\n+      display: inline-block;\n+    }\n+\n+    .byline p {\n+      line-height: normal;\n+    }\n+\n+    .byline .brand {\n+      color: #6f757a;\n+    }\n+\n+    .standfirst {\n+      color: #6f757a;\n+    }\n+\n+    .mailto {\n+      text-decoration: none;\n+    }\n+\n+    #author-avatar {\n+      margin: 10px;\n+      border: 5px solid #fff;\n+      width: 50px;\n+      height: 50px;\n+      border-radius: 50%;\n+    }\n+\n+    h1 {\n+      margin: 5px 0;\n+      font-weight: normal;\n+    }\n+\n+    footer {\n+      display: flex;\n+      align-items: center;\n+      justify-content: center;\n+      height: 226px;\n+      background: #f4f4f4;\n+    }\n+\n+    hr {\n+      margin: 0;\n+    }\n+\n+    amp-img {\n+      background-color: #f4f4f4;\n+    }\n+\n+    amp-user-notification {\n+      min-height: 30px;\n+      font-family: 'Roboto';\n+      font-weight: 500;\n+      line-height: 30px;\n+      padding: 8px;\n+      background: #46b6ac;\n+    }\n+\n+    amp-user-notification button {\n+      border: none;\n+      border-radius: 2px;\n+      color: #fafafa;\n+      height: 26px;\n+      min-width: 32px;\n+      padding: 0 16px;\n+      margin: 0 16px;\n+      text-transform: uppercase;\n+      letter-spacing: 0;\n+      cursor: pointer;\n+      vertical-align: middle;\n+      line-height: 26px;\n+      text-align: center;\n+      background: #3f51b5;","path":"examples/user-notification.amp.html","position":170,"original_position":170,"commit_id":"92432988d9c0097c4fdd16e22f183d4cbbac427d","original_commit_id":"92432988d9c0097c4fdd16e22f183d4cbbac427d","user":{"login":"erwinmombay","id":354746,"avatar_url":"https://avatars.githubusercontent.com/u/354746?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinmombay","html_url":"https://github.com/erwinmombay","followers_url":"https://api.github.com/users/erwinmombay/followers","following_url":"https://api.github.com/users/erwinmombay/following{/other_user}","gists_url":"https://api.github.com/users/erwinmombay/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinmombay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinmombay/subscriptions","organizations_url":"https://api.github.com/users/erwinmombay/orgs","repos_url":"https://api.github.com/users/erwinmombay/repos","events_url":"https://api.github.com/users/erwinmombay/events{/privacy}","received_events_url":"https://api.github.com/users/erwinmombay/received_events","type":"User","site_admin":false},"body":"i usually put anything that affects box model + layout at the top. then everything else. (slightly follow SMACSS and https://speakerdeck.com/mdo/at-mdo-ular-css)","created_at":"2015-12-28T18:33:55Z","updated_at":"2015-12-28T18:33:55Z","html_url":"https://github.com/ampproject/amphtml/pull/1178#discussion_r48496661","pull_request_url":"https://api.github.com/repos/ampproject/amphtml/pulls/1178","_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments/48496661"},"html":{"href":"https://github.com/ampproject/amphtml/pull/1178#discussion_r48496661"},"pull_request":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/1178"}}},"pull_request":{"url":"https://api.github.com/repos/ampproject/amphtml/pulls/1178","id":53926257,"html_url":"https://github.com/ampproject/amphtml/pull/1178","diff_url":"https://github.com/ampproject/amphtml/pull/1178.diff","patch_url":"https://github.com/ampproject/amphtml/pull/1178.patch","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/1178","number":1178,"state":"open","locked":false,"title":"feature(amp-user-notification): add amp-user-notification element.","user":{"login":"erwinmombay","id":354746,"avatar_url":"https://avatars.githubusercontent.com/u/354746?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinmombay","html_url":"https://github.com/erwinmombay","followers_url":"https://api.github.com/users/erwinmombay/followers","following_url":"https://api.github.com/users/erwinmombay/following{/other_user}","gists_url":"https://api.github.com/users/erwinmombay/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinmombay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinmombay/subscriptions","organizations_url":"https://api.github.com/users/erwinmombay/orgs","repos_url":"https://api.github.com/users/erwinmombay/repos","events_url":"https://api.github.com/users/erwinmombay/events{/privacy}","received_events_url":"https://api.github.com/users/erwinmombay/received_events","type":"User","site_admin":false},"body":"Closes https://github.com/ampproject/amphtml/issues/902\r\n\r\ncouple of tasks i need to complete, writing down just so i dont forget.\r\n\r\n- [ ] add tag to validator\r\n- [ ] create nicer demo with transition to the next notification\r\n- [ ] finish style section\r\n- [x] document the notification queuing","created_at":"2015-12-17T02:10:13Z","updated_at":"2015-12-28T18:33:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"996c63394877ad9128deb6436cd01534eaffbf16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/amphtml/pulls/1178/commits","review_comments_url":"https://api.github.com/repos/ampproject/amphtml/pulls/1178/comments","review_comment_url":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/1178/comments","statuses_url":"https://api.github.com/repos/ampproject/amphtml/statuses/92432988d9c0097c4fdd16e22f183d4cbbac427d","head":{"label":"erwinmombay:amp-notify","ref":"amp-notify","sha":"92432988d9c0097c4fdd16e22f183d4cbbac427d","user":{"login":"erwinmombay","id":354746,"avatar_url":"https://avatars.githubusercontent.com/u/354746?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinmombay","html_url":"https://github.com/erwinmombay","followers_url":"https://api.github.com/users/erwinmombay/followers","following_url":"https://api.github.com/users/erwinmombay/following{/other_user}","gists_url":"https://api.github.com/users/erwinmombay/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinmombay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinmombay/subscriptions","organizations_url":"https://api.github.com/users/erwinmombay/orgs","repos_url":"https://api.github.com/users/erwinmombay/repos","events_url":"https://api.github.com/users/erwinmombay/events{/privacy}","received_events_url":"https://api.github.com/users/erwinmombay/received_events","type":"User","site_admin":false},"repo":{"id":43843790,"name":"amphtml","full_name":"erwinmombay/amphtml","owner":{"login":"erwinmombay","id":354746,"avatar_url":"https://avatars.githubusercontent.com/u/354746?v=3","gravatar_id":"","url":"https://api.github.com/users/erwinmombay","html_url":"https://github.com/erwinmombay","followers_url":"https://api.github.com/users/erwinmombay/followers","following_url":"https://api.github.com/users/erwinmombay/following{/other_user}","gists_url":"https://api.github.com/users/erwinmombay/gists{/gist_id}","starred_url":"https://api.github.com/users/erwinmombay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erwinmombay/subscriptions","organizations_url":"https://api.github.com/users/erwinmombay/orgs","repos_url":"https://api.github.com/users/erwinmombay/repos","events_url":"https://api.github.com/users/erwinmombay/events{/privacy}","received_events_url":"https://api.github.com/users/erwinmombay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erwinmombay/amphtml","description":"","fork":true,"url":"https://api.github.com/repos/erwinmombay/amphtml","forks_url":"https://api.github.com/repos/erwinmombay/amphtml/forks","keys_url":"https://api.github.com/repos/erwinmombay/amphtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erwinmombay/amphtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erwinmombay/amphtml/teams","hooks_url":"https://api.github.com/repos/erwinmombay/amphtml/hooks","issue_events_url":"https://api.github.com/repos/erwinmombay/amphtml/issues/events{/number}","events_url":"https://api.github.com/repos/erwinmombay/amphtml/events","assignees_url":"https://api.github.com/repos/erwinmombay/amphtml/assignees{/user}","branches_url":"https://api.github.com/repos/erwinmombay/amphtml/branches{/branch}","tags_url":"https://api.github.com/repos/erwinmombay/amphtml/tags","blobs_url":"https://api.github.com/repos/erwinmombay/amphtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erwinmombay/amphtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erwinmombay/amphtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/erwinmombay/amphtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erwinmombay/amphtml/statuses/{sha}","languages_url":"https://api.github.com/repos/erwinmombay/amphtml/languages","stargazers_url":"https://api.github.com/repos/erwinmombay/amphtml/stargazers","contributors_url":"https://api.github.com/repos/erwinmombay/amphtml/contributors","subscribers_url":"https://api.github.com/repos/erwinmombay/amphtml/subscribers","subscription_url":"https://api.github.com/repos/erwinmombay/amphtml/subscription","commits_url":"https://api.github.com/repos/erwinmombay/amphtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/erwinmombay/amphtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/erwinmombay/amphtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/erwinmombay/amphtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/erwinmombay/amphtml/contents/{+path}","compare_url":"https://api.github.com/repos/erwinmombay/amphtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erwinmombay/amphtml/merges","archive_url":"https://api.github.com/repos/erwinmombay/amphtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erwinmombay/amphtml/downloads","issues_url":"https://api.github.com/repos/erwinmombay/amphtml/issues{/number}","pulls_url":"https://api.github.com/repos/erwinmombay/amphtml/pulls{/number}","milestones_url":"https://api.github.com/repos/erwinmombay/amphtml/milestones{/number}","notifications_url":"https://api.github.com/repos/erwinmombay/amphtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erwinmombay/amphtml/labels{/name}","releases_url":"https://api.github.com/repos/erwinmombay/amphtml/releases{/id}","created_at":"2015-10-07T20:45:56Z","updated_at":"2015-10-07T20:45:57Z","pushed_at":"2015-12-23T21:09:07Z","git_url":"git://github.com/erwinmombay/amphtml.git","ssh_url":"git@github.com:erwinmombay/amphtml.git","clone_url":"https://github.com/erwinmombay/amphtml.git","svn_url":"https://github.com/erwinmombay/amphtml","homepage":"","size":14191,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ampproject:master","ref":"master","sha":"180a2e6cf95dded51d7599b5fd5d282ce448860e","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":41766002,"name":"amphtml","full_name":"ampproject/amphtml","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/amphtml","description":"AMP HTML source code, samples, and documentation.  See below for more info.","fork":false,"url":"https://api.github.com/repos/ampproject/amphtml","forks_url":"https://api.github.com/repos/ampproject/amphtml/forks","keys_url":"https://api.github.com/repos/ampproject/amphtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/amphtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/amphtml/teams","hooks_url":"https://api.github.com/repos/ampproject/amphtml/hooks","issue_events_url":"https://api.github.com/repos/ampproject/amphtml/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/amphtml/events","assignees_url":"https://api.github.com/repos/ampproject/amphtml/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/amphtml/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/amphtml/tags","blobs_url":"https://api.github.com/repos/ampproject/amphtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/amphtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/amphtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/amphtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/amphtml/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/amphtml/languages","stargazers_url":"https://api.github.com/repos/ampproject/amphtml/stargazers","contributors_url":"https://api.github.com/repos/ampproject/amphtml/contributors","subscribers_url":"https://api.github.com/repos/ampproject/amphtml/subscribers","subscription_url":"https://api.github.com/repos/ampproject/amphtml/subscription","commits_url":"https://api.github.com/repos/ampproject/amphtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/amphtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/amphtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/amphtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/amphtml/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/amphtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/amphtml/merges","archive_url":"https://api.github.com/repos/ampproject/amphtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/amphtml/downloads","issues_url":"https://api.github.com/repos/ampproject/amphtml/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/amphtml/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/amphtml/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/amphtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/amphtml/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/amphtml/releases{/id}","created_at":"2015-09-01T22:10:53Z","updated_at":"2015-12-28T18:15:46Z","pushed_at":"2015-12-26T22:17:06Z","git_url":"git://github.com/ampproject/amphtml.git","ssh_url":"git@github.com:ampproject/amphtml.git","clone_url":"https://github.com/ampproject/amphtml.git","svn_url":"https://github.com/ampproject/amphtml","homepage":"https://ampproject.org","size":21701,"stargazers_count":5135,"watchers_count":5135,"language":"JavaScript","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":500,"mirror_url":null,"open_issues_count":189,"forks":500,"open_issues":189,"watchers":5135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/1178"},"html":{"href":"https://github.com/ampproject/amphtml/pull/1178"},"issue":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/1178"},"comments":{"href":"https://api.github.com/repos/ampproject/amphtml/issues/1178/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/1178/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/amphtml/pulls/1178/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/amphtml/statuses/92432988d9c0097c4fdd16e22f183d4cbbac427d"}}}}