Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- REALEST theme by susan (fagunts)
- please don't remove the credits. feel free to edit this theme as much as you'd like!
- for any questions go to fagunts.com or themesbyfagunts.tumblr.com
- -->
- <head>
- <title>{title}</title>
- <link rel="shortcut icon" href="{Favicon}"/>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Link" content="#555555"/>
- <meta name="color:Link hover" content="#cccccc"/>
- <meta name="color:Header" content="#fff"/>
- <meta name="text:Quote" content=""/>
- <meta name="text:Link 1 url" content="/"/>
- <meta name="text:Link 1 title" content="link 1"/>
- <meta name="text:Link 2 url" content="/"/>
- <meta name="text:Link 2 title" content="link 2"/>
- <meta name="text:Link 3 url" content="/"/>
- <meta name="text:Link 3 title" content="link 3"/>
- <meta name="if:Show link 1" content="1"/>
- <meta name="if:Show link 2" content="1"/>
- <meta name="if:Show link 3" content="1"/>
- <meta name="if:Show description" content="0"/>
- <meta name="if:Show quote" content="1"/>
- <meta name="if:Font 1" content="1"/>
- <meta name="if:Font 2" content="0"/>
- <meta name="if:Rainbow links on hover" content="0"/>
- <style type="text/css">
- body{
- color:{color:Text};
- {block:iffont1}font-family:consolas;{/block:iffont1}
- {block:iffont2}font-family:calibri;{/block:iffont2}
- font-size:10px;
- background-color:{color:Background};
- }
- #post{
- width:600px;
- margin-right:auto;
- background-color:#fff;
- padding:5px;
- left:28.7%;
- }
- a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover};}
- .entry{
- padding:2px;
- background-color:#fff;
- width:250px;
- float:center;
- margin:15px;
- }
- .entry img{
- float:center;
- margin:2px;
- }
- .entry .perm{
- background:#fff;
- padding:5px;
- text-align:center;
- margin-top:3px;
- margin-left:-20px;
- position:absolute;
- opacity:0.0;
- }
- .entry:hover .perm{opacity:.7;margin-left:0px; }
- #header {
- position:fixed;
- z-index:1;
- overflow:hidden;
- top:0px;
- left:0px;
- padding:7px;
- width:100%;
- height:auto;
- text-align:center;
- background-color:{color:Header};
- opacity:.7;
- }
- blogtitle{
- font-weight:bold;
- font-size:11px;
- text-transform:uppercase;
- }
- description{
- width:50px;
- height:auto;
- text-align:center;
- }
- {block:ifshowquote}
- #quote{
- font-size:13px;
- right:100px;
- top:100px;
- width:220px;
- float:center;
- position:fixed;
- padding:3px;
- }
- {/block:ifshowquote}
- .pagination {
- display: none;
- }
- {CustomCSS]
- </style>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- <script>
- $(function(){
- var $container = $('#post');
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector: '.entry',
- });
- });
- $container.infinitescroll({
- itemSelector : ".entry",
- navSelector : "div.pagination",
- nextSelector : ".pagination a#next",
- loadingImg : "",
- loadingText : "<em></em>",
- bufferPx : 10000,
- extraScrollPx: 12000,
- },
- // trigger Masonry as a callback
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- // ensure that images load before adding to masonry layout
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $container.masonry( 'appended', $newElems, true );
- });
- }
- );
- });
- </script>
- {block:ifrainbowlinksonhover}
- <script type='text/javascript'>
- //<![CDATA[
- var rate = 50;
- if (document.getElementById)
- window.onerror=new Function("return true")
- var objActive; // The object which event occured in
- var act = 0; // Flag during the action
- var elmH = 0; // Hue
- var elmS = 128; // Saturation
- var elmV = 255; // Value
- var clrOrg; // A color before the change
- var TimerID; // Timer ID
- if (document.all) {
- document.onmouseover = doRainbowAnchor;
- document.onmouseout = stopRainbowAnchor;
- }
- else if (document.getElementById) {
- document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
- document.onmouseover = Mozilla_doRainbowAnchor;
- document.onmouseout = Mozilla_stopRainbowAnchor;
- }
- function doRainbow(obj)
- {
- if (act == 0) {
- act = 1;
- if (obj)
- objActive = obj;
- else
- objActive = event.srcElement;
- clrOrg = objActive.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- function stopRainbow()
- {
- if (act) {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- function doRainbowAnchor()
- {
- if (act == 0) {
- var obj = event.srcElement;
- while (obj.tagName != 'A' && obj.tagName != 'BODY') {
- obj = obj.parentElement;
- if (obj.tagName == 'A' || obj.tagName == 'BODY')
- break;
- }
- if (obj.tagName == 'A' && obj.href != '') {
- objActive = obj;
- act = 1;
- clrOrg = objActive.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- }
- function stopRainbowAnchor()
- {
- if (act) {
- if (objActive.tagName == 'A') {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- }
- function Mozilla_doRainbowAnchor(e)
- {
- if (act == 0) {
- obj = e.target;
- while (obj.nodeName != 'A' && obj.nodeName != 'BODY') {
- obj = obj.parentNode;
- if (obj.nodeName == 'A' || obj.nodeName == 'BODY')
- break;
- }
- if (obj.nodeName == 'A' && obj.href != '') {
- objActive = obj;
- act = 1;
- clrOrg = obj.style.color;
- TimerID = setInterval("ChangeColor()",100);
- }
- }
- }
- function Mozilla_stopRainbowAnchor(e)
- {
- if (act) {
- if (objActive.nodeName == 'A') {
- objActive.style.color = clrOrg;
- clearInterval(TimerID);
- act = 0;
- }
- }
- }
- function ChangeColor()
- {
- objActive.style.color = makeColor();
- }
- function makeColor()
- {
- // Don't you think Color Gamut to look like Rainbow?
- // HSVtoRGB
- if (elmS == 0) {
- elmR = elmV; elmG = elmV; elmB = elmV;
- }
- else {
- t1 = elmV;
- t2 = (255 - elmS) * elmV / 255;
- t3 = elmH % 60;
- t3 = (t1 - t2) * t3 / 60;
- if (elmH < 60) {
- elmR = t1; elmB = t2; elmG = t2 + t3;
- }
- else if (elmH < 120) {
- elmG = t1; elmB = t2; elmR = t1 - t3;
- }
- else if (elmH < 180) {
- elmG = t1; elmR = t2; elmB = t2 + t3;
- }
- else if (elmH < 240) {
- elmB = t1; elmR = t2; elmG = t1 - t3;
- }
- else if (elmH < 300) {
- elmB = t1; elmG = t2; elmR = t2 + t3;
- }
- else if (elmH < 360) {
- elmR = t1; elmG = t2; elmB = t1 - t3;
- }
- else {
- elmR = 0; elmG = 0; elmB = 0;
- }
- }
- elmR = Math.floor(elmR).toString(16);
- elmG = Math.floor(elmG).toString(16);
- elmB = Math.floor(elmB).toString(16);
- if (elmR.length == 1) elmR = "0" + elmR;
- if (elmG.length == 1) elmG = "0" + elmG;
- if (elmB.length == 1) elmB = "0" + elmB
- elmH = elmH + rate;
- if (elmH >= 360)
- elmH = 0;
- return '#' + elmR + elmG + elmB;
- }
- //]]>
- </script>
- {/block:ifrainbowlinksonhover}
- </head>
- <body>
- <div id="header">
- {block:iffont1}<blogtitle><a href="/">{title}</a></blogtitle>
- <a href="/ask">message</a>
- {block:ifshowlink1}<a href="{text:link 1 url}">{text:link 1 title}</a> {/block:ifshowlink1}
- {block:ifshowlink2}<a href="{text:link 2 url}">{text:link 2 title}</a> {/block:ifshowlink2}
- {block:ifshowlink3}<a href="{text:link 3 url}">{text:link 3 title}</a> {/block:ifshowlink3}
- <a href="/archive">archive</a>
- <a href="http://fagunts.com">theme</a>
- <br>
- {block:ifshowdescription}<description>{description}</description>{/block:ifshowdescription}{/block:iffont1}
- {block:iffont2}<blogtitle>{Title}</blogtitle>
- <a href="/ask">message</a>
- {block:ifshowlink1}<a href="{text:link 1 url}">{text:link 1 title}</a> {/block:ifshowlink1}
- {block:ifshowlink2}<a href="{text:link 2 url}">{text:link 2 title}</a> {/block:ifshowlink2}
- {block:ifshowlink3}<a href="{text:link 3 url}">{text:link 3 title}</a> {/block:ifshowlink3}
- <a href="/archive">archive</a>
- <a href="http://fagunts.com">theme</a>
- <br>
- {block:ifshowdescription}<description>{description}</description>{/block:ifshowdescription}{/block:iffont2}
- </div></div>
- {block:ifshowquote}<div id="quote">“ {text:quote} ”</div>{/block:ifshowquote}
- <div id="post">
- {block:Posts}
- <div class="entry">
- <div class="perm"><a href="{Permalink}">{TimeAgo}</a> <a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
- {block:Title}<h1>{Title}</h1>{/block:Title}
- {block:Text}{Body}{/block:Text}
- {block:Photo}
- <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>
- {/block:Photo}
- {block:Photoset}
- {Photoset-250}
- {/block:Photoset}
- {block:Quote}
- {Quote}
- <div align="right">
- {block:Source}-{Source}{/block:Source}
- </div>
- {/block:Quote}
- {block:Video}
- {Video-250}
- <br>
- {PlayCountWithLabel}
- {/block:Video}
- {block:Link}
- <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Lines}
- {block:Label}
- <br>{Label}
- {/block:Label}
- {Line}
- {/block:Lines}
- {/block:Chat}
- {block:Audio}
- {AudioPlayerGrey}
- <br><div align="right">{block:Artist}
- Artist: {Artist}</div>
- {/block:Artist}<br>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Answer}
- {Asker} asked <b>{Question}</b><Br>
- {Answer}
- {/block:Answer}
- {block:PermalinkPage}
- {block:Caption}
- {Caption}
- {/block:Caption}
- <br>
- {block:NoteCount}
- {NoteCount} notes
- {/block:NoteCount}
- <Br>
- {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
- {/block:PermalinkPage}
- </div>
- {/block:Posts}
- </div>
- <div class="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> ·{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
- </div>
- <div style="bottom:5px;left:10px;position:fixed;font-size:8px;"><a href="http://fagunts.com" title="theme by fagunts">✰</a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement