Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- theme 02 by karazorel.tumblr.com
- --
- photoset resizing script by http://oddhour.tumblr.com
- -->
- <!DOCTYPE html>
- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
- <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}
- <!--Default Variables-->
- <meta name="color:background" content="#ffffff"/>
- <meta name="color:text" content="#2b2b2b"/>
- <meta name="color:link" content="#2b2b2b"/>
- <meta name="color:link hover" content="#949494"/>
- <meta name="color:blockquote" content="#dadada"/>
- <meta name="color:sidebar link border" content="#F4F4F4">
- <meta name="text:body font" content="helvetica"/>
- <meta name="text:font size" content="12px"/>
- <meta name="image:sidebar" content=""/>
- <meta name="text:link 1 URL" content="" />
- <meta name="text:link 1" content="" />
- <meta name="text:link 2 URL" content="" />
- <meta name="text:link 2" content="" />
- <meta name="text:link 3 URL" content="" />
- <meta name="text:link 3" content="" />
- <!--CSS customization here. -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <link href='https://fonts.googleapis.com/css?family=Karla' rel='stylesheet' type='text/css'>
- <style type="text/css">
- a {text-decoration:none;}
- </style>
- <style type="text/css">
- #s-m-t-tooltip{
- position:absolute;
- margin-top: 15px;
- z-index:9999;
- background:{color:background};
- }
- /*basics*/
- blockquote {
- padding-left:12px;
- border-left:3px solid {color:blockquote};
- margin-left:8px;
- }
- ul {
- list-style:none;
- text-align:left;
- padding-left:0;
- }
- li {
- position:relative;
- padding-left:30px;
- }
- ul li:before {
- position:absolute;
- left:15px;
- vertical-align:baseline!important;
- content:'›';
- }
- body {
- background:{color:background};
- color:{color:text};
- font-family: {text:body font};
- font-size: {text:font size};
- text-decoration: none;
- margin:0;
- text-align:justify;
- line-height:16px;
- }
- a {
- color:{color:link};
- -moz-transition-duration:0.4s;
- -webkit-transition-duration:0.4s;
- -o-transition-duration:0.4s;
- }
- a:hover {
- color:{color:link hover};
- text-decoration:none;
- -moz-transition-duration:0.4s;
- -webkit-transition-duration:0.4s;
- -o-transition-duration:0.4s;
- }
- img {
- opacity:1;
- border:none;
- text-decoration:none;
- }
- small {
- font-size:11px;
- }
- big {
- font-size:11px;
- }
- #title {font-size:16px;
- line-height:18px;
- margin-bottom:10px;
- font-weight:bold;
- text-transform:none;
- text-align:left;
- }
- /*sidebar*/
- #sidebar {
- text-align:left;
- position:fixed;
- margin-left:-350px;
- margin-top:110px;
- width:268px;
- }
- #sidebar img {
- width:268px;
- }
- #links {
- font-family: {text:body font};
- margin-top:10px;
- text-align:center;
- text-transform:lowercase;
- font-weight:bold;
- text-decoration: none;
- }
- #links a {
- margin-bottom:0px;
- -moz-transition-duration:0.4s;
- -webkit-transition-duration:0.4s;
- -o-transition-duration:0.4s;
- }
- #description {
- margin-top:10px;
- text-align:center;
- }
- /*pagination*/
- #pagination {
- text-transform:lowercase;
- text-align:center;
- font-size:12px;
- margin-top:10px;
- }
- #pagination a {
- padding:0 3px;
- }
- /*container*/
- #con {
- left:50%;
- margin-left:-140px;
- position:absolute;
- }
- /*posts*/
- #entries {
- margin-top:95px;
- width:540px;
- }
- #posts {
- width:540px;
- {block:IndexPage}
- margin-bottom:80px;
- {/block:IndexPage}
- {block:PermalinkPage}
- margin-bottom:50px;
- {/block:PermalinkPage}
- }
- #posts img {
- max-width:540px;
- }
- #posts img, #posts li, #posts blockquote {
- max-width: 100%;
- }
- .caption {
- width:100%;
- margin-top:13px;
- margin-bottom:12px;
- }
- }
- a.tumblr_blog {
- font-weight:bold;
- -moz-transition-duration:0.4s;
- -webkit-transition-duration:0.4s;
- -o-transition-duration:0.4s;
- }
- /*quote*/
- #titlequote {
- text-align:left;
- font-size:12px;
- line-height:17px;
- font-weight:bold;
- }
- #source {
- margin-top:0px;
- margin-bottom:11px;
- margin-left:0px;
- }
- /*asks*/
- .q {
- line-height:17px;
- font-size: {text:font size};
- }
- .as {
- font-weight:normal;
- }
- .a {
- margin-top:13px;
- }
- .askimg {
- width: 48px;
- float: left;
- display:inline;
- border-radius:100%;
- margin-left:0px;
- }
- .answer .icon {display:none;}
- .answer a.tumblr_blog {font-weight:normal;margin:0;}
- .answer a.tumblr_blog::after{
- content:" answered:";
- }
- /*audio*/
- .tumblr_audio_player {
- height:100px;
- width:500px;
- }
- /*chat*/
- .chat ol {
- padding:0;
- list-style:none;
- }
- .line {
- padding:0px 0;
- }
- .label {
- font-weight:bold;
- }
- /*permalink and notes*/
- #permalink {
- font-size: {text:font size};
- text-align:left;
- margin-top:30px;
- padding-top:10px;
- text-transform:lowercase;
- border-top:1px solid {color:sidebar link border};
- }
- #permalink a {
- margin-right:0px;
- }
- .tags {
- font-size: {text:font size};
- text-transform:none;
- text-decoration:none;
- }
- .pagenotes {
- {block:IndexPage}
- display: none!important;
- {/block:IndexPage}
- width:540px;
- text-align:left;
- }
- .pagenotes img {
- display:none!important;
- }
- .pagenotes li {
- list-style-type:none;
- padding:2px 0px;
- text-align:left;
- margin:0 0 0 -40px;
- }
- /*credit*/
- .credit {
- position:fixed;
- font-family: {text:body font};
- font-size:9px;
- font-weight:normal;
- line-height:150%;
- letter-spacing:0px;
- right:5px;
- bottom:20px;
- text-decoration:none;
- text-transform:lowercase;
- text-align:center;
- }
- /* tooltip */
- #s-m-t-tooltip {
- z-index:999;
- max-width: 300px;
- margin:15px 0px 0px 15px;
- text-transform: lowercase;
- font-size: 12px;
- color: {color:text};
- background-color:{color:background};
- border:1px solid;
- padding: 5px;
- }
- {CustomCSS}
- </style>
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- </head>
- <body>
- <div id="con">
- <div id="sidebar">
- <div id="sidebar img"><img src="{image:sidebar}"></div>
- <div id="description">{Description}</div>
- <div id="links">
- <a href="/">home</a>
- <a href="/ask">ask</a>
- {block:iflink1}<a href="{text:link 1 URL}">{text:link 1}</a>{/block:iflink1}
- {block:iflink2}<a href="{text:link 2 URL}" >{text:link 2}</a>{/block:iflink2}
- {block:iflink3}<a href="{text:link 3 URL}" >{text:link 3}</a>{/block:iflink3}
- </div>
- <br>
- <div id="pagination">
- {block:PreviousPage}
- <a href="{PreviousPage}">❮</a>
- {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}">❯</a>
- {/block:NextPage}
- </div>
- </div>
- <div id="entries">
- {block:Posts}
- <div id="posts">
- {block:Quote}
- <div id="titlequote"><i class="fa fa-quote-left"></i> {Quote} <i class="fa fa-quote-right"></i></div>
- {block:Source}<div id="source">— {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}
- <div id="title">{Title}</div>{/block:Title}
- {Body}
- {/block:Text}
- {block:link}
- <div id="title"><a href="{URL}"><i class="fa fa-link"></i> {Name}</a></div>
- {block:Description}{Description}{/block:Description}
- {/block:link}
- {block:Chat}
- {block:Title}
- <div id="title">{Title}</div>{/block:Title}
- {/block:Text}
- {block:lines}
- {block:label}
- <br><b>{label}</b>
- {/block:label}
- {line}
- {/block:lines}
- {/block:Chat}
- {block:Photo}
- {linkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/>{linkCloseTag}
- {/block:Photo}
- {block:Photoset}
- {Photoset}
- {/block:Photoset}
- <div class="video">{Video-500}</div>
- {block:Audio}
- {block:AudioEmbed}{AudioEmbed-540}{/block:AudioEmbed}
- {/block:Audio}
- {block:Answer}
- <div class="q">
- <div class="as"> <b>{Asker} said:</b>
- {Question}</div></div>
- <div class="a">{Answer}</div>
- {/block:Answer}
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- <!-- {block:ContentSource} {SourceURL} {/block:ContentSource} {block:RebloggedFrom} {ReblogRootURL} {ReblogParentURL} {/block:RebloggedFrom} -->
- {block:Date}
- <div id="permalink">
- <b><a href="{Permalink}" >{month} {DayOfMonth}</a> with <a href="{Permalink}">{NoteCountWithLabel}</a> </b>
- <div style="float:right;">
- <a class="reblog-b" target="_blank" href="{ReblogURL}"><i class="fa fa-retweet" aria-hidden="true"></i>
- </a></span></a></div>
- <br><i class="fa fa-tag" aria-hidden="true"></i> {block:HasTags}{block:Tags}<a class="tags" href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
- <br><br>
- {block:PermalinkPage}
- {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}, <a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}{/block:PermalinkPage}
- </div>
- {/block:Date}
- </div>
- {block:PostNotes}
- <div class="pagenotes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:Posts}
- <div class="credit"><div class="credit"><a href="http://karazorel.tumblr.com/">cr.</a></div>
- </div>
- </div>
- <link href="//static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="//static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
- <script>
- /* questions? ask oddhour.tumblr.com */
- var updatePhotosetCss = "<style id='updatePhotosetStyle'> .photoset .photoset_row.photoset_row_1 img { max-width: 540px; } .photoset .photoset_row.photoset_row_2 img { max-width: 268px; } .photoset .photoset_row.photoset_row_3 img { max-width: 177px; } .photoset .photoset_row .photoset_photo { margin-left: 4px; } .photoset .photoset_row { text-align: center; width: 540px; } .photoset { width: 540px; }</style>";
- function updatePhotoset() {
- $(".photoset:not(.540-resized)").each( function (i, e) {
- if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
- $(this.contentDocument).find("head").append(updatePhotosetCss);
- var photoset = $(this.contentDocument).find(".photoset");
- var photosetRows = photoset.find(".photoset_row");
- photoset.find(".photoset_photo")
- .each(function () {
- var hiResSrc = $(this).attr("href");
- var img = $(this).find('img');
- img.attr("src", hiResSrc );
- img.attr("style", "");
- });
- photosetRows.attr("style", "").css("margin-bottom", "-11px");
- photoset.attr("style","");
- photoset.addClass("540-resized");
- $(this).height($(this.contentDocument.body).height());
- });
- }
- updatePhotoset();
- var photosetTimer = setInterval(updatePhotoset, 1500);
- $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
- </script>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement