Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!------------------------------------------
- (◍•ᴗ•◍)♡ ✧*。
- Most Wonderdul Time Theme
- by ThemeKid Chloë | @redivide | @themekid
- > Do not delete/alter any credit.
- > Do not claim as your own.
- > Do not copy any code.
- > Do not redistribute.
- ------------------------------------------->
- <html>
- <head>
- <meta charset="UTF-8" />
- <title>{block:TagPage}{Tag} posts | {/block:TagPage}{block:PostSummary}{PostSummary} | {/block:PostSummary}{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}
- {block:Hidden}
- <meta name="image:Sidebar" content="http://68.media.tumblr.com/ba24d8c994554620aa84911cf9c7a9d9/tumblr_ogvkilbrRr1v8yaeco1_400.jpg" />
- <meta name="color:Accent" content="#dcecf5" />
- <meta name="color:Dark Accent" content="#6e9280" />
- <meta name="select:Sidebar Accessory" content="santa" title="Santa Hat" />
- <meta name="select:Sidebar Accessory" content="reindeer" title="Antlers" />
- <meta name="if:Redirect Ask" content="" />
- <meta name="text:IMPORTANT" content="do not enable the redirect ask if you are using the default /ask page. it will cause your browser to crash! only enable if you are using a custom ask page."/>
- <meta name="text:Ask Link" content="/ask" />{/block:Hidden}
- <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
- <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <link href="https://fonts.googleapis.com/css?family=Mountains+of+Christmas|Open+Sans:400,400i,700,700i|Roboto+Condensed:400,700" rel="stylesheet">
- <script src="//static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
- <link rel="stylesheet" href="http://static.tumblr.com/8pnyeus/29To2og0o/styles.css">
- <script src="https://dl.dropboxusercontent.com/s/7ke33tjjl8rty02/scripts.js"></script>
- <script>{block:IfRedirectAsk}
- if(window.location.pathname == '/ask') location.replace('{text:Ask Link}');{/block:IfRedirectAsk}
- (function($){ $(document).ready(function(){ $("[title],a[title],img[title]").style_my_tooltips({ tip_follows_cursor:true, tip_delay_time:100, tip_fade_speed:300, attribute:"title" }); }); })(jQuery);
- var fhs = document.createElement('script');var fhs_id = "5411959";var ref = (''+document.referrer+'');var pn = window.location;var w_h =window.screen.width + " x " + window.screen.height;fhs.src = "//s1.freehostedscripts.net/ocounter.php?site="+fhs_id+"&e1=&e2=&r="+ref+"&wh="+w_h+"&a=1&pn="+pn+"";document.head.appendChild(fhs);document.write("<span id='o_"+fhs_id+"' style='display:none'></span>");
- </script>
- <style type="text/css">
- [class*=" oi-"]:before,[class^=oi-]:before {
- line-height:inherit;
- }
- * {
- margin:0;
- padding:0;
- }
- #tumblr_controls, .tmblr-iframe {
- top:25px!important;
- right:25px!important;
- -webkit-filter: invert(90%);
- filter: invert(90%);
- position:fixed!important;
- -webkit-transform:scale(.8, .8);
- -moz-transform:scale(.8, .8);
- transform:scale(.8, .8);
- -webkit-transform-origin: right top;
- -moz-transform-origin: right top;
- -ms-transform-origin: right top;
- -o-transform-origin: right top;
- transform-origin: right top;
- z-index:999999999999999999!important
- }
- #reblogged {
- right:30px!important;
- }
- ::-webkit-scrollbar {
- background-color:#ddd;
- height: 11px;
- width: 11px;
- border:5px solid #fff;
- }
- ::-webkit-scrollbar-thumb {
- background-color:#000;
- border:5px solid #fff;
- }
- ::-moz-selection {
- color:{color:Dark Accent};
- background:rgba({RGBcolor:Accent},0.1);
- }
- ::selection {
- color:{color:Dark Accent};
- background:rgba({RGBcolor:Accent},0.1);
- }
- #s-m-t-tooltip {
- max-width:300px;
- padding:3px 6px;
- margin:20px 10px;
- background: #000;
- color:#fff;
- z-index:999999999999999!important;
- font-size:9px;
- text-transform:uppercase;
- font-family:'Roboto Condensed', monospace;
- }
- body {
- background: #fff;
- color:#000;
- font-size:10px;
- font-family:'Open Sans', sans-serif;
- word-break:break-word;
- }
- body:before,
- body:after,
- html:before {
- content:'';
- height:100%;
- width:5px;
- position:fixed;
- left:0;
- top:0;
- background: repeating-linear-gradient( 45deg, #fff, #fff 7px, #ef3340 7px, #ef3340 11px, green 11px, green 15px );
- border-left:15px solid {color:Accent};
- z-index:99999;
- }
- body:after {
- height:5px;
- width:calc(100% - 30px);
- border-left:none;
- border-top:15px solid {color:Accent};
- left:15px;
- }
- html:before {
- left:initial;
- right:0;
- border-left:none;
- border-right:15px solid {color:Accent};
- }
- html:after {
- content:'';
- position:fixed;
- bottom:20px;
- left:0;
- width:100%;
- height:150px;
- background:url(http://www.okclipart.com/img54/uutmhtvkcyfzyepavijm.png) repeat-x;
- background-size:contain;
- z-index:-1;
- }
- img:not(.lightbox-image) {
- vertical-align:middle;
- max-width:100%;
- }
- a {
- text-decoration:none;
- color:{color:Dark Accent};
- }
- h1,h2,h3,h4,h5,h6 {
- font-family:'Mountains of Christmas', serif;
- font-weight:normal;
- }
- #infscr-loading {
- position:absolute;
- margin-bottom:0px;
- bottom:40px;
- width:200px;
- margin-left:50%;
- left:-100px;
- text-align:center;
- }
- #wrapper {
- width:560px;
- margin:70px auto;
- left:120px;
- position:relative;
- padding-bottom:40px;
- }
- article {
- width:250px;
- box-sizing:border-box;
- margin-bottom:60px;
- border:3px solid #fff;
- outline:1px solid #eaeaea;
- outline-offset:-1px;
- position:relative;
- background:#fff;
- }
- * + .caption {
- margin-top:10px;
- }
- img.caption_avatar {
- border-radius:3px;
- margin-right:5px;
- height:20px;
- }
- blockquote.tumblr_parent {
- margin-bottom:10px;
- border-bottom:1px solid #fafafa;
- padding-bottom:10px;
- }
- blockquote.tumblr_parent:last-of-type {
- margin-bottom:0;
- padding-bottom:0;
- }
- blockquote.tumblr_parent ul,
- blockquote.tumblr_parent ol {
- margin:10px 0;
- line-height:2em;
- padding-left:25px;
- }
- blockquote.tumblr_parent ul {
- list-style:circle;
- }
- blockquote.tumblr_parent blockquote {
- border-left:2px solid #eee;
- padding-left:10px;
- margin:10px 0;
- margin-left:15px;
- }
- blockquote.tumblr_parent p {
- margin:5px 0;
- }
- .t blockquote.tumblr_parent p:last-of-type {
- margin-bottom:0;
- }
- .quote cite {
- display:block;
- text-align:right;
- margin-top:5px;
- }
- .chat ul {
- list-style:none;
- }
- .chat ul span {
- font-weight:bold;
- }
- .chat ul li {
- padding: 6px 0;
- border-bottom: 1px solid #fafafa;
- }
- .chat ul li:last-of-type {
- border-bottom:0;
- }
- .album-art {
- height:50px;
- margin-bottom:15px;
- width:100%;
- background:{color:Accent} repeat center center;
- background-size:contain;
- }
- .audio-info {
- list-style:none;
- padding:0;
- margin:0;
- }
- .audio-info li {
- border-bottom:1px solid #eaeaea;
- padding:4px 0;
- text-align:right;
- }
- .audio-info i, .audio-info b {
- float:left;
- }
- .audio-info i {
- color:#7b7b7b;
- margin-right:4px;
- }
- .tumblr_audio_player {
- width: calc(100% - 20px);
- position: absolute;
- top: 10px;
- height: 50px;
- opacity: 0.6;
- }
- span.asker {
- display: block;
- margin-bottom: 5px;
- }
- .asker img {
- height: 20px;
- border-radius: 3px;
- margin-right: 3px;
- }
- .question {
- background: #fafafa;
- padding: 5px;
- border-radius: 3px;
- }
- .question + .question {
- margin-top: 8px;
- }
- .caption:empty {
- margin:0;
- }
- {block:IndexPage}
- .photo {
- position:relative;
- }
- .photo img {
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- .photo:after {
- content:'';
- width:90%;
- height:100%;
- background:url(http://static.tumblr.com/8pnyeus/cPBohvcyg/red_christmas_hanging_balls_decor_png_clipart_image.png) no-repeat top center;
- background-size:contain;
- position:absolute;
- top:0;
- left:5%;
- opacity:0;
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- article:hover .photo:after {
- opacity:1;
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- article:hover img {
- opacity:0.4;
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- article .t {
- padding:10px;
- }
- .photoset {
- margin-bottom:7px;
- }
- blockquote.tumblr_parent:last-of-type {
- border-bottom:none;
- }
- ul.permalinks {
- list-style:none;
- text-align:center;
- width:100%;
- position:absolute;
- bottom:-25px;
- text-transform:uppercase;
- font-family:'Roboto Condensed', sans-serif;
- opacity:0;
- visibility:hidden;
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- article:hover ul.permalinks {
- opacity:1;
- visibility:visible;
- -webkit-transition: all 0.6s ease-in-out;
- transition: all 0.6s ease-in-out;
- }
- ul.permalinks li {
- display:inline-block;
- margin:0 3px;
- }
- ul.permalinks li:not(:last-of-type):after {
- content:'·';
- margin-left:6px;
- }
- ul.permalinks a, ul.permalinks {
- color:{color:Dark Accent};
- }
- li.custom-like-button {
- position:relative;
- }
- .reblog_button:hover:after {
- content:'?';
- }
- .like_button {
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 10;
- }
- .like_button iframe {
- width: 100% !important;
- height: 100% !important;
- }
- .our_toggle {
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: 1;
- }
- .like_button:hover + .our_toggle:after {
- content:'?';
- }
- .like_button.liked:hover + .our_toggle:before {
- content:'un';
- }
- .like_button.liked:hover + .our_toggle:after {
- content:'?';
- }
- .like_button.liked + .our_toggle:after {
- content: "d";
- }
- {/block:IndexPage}{block:PermalinkPage}
- article {
- width:530px;
- padding:25px;
- }
- blockquote.tumblr_parent {
- padding-left:2px;
- padding-right:2px;
- }
- .chat, .quote {
- border-bottom:1px solid #fafafa;
- padding-bottom:5px;
- }
- .tumblr_audio_player {
- width: calc(100% - 50px);
- top: 25px;
- }
- ul.extra-info {
- padding:0;
- margin:0;
- list-style:none;
- text-align:left;
- }
- ul.extra-info li {
- padding: 4px 0;
- margin: 3px 0;
- border-bottom: 1px solid #fafafa;
- text-align:left;
- }
- ul.extra-info i {
- font-size:13px;
- color:#7b7b7b;
- margin-right:3px;
- }
- ol.notes a, .extra-info a {
- color:#000;
- font-weight:bold;
- }
- ol.notes {
- padding:0;
- margin: 0;
- list-style-type: none;
- padding: 0;
- }
- ol.notes li.note {
- padding: 4px 0;
- margin: 3px 0;
- padding-left: 16px;
- border-bottom: 1px solid #fafafa;
- }
- ol.notes li.note .avatar_frame {
- float:right;
- }
- ol.notes li.note img.avatar {
- border-radius:3px;
- }
- ol.notes li.note blockquote {
- border-left:2px solid #eee;
- padding-left:10px;
- margin:10px 0;
- margin-left:15px;
- }
- ol.notes li.note blockquote a {
- text-decoration: none;
- }
- li.more_notes_link_container {
- font-weight: bold;
- text-transform: uppercase;
- font-size: 0.85em;
- }
- li.like:before {
- content: "\e099";
- font-family: untitled-font-1!important;
- font-style: normal;
- font-weight: 400;
- speak: none;
- display: inline-block;
- text-decoration: inherit;
- width: 1em;
- text-align: center;
- font-variant: normal;
- text-transform: none;
- vertical-align: middle;
- line-height: 1;
- font-size: 1em;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin-right: -11px;
- color:#f3719f;
- left: -16px;
- position: relative;
- font-size:13px;
- }
- li.reblog:before {
- content:'\e083';
- font-family: untitled-font-1!important;
- font-style: normal;
- font-weight: 400;
- speak: none;
- display: inline-block;
- text-decoration: inherit;
- width: 1em;
- text-align: center;
- font-variant: normal;
- text-transform: none;
- vertical-align: middle;
- line-height: 1;
- font-size: 1em;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- margin-right: -11px;
- color:#7b7b7b;
- left: -16px;
- position: relative;
- font-size:13px;
- }
- li.original_post:before {
- content:'\e078';
- }
- {/block:PermalinkPage}
- aside {
- position:fixed;
- top:180px;
- left:calc(50% - 520px);
- width:200px;
- text-align:center;
- }
- aside #avi {
- width:115px;
- height:115px;
- border-radius:50%;
- padding:2px;
- border:1px solid #eaeaea;
- box-sizing:border-box;
- display:inline-block;
- position:relative;
- }
- aside #avi img {
- border-radius:50%;
- }
- aside #avi.reindeer:before {
- content: '';
- width: 296px;
- height: 246px;
- background: url(https://31.media.tumblr.com/bb59610595dc59c00455e82a8b4d2552/tumblr_inline_mxo0y1D67e1s9v798.png) no-repeat;
- background-size: contain;
- position: absolute;
- bottom: 14px;
- left: -95px;
- }
- aside #avi.santa:before {
- content: '';
- width: 131px;
- height: 125px;
- background: url(https://31.media.tumblr.com/c4a91d89dee3b24bb7431bf9b6085aae/tumblr_inline_mxo0vz3DrP1s9v798.png) no-repeat;
- background-size: contain;
- position: absolute;
- bottom: 25px;
- left: -13px;
- }
- aside h1 {
- font-size:2.2em;
- margin-top:20px;
- }
- aside #desc {
- font-size:11px;
- margin-top:10px;
- }
- aside ul#navlinks {
- list-style:none;
- margin-top:10px;
- font-weight:bold;
- font-size:0.9em;
- text-transform:uppercase;
- }
- aside ul#navlinks li {
- display:inline-block;
- margin:0 3px;
- }
- aside ul#navlinks li:not(:last-of-type):after {
- content:'·';
- margin-left:6px;
- }
- aside ul#navlinks a {
- color:#000;
- }
- #countdown {
- position:fixed;
- bottom:20px;
- left:80px;
- z-index:9999;
- font-family:'Roboto Condensed', sans-serif;
- font-weight:bold;
- text-transform:uppercase;
- width:95px;
- text-align:center;
- }
- #canvas {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 999999999999;
- pointer-events: none;
- }
- #breaker {
- width:80%;
- margin-top:10px;
- }
- </style>
- </head>
- <body>
- <canvas id="canvas"></canvas>
- <audio id="bells"><source src="https://dl.dropboxusercontent.com/s/2hnwt73ige0cl8p/BELL-%20SMALL-%20TINKLE.mp3?dl=0" controls></source></audio>
- <div id="countdown">
- <iframe src="http://free.timeanddate.com/countdown/i5guce5q/n152/cf12/cm0/cu4/ct3/cs1/ca0/co0/cr0/ss0/cac000/cpcf00/pcfff/tcfff/fs100/szw256/szh108/iso2016-12-25T00:00:00" allowTransparency="true" frameborder="0" width="95" height="27" id="countDown"></iframe>
- <br>'til Christmas!
- </div>
- <aside>
- <div id="avi" class="{select:Sidebar Accessory}">
- <img src="{image:Sidebar}">
- </div>
- <h1><a href="/">{Title}</a></h1>
- {block:Description}<div id="desc">
- {Description}
- </div>{/block:Description}
- <ul id="navlinks">
- <li><a href="/">home</a>
- {block:AskEnabled}<li><a href="{text:Ask Link}">ask</a>{/block:AskEnabled}
- {block:HasPages}{block:Pages}<li><a href="{URL}">{Label}</a>{/block:Pages}{/block:HasPages}
- <li><a href="/archive">past</a>
- </ul>
- <img src="http://68.media.tumblr.com/3b8a5a995ae1301e57d8c1c6a99f666a/tumblr_inline_mfiuivbgTH1roozkr.gif" id="breaker">
- </aside>
- <div id="wrapper">
- <section id="posts">
- {block:Posts}<article id="{PostID}" class="{block:Photo}non-{/block:Photo}text-type">
- {block:Text}<div class="text t">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <div class="caption">{Body}</div>
- </div>{/block:Text}{block:Photo}<div class="photo">
- <img src="{block:IndexPage}{PhotoURL-250}{/block:IndexPage}{block:PermalinkPage}{PhotoURL-HighRes}{/block:PermalinkPage}">
- </div>{/block:Photo}{block:Photoset}<div class="photoset">
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
- {block:Photos}<div class="photo-data">
- <div class="pxu-photo">
- <img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}">
- </div>
- <a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a>
- </div>{/block:Photos}
- </div>
- </div>{/block:Photoset}{block:Quote}<div class="quote {Length} t">
- <h2>{Quote}</h2>
- {block:Source}<cite>{Source}</cite>{/block:Source}
- </div>{/block:Quote}{block:Link}<div class="link t">
- <h2><a href="{URL}"><i class="oi-link"></i> {Name}</a></h2>
- {block:Description}<div class="caption">{Description}</div>{/block:Description}
- </div>{/block:Link}{block:Chat}<div class="chat t">
- <ul>
- {block:Lines}<li>{block:Label}<span>{Label}</span>{/block:Label} {Line}{/block:Lines}
- </ul>
- </div>{/block:Chat}{block:Audio}<div class="audio t">
- {block:AlbumArt}<div class="album-art" style="background-image:url({AlbumArtURL})"></div>{/block:ALbumArt}
- <ul class="audio-info">
- <li><i class="oi-mic"></i> <b>Artist:</b> <span {block:Artist}style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br>
- <li><i class="oi-playlist"></i> <b>Title:</b> <span {block:TrackName}style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br>
- <li><i class="oi-disc"></i> <b>Album:</b> <span {block:Album}style="display:none;"{/block:Album}>Unknown</span>{block:Album}{Album}{/block:Album}
- <li><i class="oi-repeat"></i> <b>Plays:</b> {FormattedPlayCount}
- </ul>
- {block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}
- </div>{/block:Audio}{block:Video}<div class="vid t">
- <div class="video">
- {block:IndexPage}{Video-250}{/block:IndexPage}{block:PermalinkPage}{Video-700}{/block:PermalinkPage}
- </div>
- </div>{/block:Video}{block:Answer}<div class="answer t">
- <div class="question">
- <span class="asker"><img src="{AskerPortraitURL-24}"> {Asker} asked:</span>
- {Question}
- </div>
- {block:Answerer}<div class="question">
- <span class="asker"><img src="{AnswererPortraitURL-24} "> {Answerer} replied:</span>
- {Answer}
- </div>{/block:Answerer}
- <div class="caption">
- {Replies}
- </div>
- </div>{/block:Answer}{block:IndexPage}
- <ul class="permalinks">
- <li><a href="{ReblogURL}" target="_blank" class="reblog_button">Reblog</a>
- <li><a href="{Permalink}" target="_blank">{NoteCount}</a>
- <li class="custom-like-button">{LikeButton}<div class="our_toggle">Like</span></div>
- </ul>
- {/block:IndexPage}{block:PermalinkPage}{block:Caption}
- <div class="caption">
- {Caption}
- </div>{/block:Caption}
- {block:Date}<ul class="extra-info">
- <li><i class="oi-time"></i> {DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear} ({TimeAgo})
- {block:NoteCount}<li><i class="oi-chart"></i> {NoteCountWithLabel}{/block:NoteCount}
- {block:RebloggedFrom}<li><i class="oi-refresh"></i> <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
- {block:ContentSource}<li><i class="oi-globe"></i> <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}
- {block:HasTags}<li><i class="oi-tags"></i> {block:Tags}<a href="/tagged/{Tag}">#{Tag}</a> {/block:Tags}{/block:HasTags}
- </ul>{/block:Date}
- {block:PostNotes}<div id="notes">
- {PostNotes-16}
- </div>{/block:PostNotes}
- {/block:PermalinkPage}
- </article>
- {/block:Posts}
- </section>
- </div>
- {block:Pagination}
- <div class="pagination" style="visibility:hidden;">
- {block:NextPage}<a href="{NextPage}" id="next-link">next</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <script>
- var pxuOptions = {
- lightbox: true,
- rounded: false,
- gutter: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }, infScrollOptions = {
- navSelector : "div.pagination",
- nextSelector : ".pagination a#next-link",
- itemSelector : "article",
- loading: {
- finishedMsg: "<p>You've reached the end of the Earth.</p>",
- img : "https://res1.nabtrade.com.au/Content/Images/ajax_loader.gif",
- msg: null,
- msgText: "",
- },
- }, masonryOptions = {
- itemSelector: 'article',
- isAnimated:false,
- columnWidth:250,
- gutterWidth:60,
- }, unnestOptions = {
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: true,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".caption_avatar",
- usernameColon: false
- }
- $(function(){
- var audio = $("#bells")[0];
- $("a, .custom-like-button").mouseenter(function() {
- audio.play();
- });
- $('.photo-slideshow').pxuPhotoset(pxuOptions);
- $('article').unnest(unnestOptions);
- {block:IndexPage}
- var $tumblelog = $('#wrapper');
- $tumblelog.imagesLoaded(function () {
- $tumblelog.masonry(masonryOptions);
- });
- $tumblelog.infinitescroll(
- infScrollOptions, function( newElements ) {
- var $newElems = $( newElements );
- var $newElemsIDs = $newElems.map(function () {
- return this.id;
- }).get();
- $newElems.find('.photo-slideshow').pxuPhotoset(pxuOptions);
- $newElems = $(newElements).css({ opacity: 0, zIndex: -1});
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1, zIndex: 1 });
- $tumblelog.masonry( 'appended', $newElems );
- });
- $newElems.unnest(unnestOptions);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- resizeVideos();
- });
- {/block:IndexPage}
- });
- window.onload=function(){function h(){b.clearRect(0,0,c,d),b.fillStyle="rgba(255, 255, 255, 0.8)",b.beginPath();for(var a=0;a<e;a++){var g=f[a];b.moveTo(g.x,g.y),b.arc(g.x,g.y,g.r,0,2*Math.PI,!0)}b.fill(),j()}function j(){i+=.01;for(var a=0;a<e;a++){var b=f[a];b.y+=Math.cos(i+b.d)+1+b.r/2,b.x+=2*Math.sin(i),(b.x>c+5||b.x<-5||b.y>d)&&(a%3>0?f[a]={x:Math.random()*c,y:-10,r:b.r,d:b.d}:Math.sin(i)>0?f[a]={x:-5,y:Math.random()*d,r:b.r,d:b.d}:f[a]={x:c+5,y:Math.random()*d,r:b.r,d:b.d})}}var a=document.getElementById("canvas"),b=a.getContext("2d"),c=window.innerWidth,d=window.innerHeight;a.width=c,a.height=d;for(var e=25,f=[],g=0;g<e;g++)f.push({x:Math.random()*c,y:Math.random()*d,r:4*Math.random()+1,d:Math.random()*e});var i=0;setInterval(h,33)};
- </script>
- <link href="//static.tumblr.com/wupwnyt/1iho27ad1/gkthm.css" rel="stylesheet" type="text/css">
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement