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
<b:if cond="data:blog.pageType != "item""> | |
<b:if cond="data:blog.pageType != "static_page""> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
//Post Label | |
function label_pilihan(e){labelku=new Array,labelku[1]="<div class='badge badge1'> | |
<div class='badge-img'> | |
<i class='fa fa-star'></i></div> | |
</div> | |
",labelku[2]="<div class='badge badge2'> |
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
<b:loop values='data:post.labels' var='label'> | |
<script type='text/javascript'>label_pilihan("<data:label.name/>");</script> | |
</b:loop> |
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
<b:includable id='post' var='post'>...</b:includable> |
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
<b:includable id='main' var='top'>...</b:includable> |
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
/* Post Label */ | |
.badge{background:#95a5a6;color:#fff;position:absolute;font-weight:normal;line-height:1;bottom:0;right:0;left:0;display:block;text-align:center;width:100%;height:50px;line-height:50px;font-size:18px;z-index:1;transition:all .3s} | |
.badge1{background:#e89c0f;opacity:.98} | |
.badge2{background:#40d47e;opacity:.98} | |
.badge3{background:#3498db;opacity:.98} | |
.badge4{background:#1abc9c;opacity:.98} | |
.badge5{background:#95a5a6;opacity:.98} | |
.post:hover .badge{color:rgba(255,255,255,.6);font-size:44px;height:100%;line-height:100%} | |
.post:hover .badge-img{margin:85px 0 0 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
/* CSS Prism Syntax Highlighter */ | |
pre { | |
padding: 50px 10px 10px 10px; | |
margin: .5em 0; | |
white-space: pre; | |
word-wrap: break-word; | |
overflow: auto; | |
background-color: #2c323c; | |
position: relative; | |
border-radius: 4px; |
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
<script src='https://arlina-design.googlecode.com/svn/prism.js' type='text/javascript'/> |
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
<script> | |
$('pre').attr('class', 'line-numbers'); | |
Prism.hooks.add("after-highlight",function(e){var t=e.element.parentNode;if(!t||!/pre/i.test(t.nodeName)||t.className.indexOf("line-numbers")===-1){return}var n=1+e.code.split("\n").length;var r;lines=new Array(n);lines=lines.join("<span></span>");r=document.createElement("span");r.className="line-numbers-rows";r.innerHTML=lines;if(t.hasAttribute("data-start")){t.style.counterReset="linenumber "+(parseInt(t.getAttribute("data-start"),10)-1)}e.element.appendChild(r)}) | |
</script> |
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
<script type='text/javascript'> | |
var pres = document.getElementsByTagName("pre"); | |
for (var i = 0; i < pres.length; i++) { | |
pres[i].addEventListener("dblclick", function () { | |
var selection = getSelection(); | |
var range = document.createRange(); | |
range.selectNodeContents(this); | |
selection.removeAllRanges(); | |
selection.addRange(range); | |
}, false); |
OlderNewer