{"action":"opened","issue":{"url":"https://api.github.com/repos/seroga9203/sticky-header/issues/1","repository_url":"https://api.github.com/repos/seroga9203/sticky-header","labels_url":"https://api.github.com/repos/seroga9203/sticky-header/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/seroga9203/sticky-header/issues/1/comments","events_url":"https://api.github.com/repos/seroga9203/sticky-header/issues/1/events","html_url":"https://github.com/seroga9203/sticky-header/issues/1","id":295217020,"number":1,"title":"index.html","user":{"login":"seroga9203","id":31216911,"avatar_url":"https://avatars3.githubusercontent.com/u/31216911?v=4","gravatar_id":"","url":"https://api.github.com/users/seroga9203","html_url":"https://github.com/seroga9203","followers_url":"https://api.github.com/users/seroga9203/followers","following_url":"https://api.github.com/users/seroga9203/following{/other_user}","gists_url":"https://api.github.com/users/seroga9203/gists{/gist_id}","starred_url":"https://api.github.com/users/seroga9203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seroga9203/subscriptions","organizations_url":"https://api.github.com/users/seroga9203/orgs","repos_url":"https://api.github.com/users/seroga9203/repos","events_url":"https://api.github.com/users/seroga9203/events{/privacy}","received_events_url":"https://api.github.com/users/seroga9203/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T17:04:24Z","updated_at":"2018-02-07T17:04:24Z","closed_at":null,"author_association":"OWNER","body":"<!doctype html>\r\n<html>\r\n    <head>\r\n        <title>Sticky Header</title>\r\n        \r\n        <style>\r\n            html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary,time, mark, audio, video {\tmargin: 0;\tpadding: 0;\tborder: 0;\tfont-size: 100%;\tfont: inherit;\tvertical-align: baseline;}/* HTML5 display-role reset for older browsers */article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {\tdisplay: block;}body {\tline-height: 1;}ol, ul {\tlist-style: none;}blockquote, q {\tquotes: none;}blockquote:before, blockquote:after,q:before, q:after {\tcontent: '';\tcontent: none;}table {\tborder-collapse: collapse;\tborder-spacing: 0;}\r\n\r\n            header{\r\n                position: fixed;\r\n                width: 100%;\r\n                float: left;\r\n                text-align: center;\r\n                font-size: 72px;\r\n                line-height: 108px;\r\n                height: 120px;\r\n                background: #ebd8bc;\r\n                color: #fff;\r\n                font-family: 'Arial';\r\n                -webkit-transition: all 0.4s ease;\r\n                -moz-transition: all 0.4s ease;\r\n                transition: all 0.4s ease;\r\n            }\r\n            header.sticky{\r\n                font-size: 24px;\r\n                line-height: 48px;\r\n                height: 48px; \r\n                background: rgb(129, 133, 104);\r\n                text-align: left;\r\n                padding-left: 20px;\r\n            }\r\n            div{\r\n                width: 100%;\r\n                float: left;\r\n                padding: 72px 0 0 0;\r\n            }\r\n            div img{\r\n                display: block;\r\n                margin: 0 auto;\r\n            }\r\n        </style>\r\n        <script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"></script>\r\n        <script>\r\n            $(window).scroll(function() {\r\n                if ($(this).scrollTop() > 2){  \r\n                    $('header').addClass(\"sticky\");\r\n                }\r\n                else{\r\n                    $('header').removeClass(\"sticky\");\r\n                }\r\n            });\r\n        </script>\r\n        \r\n        \r\n    </head>\r\n    \r\n    <body>\r\n        <header><h1> My Sticky Header</h1></header>\r\n        <div><img src=\"http://www.cityofnafplio.com/wp-content/uploads/2015/11/Napoli-de-Romania-lev%C3%A9-par-Fran%C3%A7ois-Dubuisson-en-lan-1698_snapshot2-280x560.png\" width=\"780\" height=\"1500\" ></div>\r\n    </body>\r\n    \r\n</html>"}}
{"actor":{"display_login":"seroga9203"}}