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://nicolasgallagher.com/micro-clearfix-hack/ */ | |
.clearfix { | |
*zoom: 1; | |
} | |
.clearfix:before, | |
.clearfix:after { | |
content: " "; | |
display: table; |
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://nicolasgallagher.com/micro-clearfix-hack/ | |
$support-ie: 8 !default; | |
@mixin clearfix { | |
@if $support-ie and $support-ie != 0 and $support-ie < 8 { | |
*zoom: 1; | |
} | |
&:before, | |
&:after { | |
content: " "; | |
display: table; |
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
// _grids.scss | |
$gridWidth: 100%; | |
$colGap: 0; | |
@mixin grid () { | |
display: table; | |
width: $gridWidth + $colGap; | |
@if $colGap > 0 { | |
margin-right: - $colGap; |
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 ($) { | |
$.fn.kome = function () { | |
var regex = /^[\s\u3000]*(\u203B)[\s\u3000]*/; | |
return this.each(function () { | |
var $this = $(this), | |
html = $this.html().replace(regex, '<span class="kome">$1</span>'); | |
$this.html(html); | |
}); | |
}; | |
})(jQuery); |
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
* { | |
padding: 0; | |
margin: 0; | |
} | |
html { | |
overflow-y: scroll; | |
font: small; /* for IE6 in quirks mode */ | |
} | |
body { | |
font-size: 100%; |
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 Dropdown plugin | |
(function ($) { | |
$.fn.dropdown = function (options) { | |
var opts = $.extend({ | |
child: 'ul:first', | |
hoverClass: 'hover', | |
showTimeout: 100, | |
showSpeed: 200, | |
hideTimeout: 200, | |
hideSpeed: 100 |
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
// See https://github.com/terkel/jquery-ua |
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 Toggle Hover Class Plugin | |
(function ($) { | |
$.fn.toggleHoverClass = function () { | |
return this.each(function () { | |
var $this = $(this), | |
c = this.className, | |
originalClasses = c? c.split(' '): [], | |
hoverClasses = [], | |
hoverClass = 'hover', | |
len = originalClasses.length, |
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 addClass (elem, classes) { | |
var c = elem.className; | |
elem.className = c? c + ' ' + classes: classes; | |
} |
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> | |
夏でも底に冷たさをもつ青いそら、<br> | |
うつくしい森で飾られたモリーオ市、<br> | |
郊外のぎらぎらひかる草の波。<br> | |
祇辻飴葛蛸鯖鰯噌庖箸 |
OlderNewer