This file contains 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
// ---- | |
// Sass (v3.3.3) | |
// Compass (v1.0.0.alpha.18) | |
// Breakpoint (v2.4.2) | |
// ---- | |
@import "breakpoint"; | |
// 設定要有 fallback | |
$breakpoint-no-query-fallbacks: true; |
This file contains 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
# Require any additional compass plugins here. | |
require 'slim' | |
Slim::Engine.set_default_options :pretty => true, :disable_escape => true, :format => :html5 |
This file contains 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
{block:IndexPage} | |
{block:Pagination} | |
<div id="pagination"> | |
{block:PreviousPage} | |
<a href="{PreviousPage}" class="previous" data-current-page="{CurrentPage}" data-total-pages="{TotalPages}">上一頁<span class="bg"></span></a> | |
{/block:PreviousPage} | |
{block:NextPage} | |
<a href="{NextPage}" class="next" data-current-page="{CurrentPage}" data-total-pages="{TotalPages}">下一頁<span class="bg"></span></a> | |
{/block:NextPage} | |
<div class="loader"></div> |
This file contains 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
{ | |
"theme": "Flatland Dark.sublime-theme", | |
"color_scheme": "Packages/Theme - Flatland/Flatland Dark.tmTheme", | |
"flatland_sidebar_tree_large": true, | |
"close_windows_when_empty": false, | |
"detect_indentation": false, | |
"disable_formatted_linebreak": true, | |
"drag_text": false, | |
"draw_minimap_border": true, | |
"draw_white_space": true, |
This file contains 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
$context: 6; | |
@include span-columns($context); | |
@for $width from 1 through 3 { | |
@for $height from 1 through 3 { | |
.block-#{$width}-#{$height} { | |
@include span-columns($width * 2, $context); | |
padding-top: columns($height * 2, $context); | |
} | |
} | |
} |
This file contains 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
$total-columns : 12; | |
$column-width : 4em; | |
$gutter-width : 1em; | |
$grid-padding : $gutter-width; |
This file contains 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
javascript:void(window.open('http://chart.apis.google.com/chart?cht=qr&chs=300x300&chl='+encodeURIComponent(location.href),'Qr%20code','top=100,left=200,width=350,height=350,status=yes')); |
This file contains 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
@mixin replace-text-with-svg($svg-name, $png-name: $svg-name) { | |
@include replace-text-with-dimensions($png-name + ".png"); | |
background-image: none, image-url($svg-name + ".svg"); | |
} |
This file contains 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 isMobile(){ | |
return ( | |
(navigator.userAgent.match(/Android/i)) || | |
(navigator.userAgent.match(/webOS/i)) || | |
(navigator.userAgent.match(/iPhone/i)) || | |
(navigator.userAgent.match(/iPod/i)) || | |
(navigator.userAgent.match(/iPad/i)) || | |
(navigator.userAgent.match(/BlackBerry/)) | |
); | |
} |