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
// http://ja.wikipedia.org/wiki/JIS%E6%85%A3%E7%94%A8%E8%89%B2%E5%90%8D | |
$toki: #F9A1D0; // 鴇色 ときいろ | |
$tsutsuji: #CB4B94; // 躑躅色 つつじいろ | |
$sakura: #FFDBED; // 桜色 さくらいろ | |
$bara: #D34778; // 薔薇色 ばらいろ | |
$karakurenai: #E3557F; // 韓紅 からくれない | |
$sango: #FF87A0; // 珊瑚色 さんごいろ | |
$kobai: #E08899; // 紅梅色 こうばいいろ | |
$momo: #E38698; // 桃色 ももいろ |
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
/*! | |
* jQuery Lazy Load plugin v0.9.2 | |
* https://gist.github.com/1520842 | |
* | |
* Copyright (c) 2012 Takeru Suzuki - http://terkel.jp/ | |
* Licensed under the MIT license - http://www.opensource.org/licenses/MIT | |
*/ | |
(function (window, $) { | |
$.fn.lazyLoad = function (options) { |
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
// http://www.culture27.com/blog/2011/12/font-family | |
$gothic: "Hiragino Kaku Gothic ProN", "Meiryo", "MS PGothic"; | |
$mincho: "Hiragino Mincho ProN", "MS PMincho"; |
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
// jQuery Shuffle plugin, https://gist.github.com/1593214 | |
// see http://www.fumiononaka.com/TechNotes/Flash/FN0212002.html | |
(function ($) { | |
$.fn.shuffle = function () { | |
var i = this.length, | |
j, | |
t; | |
while (i){ | |
j = Math.floor(Math.random()*i); |
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
// http://html5.org/r/6884 | |
/^[a-zA-Z0-9.!#$%&'*+-/=?\^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/ |
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
// Detect IE versions | |
// https://gist.github.com/527683 | |
var ie = (function () { | |
var v = 3, | |
div = document.createElement('div'), | |
all = div.getElementsByTagName('i'); | |
do { | |
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->'; | |
} while (all[0]); | |
return (v > 4)? v: void 0; |
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
.br-before:before, | |
.br-after:after { | |
content: "\A"; | |
white-space: pre-line; | |
} |
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
<div id="cboxOverlay"></div> | |
<div id="colorbox"> | |
<div id="cboxWrapper"> | |
<div> | |
<div id="cboxTopLeft" style="float: left;"></div> | |
<div id="cboxTopCenter" style="float: left;"></div> | |
<div id="cboxTopRight" style="float: left;"></div> | |
</div> | |
<div style="clear: left;"> | |
<div id="cboxMiddleLeft" style="float: left;"></div> |
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
/*! | |
* jQuery Parallax Effect plugin v0.9 | |
* https://gist.github.com/2020675 | |
* | |
* Copyright (c) 2012 Takeru Suzuki - http://terkel.jp/ | |
* Licensed under the MIT license - http://www.opensource.org/licenses/MIT | |
*/ | |
(function (window, $) { | |
$.fn.parallax = function (options) { |