One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/* Gmail style scrollbar */ | |
::-webkit-scrollbar { | |
width: 12px | |
} | |
::-webkit-scrollbar-thumb { | |
border-width: 1px 1px 1px 2px | |
} | |
::-webkit-scrollbar-track { | |
border-width: 0 | |
} |
/*! | |
* fluid-ratio.css | |
* Version: 0.1.1 | |
* | |
* @author Alessandro Raffa <contact@alessandroraffa.eu> | |
* | |
*/ | |
.fluid-ratio{ | |
position:relative; |
if(!function_exists('body_id')) { | |
function body_id() { | |
global $post; | |
global $wp_query; | |
$post_id = $post->ID; | |
$id = ''; | |
if(is_home() || is_front_page()) { |
<?php | |
/** | |
* Dot notation for access multidimensional arrays. | |
* | |
* $dn = new DotNotation(['bar'=>['baz'=>['foo'=>true]]]); | |
* | |
* $value = $dn->get('bar.baz.foo'); // $value == true | |
* | |
* $dn->set('bar.baz.foo', false); // ['foo'=>false] | |
* |
<?php | |
if(!isset($argv[1])){ | |
echo "Usage: ".$argv[0]." (number of iterations)\n"; | |
exit(1); | |
} | |
/** | |
* Arrays to check | |
*/ | |
$tests = array( |
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>web app name</title> | |
<meta content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width" name="viewport"> | |
<link rel="apple-touch-icon-precomposed" href="/apple-touch-icon-precomposed.png"><!-- Add to homescreen for Safari on iOS --> | |
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-precomposed-114x114.png"><!-- iPhone retina icon (iOS< 7) --> | |
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/apple-touch-icon-precomposed-120x120.png"><!-- iPhone 6 Plus icon --> |
$(document).ready(function () { | |
var masonryOptions = { | |
columnWidth: '.masonry-sizer', | |
itemSelector: '.masonry-item', | |
percentPosition: true | |
}; | |
var $masonryContainer = $('.masonry-container'); | |
var masonryBreakpoint = 767; // change this as you wish | |
var masonryActive = false; | |
var activateMasonry = function () { |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.