[
  {
    "path": "index.html",
    "content": "<!DOCTYPE html>\n<html>\n<head>\n  <meta charset=\"utf-8\">\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n  <meta property=\"og:title\" content=\"StarWarsIntro.css : The Star Wars Intro Crawl in Pure CSS\" />\n  <meta property=\"og:description\" content=\"Make great intros to awesome Star Wars tools online. Use StarWarsIntro.css to create The Star Wars Intro Crawl effect.\" />\n  <meta property=\"og:type\" content=\"website\" />\n  <meta property=\"og:url\" content=\"https://polarnotion.github.io/starwarsintro/\" />\n  <meta property=\"og:image\" content=\"http://polarnotion.github.io/starwarsintro/star-wars-intro-crawl-image.jpg\" />\n\n  <link rel=\"shortcut icon\" type=\"image/png\" href=\"favicon.png\"/>\n  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\">\n  \n  <link rel=\"stylesheet\" href=\"starwarsintro.css\">\n  <title>Star Wars Intro</title>\n\n  <style type=\"text/css\">\n    body, h1, h2, h3, h4, h5, h6, p, a, td, li, .btn {\n      font-family: 'Lato', Helvetica, sans-serif;\n      -webkit-font-smoothing: antialiased;\n      -moz-osx-font-smoothing: grayscale;\n    }\n\n    .pad {\n      padding: 60px 10px; \n    }\n    .container {\n      max-width: 900px;\n    }\n    h1, h2, h3, h4, h5, h6 {\n      font-weight: 700;\n    }\n    h1 {\n      font-size: 45px;\n      line-height: 55px;\n    }\n    h2 {\n      font-size: 35px;\n      line-height: 45px;\n      margin-top: 60px;\n    }\n    footer {\n      background-color: #111;\n      padding: 40px 20px;\n      color: white;\n    }\n    footer a {\n      color: white;\n    }\n    footer a:hover,\n    footer a:active,\n    footer a:focus {\n      color: white;\n      text-decoration: none;\n      opacity: .7;\n    }\n    .btn-white-outline {\n      background-color: transparent;\n      border-color: white;\n      border-width: 2px;\n      color: white;\n    }\n\n    .btn.btn-white-outline:hover,\n    .btn.btn-white-outline:active,\n    .btn.btn-white-outline:focus {\n      background-color: white;\n      border-color: white;\n      color: #FF5E52;\n      box-shadow: none;\n    }\n\n    .btn-primary-outline {\n      background-color: transparent;\n      border-color: #FF5E52;\n      border-width: 2px;\n      color: #FF5E52;\n    }\n    .container-md {\n      max-width: 500px;\n    }\n    .download-wrapper {\n      position: absolute;\n      right: 15px;\n      top: 15px;\n      z-index: 999999999;\n    }\n    .btn-outline {\n      border: 2px solid #EBD71C;\n      color: #EBD71C;\n      font-weight: bold;\n      text-transform: uppercase;\n      padding: 10px 20px;\n    }\n    .btn-outline:hover,\n    .btn-outline:active,\n    .btn-outline:focus {\n      background-color: #EBD71C;\n      color: black;\n    }\n  </style>\n</head>\n<body>\n  <!-- <div class=\"download-wrapper\">\n    <a href=\"starwarsintro.css.zip\" class=\"btn btn-outline\">Download CSS</a>\n  </div> -->\n  <div class=\"star-wars-intro\">\n\n    <!-- Blue Intro Text -->\n    <p class=\"intro-text\">\n      A few days ago, during...\n    </p>\n\n    <!-- Logo Image or Text goes in here -->\n    <h2 class=\"main-logo\">\n      <img src=\"img/star-wars-intro.png\">\n    </h2>\n\n    <!-- All Scrolling Content Goes in here -->\n    <div class=\"main-content\">\n\n      <div class=\"title-content\">\n        <p class=\"content-header\">StarWarsIntro.css<br>A New Crawl</p>\n\n        <br>\n\n        <p class=\"content-body\">\n          After years of galactic silence, civilization is on the brink of more Star Wars movies. Now, with the Force already awaken, the people of Earth seek solace in creating websites, memes, and presentations that need the intro crawl we've come to know and love. Make cooler stuff, faster, with our simple CSS library for the Star Wars Intro Crawl.\n        </p>\n\n        <br>\n\n        <!-- button or link or whatever -->\n        <a href=\"#welcome\" class=\"space-button\">Download StarWarsIntro.css</a>\n          \n      </div>\n    </div>\n  </div>\n\n  <section id=\"welcome\">\n    <div class=\"container\">\n      <div class=\"pad\">\n        <h1 class=\"text-center\">StarWarsIntro.css</h1>\n        <p class=\"text-center lead\">A CSS Library for the Star Wars Intro Crawl</p>\n\n        <p class=\"text-center\">\n          <a href=\"starwarsintro.css.zip\" class=\"btn btn-outline\">Download CSS</a>\n          <a href=\"https://www.producthunt.com/tech/starwarsintro-css\" target=\"_blank\" class=\"btn btn-outline\">Product Hunt</a>\n        </p>\n\n        <h2 id=\"examples\">What is this?</h2>\n        <p class=\"lead\">Star Wars Intro is a small CSS Library to build your own Star Wars-esk intro. Use it for a movie marathon you're hosting, a browser game intro, a fan site, or pretty much anything else. If you're not interested in Star Wars and/or think it's lame, we've included <a href='https://www.youtube.com/watch?v=dQw4w9WgXcQ' target=\"_blank\">something you might find interesting.</a></p>\n\n        <h2 id=\"requirements\">Requirements</h2>\n        <div class=\"row\">\n          <div class=\"col-sm-6\">\n            <p class=\"lead\">To install the Star Wars Into you'll need:</p>\n            <ul class=\"lead\">\n              <li>HTML</li>\n              <li>CSS</li>\n            </ul>\n          </div>\n          <div class=\"col-sm-6\">\n            <blockquote class=\"lead\">\n              That's right, the Star Wars Intro doesn't require and javascript or other dependancies.\n            </blockquote>\n          </div>\n        </div>\n\n        <h2 id=\"install\">Installation</h2>\n        <p class=\"lead\">The installation process is simple. <b><a href='starwarsintro.css.zip'>Download the css file</a></b> and <b><a href=\"#install_html\">add the html sample</a></b>. You can put anything you want inside of the 'content-body'. The CSS will do the rest.</p>\n\n        <pre id=\"install_html\" class=\"well\">\n&lt;!-- Place in document head --&gt;\n&lt;link rel=\"stylesheet\" href=\"/path/to/starwarsintro.css\"&gt;\n\n&lt;!-- Place in Body where you'd like intro to appear --&gt;\n&lt;div class=\"star-wars-intro\"&gt;\n\n  &lt;!-- Blue Intro Text --&gt;\n  &lt;p class=\"intro-text\"&gt;\n    A few days ago, during...\n  &lt;/p&gt;\n\n  &lt;!-- Logo Image or Text goes in here --&gt;\n  &lt;h2 class=\"main-logo\"&gt;\n    &lt;img src=\"img/star-wars-intro.png\"&gt;\n  &lt;/h2&gt;\n\n  &lt;!-- All Scrolling Content Goes in here --&gt;\n  &lt;div class=\"main-content\"&gt;\n\n    &lt;div class=\"title-content\"&gt;\n      &lt;p class=\"content-header\"&gt;EPISODES IV-VI&lt;br/&gt;A Movie Marathon&lt;/p&gt;\n\n      &lt;br&gt;\n\n      &lt;p class=\"content-body\"&gt;\n        After years of galactic silence, civilization is on the brink of a new Star Wars release. Now, with the Force preparing to awaken, the people of Earth seek solace in films of old. With nowhere to turn, they gather in great numbers and watch the original trilogy without rest. Three films. 6 hours. 24 minutes. Popcorn. Slushies. Total elation.\n      &lt;/p&gt;\n\n      &lt;!-- button or link or whatever --&gt;\n      &lt;a href=\"./StarScroll.zip\" class=\"space-button\"&gt;Download The Code Now!&lt;/a&gt;\n        \n    &lt;/div&gt;\n  &lt;/div&gt;\n&lt;/div&gt;</pre>\n\n        <div class=\"text-center\">\n          <em class=\"lead\">May the Force be with you</em> \n        </div>\n      </div>\n    </div>\n  </section>\n\n  <section id=\"subscription_footer\">\n    <style type=\"text/css\">\n      #subscription_footer {\n        padding: 40px;\n        background-color: #222;\n        color: white;\n      }\n      #subscription_footer label {\n        color: white;\n        text-transform: uppercase;\n        font-size: 12px;\n      }\n      #subscription_footer h2 {\n        color: white;\n      }\n      #subscription_footer h2::after {\n        content: \" \";\n        border-bottom: 1px solid white;\n        width: 100px;\n        display: block;\n        margin-left: auto;\n        margin-right: auto;\n        margin-bottom: 20px;\n        padding-bottom: 10px;\n      }\n      #subscription_footer .btn-white-outline.btn-lg {\n        text-transform: uppercase;\n      }\n      #subscription_footer .btn-white-outline.btn-lg:hover,\n      #subscription_footer .btn-white-outline.btn-lg:active {\n        color: #222;\n        text-transform: uppercase;\n      }\n    </style>\n    <div class=\"container container-md\">\n      <h2 class=\"text-center\">Get more free plugins.</h2>\n      <p class=\"text-center text-white lead\">Let us send more free stuff, right to your inbox.</p>\n      <form class=\"jotform-form\" action=\"https://submit.jotformpro.com/submit/61093322709958/\" method=\"post\" name=\"form_61093322709958\" id=\"61093322709958\" accept-charset=\"utf-8\"> \n        <input type=\"hidden\" name=\"formID\" value=\"61093322709958\" />\n        <div class=\"form-all\">\n          <div class=\"form-section page-section\">\n            <!-- <div class=\"form-line form-group\" data-type=\"control_textbox\" id=\"id_4\">\n              <label class=\"form-label form-label-top\" id=\"label_4\" for=\"input_4\"> Name </label>\n              <div id=\"cid_4\" class=\"form-input-wide jf-required\">\n                <input type=\"text\" class=\"form-control form-textbox\" data-type=\"input-textbox\" id=\"input_4\" name=\"q4_name\" size=\"20\" value=\"\" />\n              </div>\n            </div> -->\n            <div class=\"form-line form-group jf-required\" data-type=\"control_email\" id=\"id_3\">\n              <label class=\"form-label form-label-top\" id=\"label_3\" for=\"input_3\"> Email <span class=\"form-required\"> * </span></label>\n              <div id=\"cid_3\" class=\"form-input-wide jf-required\">\n                <input type=\"email\" class=\"form-control form-textbox validate[required, Email]\" id=\"input_3\" name=\"q3_email3\" size=\"30\" value=\"\" />\n              </div>\n            </div>\n            <div class=\"form-line form-group text-center\" data-type=\"control_button\" id=\"id_2\">\n              <div id=\"cid_2\" class=\"form-input-wide\">\n                <div class=\"form-buttons-wrapper\">\n                  <button id=\"input_2\" type=\"submit\" class=\"form-submit-button btn btn-white-outline btn-lg\"> Submit </button>\n                </div>\n              </div>\n            </div>\n            <div style=\"display:none\">\n              Should be Empty: <input type=\"text\" name=\"website\" value=\"\" />\n            </div>\n          </div>\n        </div>\n        <input type=\"hidden\" id=\"simple_spc\" name=\"simple_spc\" value=\"61093322709958\" />\n        <script type=\"text/javascript\"> document.getElementById(\"si\" + \"mple\" + \"_spc\").value = \"61093322709958-61093322709958\"; </script>\n      </form>\n    </div>\n  </section>\n\n  <footer class=\"text-center\">\n    <div class=\"container\">\n      <iframe src=\"https://ghbtns.com/github-btn.html?user=polarnotion&repo=starwarsintro&type=star&count=true\" frameborder=\"0\" scrolling=\"0\" width=\"120px\" height=\"20px\"></iframe>\n      <iframe src=\"https://ghbtns.com/github-btn.html?user=polarnotion&type=follow&count=true&size=small\" frameborder=\"0\" scrolling=\"0\" width=\"170px\" height=\"20px\"></iframe>\n      <br>\n      <br>\n      <p>\n        <a href=\"http://polarnotion.com/?ref=starwarsintro\" class=\"text-white\" target=\"_blank\">\n          Built by Polar Notion\n          <br>\n          <em>Go Boldly Forward</em>\n        </a>\n      </p>\n    </div>\n  </footer>\n\n  <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js\"></script>\n  <script type=\"text/javascript\">\n    $(function() {\n      $('a[href*=\"#\"]:not([href=\"#\"])').click(function() {\n        if (location.pathname.replace(/^\\//,'') == this.pathname.replace(/^\\//,'') && location.hostname == this.hostname) {\n          var target = $(this.hash);\n          target = target.length ? target : $('[name=' + this.hash.slice(1) +']');\n          if (target.length) {\n            $('html, body').animate({\n              scrollTop: target.offset().top\n            }, 1000);\n            return false;\n          }\n        }\n      });\n    });\n  </script>\n\n</body>\n</html>"
  },
  {
    "path": "starwarsintro.css",
    "content": "/*\nName: StarWarsIntro.css\nURI: polarnotion.github.io/starwarsintro\nAuthor: Polar Notion\nAuthor URI: http://polarnotion.com/\nDescription: A simple CSS library for creating a Star Wars Intro Crawl. May the Force be with you.\nVersion: 1.0\n*/\n\nbody, html{\n  height: 100%;\n  min-height: 100vh;\n  margin: 0px;\n}\n\n.star-wars-intro {\n  background: url(\"img/stars-bg.jpg\") center center;\n  background-size: cover;\n  width: 100%;\n  height: 100%;\n  font-family: \"Droid Sans\", arial, verdana, sans-serif;\n  font-weight: 700;\n  color: #EBD71C;\n  background-color: #000;\n  overflow: hidden;\n  position: relative;\n}\n\n.star-wars-intro p.intro-text {\n  position: relative;\n  max-width: 16em;\n  font-size: 200%;\n  font-weight: 400;\n  margin: 20% auto;\n  color: #4ee;\n  opacity: 0;\n  z-index: 1;\n  text-align: center;\n  -webkit-animation: intro 2s ease-out;\n  -moz-animation: intro 2s ease-out;\n  -ms-animation: intro 2s ease-out;\n  -o-animation: intro 2s ease-out;\n  animation: intro 2s ease-out;\n}\n\n.star-wars-intro .main-content{\n  margin-left: auto;\n  margin-right: auto;\n  position: absolute;\n  z-index: 3;\n  width: 98%;\n  height: 50em;\n  bottom: 0;\n  font-size: 80px;\n  font-weight: bold;\n  text-align: justify;\n  overflow: hidden;\n  transform-origin: 50% 100%;\n  transform: perspective(350px) rotateX(25deg);\n}\n\n.star-wars-intro .main-content:after {\n  position: absolute;\n  content: ' ';\n  top: 0;\n  bottom: 60%;\n  background-image: linear-gradient(top, rgba(0,0,0,1) 0%, transparent 100%);\n  pointer-events: none;\n}\n\n.star-wars-intro .space-button {\n  color: #EBD71C;\n  border: 12px solid #EBD71C;\n  padding: 20px;\n  background: transparent;\n  text-decoration: none;\n  margin: 0 auto;\n  display: block;\n  text-align: center;\n}\n\n.star-wars-intro .space-button:hover {\n  background-color: #D2BE03;\n  border-color: #D2BE03;\n  color: black;\n}\n\n.star-wars-intro .space-button:active,\n.star-wars-intro .space-button:focus {\n  background-color: #B8A40A;\n  border-color: #B8A40A;\n  color: black;\n}\n\n.star-wars-intro .title-content {\n  position: absolute;\n  top: 100%;\n  animation: scroll 120s linear 4s forwards;\n}\n\n.star-wars-intro .title-content > .content-header {\n  text-align: center;\n}\n\n/* Main Image Styles */\n\n.star-wars-intro .main-logo {\n  position: absolute;\n  width: 2.6em;\n  left: 50%;\n  top: 20vh;\n  font-size: 10em;\n  text-align: center;\n  margin-left: -1.3em;\n  line-height: 0.8em;\n  letter-spacing: -0.05em;\n  color: #000;\n  text-shadow: -2px -2px 0 #EBD71C, 2px -2px 0 #EBD71C, -2px 2px 0 #EBD71C, 2px 2px 0 #EBD71C;\n  opacity: 0;\n  z-index: 1;\n  -webkit-animation: logo 5s ease-out 2.5s;\n  -moz-animation: logo 5s ease-out 2.5s;\n  -ms-animation: logo 5s ease-out 2.5s;\n  -o-animation: logo 5s ease-out 2.5s;\n  animation: logo 5s ease-out 2.5s;\n}\n\n.star-wars-intro .main-logo > img {\n  max-width: 100%;\n}\n\n@-webkit-keyframes intro {\n  0% { opacity: 1; }\n  90% { opacity: 1; }\n  100% { opacity: 0; }\n}\n\n@-moz-keyframes intro {\n  0% { opacity: 1; }\n  90% { opacity: 1; }\n  100% { opacity: 0; }\n}\n\n@-ms-keyframes intro {\n  0% { opacity: 1; }\n  90% { opacity: 1; }\n  100% { opacity: 0; }\n}\n\n@-o-keyframes intro {\n  0% { opacity: 1; }\n  90% { opacity: 1; }\n  100% { opacity: 0; }\n}\n\n@keyframes intro {\n  0% { opacity: 1; }\n  90% { opacity: 1; }\n  100% { opacity: 0; }\n}\n\n\n@-webkit-keyframes logo {\n  0% { -webkit-transform: scale(1); opacity: 1; }\n  50% { opacity: 1; }\n  100% { -webkit-transform: scale(0.1); opacity: 0; }\n}\n\n@-moz-keyframes logo {\n  0% { -moz-transform: scale(1); opacity: 1; }\n  50% { opacity: 1; }\n  100% { -moz-transform: scale(0.1); opacity: 0; }\n}\n\n@-ms-keyframes logo {\n  0% { -ms-transform: scale(1); opacity: 1; }\n  50% { opacity: 1; }\n  100% { -ms-transform: scale(0.1); opacity: 0; }\n}\n\n@-o-keyframes logo {\n  0% { -o-transform: scale(1); opacity: 1; }\n  50% { opacity: 1; }\n  100% { -o-transform: scale(0.1); opacity: 0; }\n}\n\n@keyframes logo {\n  0% { transform: scale(1); opacity: 1; }\n  50% { opacity: 1; }\n  100% { transform: scale(0.1); opacity: 0; }\n}\n\n@keyframes scroll {\n  0% { top: 100%; }\n  100% { top: -170%; }\n}\n\n@media screen and (max-width: 720px) {\n  .star-wars-intro .main-content {\n    font-size: 35px;\n  }\n  .star-wars-intro .title-content {\n    position: absolute;\n    top: 100%;\n    animation: scroll 100s linear 4s forwards;\n  }\n}\n"
  }
]