This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine On | |
| RewriteBase / | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.+)$ /power.php?story=$1 [L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getParameterByName(name) { | |
| name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); | |
| var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), | |
| results = regex.exec(location.search); | |
| return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .shadow { | |
| -moz-box-shadow: inset 0px 40px 40px -40px #ccc; | |
| -webkit-box-shadow: inset 0px 40px 40px -40px #ccc; | |
| box-shadow: inset 0px 40px 40px -40px #ccc; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html <?php language_attributes(); ?>> | |
| <head> | |
| <meta charset="<?php bloginfo( 'charset' ); ?>" /> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title><?php wp_title( '|', true, 'right' ); ?></title> | |
| <meta name="description" content=""> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> | |
| <link rel="stylesheet" href="inc/css/normalize.css"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <!-- define angular app --> | |
| <html ng-app="zelloutApp"> | |
| <head> | |
| <!-- SCROLLS --> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" /> | |
| <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.0.0/css/font-awesome.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .page-template-page-contact-form-php{ | |
| input[type=text]{ | |
| width: 20%; | |
| border: 1px solid #C0C0C0; | |
| border-radius:10px; | |
| line-height: 1.5em; | |
| padding: 10px; | |
| background: rgba(255,255,255,0.5); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> | |
| <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> | |
| <!--[if IE]> | |
| <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> | |
| <![endif]--> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .frame{background:#ff3;overflow:hidden;width:100%;} | |
| .box{ | |
| //width:90%; | |
| width:160px; | |
| padding-bottom: 160px; | |
| position: relative; | |
| float:left; | |
| margin:8px; | |
| .innerContent{ | |
| position: absolute; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function loadJSON(callback) { | |
| var xobj = new XMLHttpRequest(); | |
| xobj.overrideMimeType("application/json"); | |
| xobj.open('GET', 'file.json', true); | |
| xobj.onreadystatechange = function () { | |
| if (xobj.readyState == 4 && xobj.status == "200") { | |
| // .open will NOT return a value but simply returns undefined in async mode so use a callback | |
| callback(xobj.responseText); |