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
a { | |
color: red; | |
} |
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
{ | |
"name": "test", | |
"version": "1.0.0", | |
"description": "", | |
"main": "entry.jsx", | |
"scripts": { | |
"build": "webpack --display-error-details", | |
"watch": "webpack --watch" | |
}, | |
"author": "", |
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
article time.published:before { | |
content: '投稿日: '; | |
} | |
article time.updated:not(.published) { | |
display: inline; | |
} | |
article time.updated:not(.published):before { | |
content: ' / 更新日: '; | |
} | |
article .byline:before { |
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
article time.published:before { | |
content: '投稿日: '; | |
} | |
article time.published:not(.updated) { | |
display: none; | |
} | |
article time.updated:not(.published) { | |
display: inline; | |
} | |
article time.updated:not(.published):before { |
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
article time.published:not(.updated) { | |
display: none; | |
} | |
article time.updated:not(.published) { | |
display: inline; | |
} |
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
<button data-slide-contents="slide-contents-1">スライドボタン</button> | |
<a href="#" data-slide-contents="slide-contents-1">スライドリンク</a> | |
<div id="slide-contents-1" class="slide-contents"> | |
テストコメント | |
</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
jQuery(function(){ | |
jQuery('[data-slide-contents]').click(function(event) { | |
event.preventDefault(); | |
var slideContents = jQuery(this).data('slide-contents'); | |
jQuery('#' + slideContents).slideToggle(400); | |
}); | |
}); |
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
.slide-contents { | |
background: #f2f2f2; | |
width: 100%; | |
border: #666 1px solid; | |
margin: 0 0 20px 0; | |
padding: 20px 20px 0 20px; | |
display: none; | |
} |
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
body { | |
font-family: '游ゴシック', 'Yu Gothic', sans-serif !important; | |
} | |
.entry-content p { | |
line-height: 1.8em; | |
} |