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
北海道 | HOKKAIDO | hokkaido | |
---|---|---|---|
青森県 | AOMORI | aomori | |
岩手県 | IWATE | iwate | |
宮城県 | MIYAGI | miyagi | |
秋田県 | AKITA | akita | |
山形県 | YAMAGATA | yamagata | |
福島県 | FUKUSHIMA | fukushima | |
茨城県 | IBARAKI | ibaraki | |
栃木県 | TOCHIGI | tochigi | |
群馬県 | GUNMA | gunma |
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
| <?php | |
| $name_site = get_bloginfo('name'); | |
| $url_parsed = parse_url(get_bloginfo('url')); | |
| $domain_site = $url_parsed['host']; | |
| $url_template = get_bloginfo('template_url'); | |
| $title_page = ''; | |
| if(!is_front_page()){ | |
//- 前に謎のスペースが入るのでtrimする |
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
[ | |
{"day":"sun","yohbi":"日"}, | |
{"day":"mon","yohbi":"月"}, | |
{"day":"tue","yohbi":"火"}, | |
{"day":"wed","yohbi":"水"}, | |
{"day":"thu","yohbi":"木"}, | |
{"day":"fri","yohbi":"金"}, | |
{"day":"sat","yohbi":"土"} | |
]; |
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
text-stroke(hoff = 1px, voff = 1px, blur = 0, color = #000) | |
text-shadow (-1 * hoff) (-1 * voff) blur color, hoff (-1 * voff) blur color, (-1 * hoff) voff blur color, hoff voff blur color |
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
// あまり見なかったので作った後で整理する | |
.ribbon-vertical | |
w = 46px | |
size = 3px | |
position absolute | |
top t = (-(size px)) | |
left 10px | |
overflow hidden | |
width: (w + size) px | |
height h = 29px |
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
balloon(position, size, color) | |
position relative | |
border 1px solid color | |
background-color #FFF | |
border-radius 5px | |
&::before | |
&::after | |
content "" | |
position absolute | |
width 0 |
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 get_abbreviated_title($post_id, $num_char = 20, $ellips = '…') { | |
$title = get_the_title($post_id); | |
if ( mb_strlen($title, 'UTF-8') > $num_char ) { | |
$title = mb_substr($title, 0, $num_char, 'UTF-8') . $ellips; | |
} | |
return $title; | |
} |
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
- var menu = [{order:20, label:'foo'},{order:10, label:'bar'}] | |
- menu.sort((a,b)=>{return a.order > b.order ? 1 : -1}) | |
each m in menu | |
li= m.label |
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
color-twitter = #55acee | |
color-facebook = #3B5998 | |
color-googleplus = #C64B3F | |
color-line = #00C200 |
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
style | |
include:stylus _maintenance/maintenance.styl |
OlderNewer