Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- Theme «pipedream» by felinum
- Rules:
- 1. Don't claim any part of the code as your own.
- 2. Don't redistribute it on other sites.
- 3. Don't implement parts of my code into your themes w/o permission.
- 4. Leave the credit intact and visible (don't move it to secondary pages).
- 5. You may edit the theme, but not beyond recognition.
- Credits:
- - Unnest Tumblr Captions: @neothm & @magnusthemes (http://neothm.com/post/148902138319/)
- - Pixel Union Photoset: Pixel Union (https://github.com/PixelUnion/Extended-Tumblr-Photoset)
- - Infinite Scroll: Paul Irish (https://github.com/infinite-scroll/infinite-scroll)
- - Video Resizing: @ shythemes (http://shythemes.tumblr.com/post/134536748863/)
- - Photo Lightbox: @ shythemes (http://shythemes.tumblr.com/post/140444996328/)
- - Styled Tooltips: Manos Malihutsakis (http://manos.malihu.gr/tuts/style-my-tooltips.html)
- - Masonry: David DeSandro (http://masonry.desandro.com/)
- - Like Button with infinite scroll: @magnusthemes (http://magnusthemes.tumblr.com/post/132530444620)
- -->
- <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 http-equiv="x-dns-prefetch-control" content="off"/>
- <link href='https://fonts.googleapis.com/css?family=Work+Sans:400,700|Lato|Chivo|Karla|Muli|Roboto:400,400italic,500,500italic|Inconsolata|Vollkorn:400italic,400|Playfair+Display:400,900,700italic|Cardo|Anonymous+Pro|Nunito' rel='stylesheet' type='text/css'>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <link rel="stylesheet" href="http://static.tumblr.com/0cdn90j/dFCoq9dbq/felinum.css">
- <link rel="stylesheet" href="http://static.tumblr.com/0cdn90j/6q4oqbqu7/feline.css">
- <meta name="image:Background" content=""/>
- <meta name="image:Header Icon" content="http://static.tumblr.com/0cdn90j/ARuog8s2p/untitled-1_copy.png"/>
- <meta name="color:Background" content="#fff"/>
- <meta name="color:Text" content="#8c8c8c"/>
- <meta name="color:Link" content="#000"/>
- <meta name="color:Link Hover" content="#eac1c5"/>
- <meta name="color:Posts BG" content="#fff"/>
- <meta name="color:Italic" content="#beb0b4"/>
- <meta name="color:Bold" content="#555"/>
- <meta name="color:Blockquote Border" content="#f0e3e5"/>
- <meta name="color:Blog Title" content="#000"/>
- <meta name="color:Description" content="#8c8c8c"/>
- <meta name="color:Nav Links" content="#000"/>
- <meta name="color:Nav Links Hover" content="#000"/>
- <meta name="color:Nav Links BG on Scroll" content="#efe6e8"/>
- <meta name="color:Odd Tag BG" content="#f2e3e7"/>
- <meta name="color:Odd Tag" content="#963c55"/>
- <meta name="color:Even Tag BG" content="#edeadc"/>
- <meta name="color:Even Tag" content="#937a27"/>
- <meta name="color:Reblog Button BG" content="#efd7dd"/>
- <meta name="color:Like Button BG" content="#efe8c9"/>
- <meta name="color:Like Reblog Buttons" content="#393939"/>
- <meta name="color:Like Reblog Buttons Hover" content="#bbb"/>
- <meta name="color:Like Button Liked" content="#e7a6bc"/>
- <meta name="color:Post Info BG" content="#fce9e4"/>
- <meta name="color:Asker Avatar BG" content="#efe6e8"/>
- <meta name="color:Selection BG" content="#fee8e9"/>
- <meta name="color:Selection Text" content="#000"/>
- <meta name="color:Tooltip Text" content="#7e7e7e"/>
- <meta name="color:Tooltip BG" content="#f9f9f9"/>
- <meta name="select:Number of Columns" content="1" title="1"/>
- <meta name="select:Number of Columns" content="2" title="2"/>
- <meta name="select:Number of Columns" content="3" title="3"/>
- <meta name="select:Header BG Opacity" content=".8" title=".8"/>
- <meta name="select:Header BG Opacity" content="0" title="0"/>
- <meta name="select:Header BG Opacity" content=".6" title=".6"/>
- <meta name="select:Header BG Opacity" content="1" title="1"/>
- <meta name="select:Body Font Size" content="10" title="10px"/>
- <meta name="select:Body Font Size" content="11" title="11px"/>
- <meta name="select:Body Font Size" content="12" title="12px"/>
- <meta name="select:Body Font Size" content="13" title="13px"/>
- <meta name="select:Body Font Family" content="Karla" title="Karla">
- <meta name="select:Body Font Family" content="Work Sans" title="Work Sans">
- <meta name="select:Body Font Family" content="Roboto" title="Roboto"/>
- <meta name="select:Body Font Family" content="Inconsolata" title="Inconsolata"/>
- <meta name="select:Body Font Family" content="Muli" title="Muli"/>
- <meta name="select:Body Font Family" content="Vollkorn" title="Vollkorn"/>
- <meta name="select:Body Font Family" content="Playfair Display" title="Playfair Display">
- <meta name="select:Body Font Family" content="Cardo" title="Cardo"/>
- <meta name="select:Body Font Family" content="Anonymous Pro" title="Anonymous Pro"/>
- <meta name="select:Photoset Gutter" content="1" title="1px"/>
- <meta name="select:Photoset Gutter" content="2" title="2px"/>
- <meta name="select:Photoset Gutter" content="3" title="3px"/>
- <meta name="select:Photoset Gutter" content="4" title="4px"/>
- <meta name="select:Header Icon Shape" content="32" title="round"/>
- <meta name="select:Header Icon Shape" content="4" title="rounded corners"/>
- <meta name="select:Header Icon Shape" content="0" title="square"/>
- <meta name="select:Caption Image Size" content="18" title="18px"/>
- <meta name="select:Caption Image Size" content="24" title="24px"/>
- <meta name="select:Caption Image Size" content="30" title="30px"/>
- <meta name="select:Caption Image Shape" content="50" title="round"/>
- <meta name="select:Caption Image Shape" content="9" title="rounded corners"/>
- <meta name="select:Caption Image Shape" content="0" title="square"/>
- <meta name="select:Controls" content=".3" title="gray"/>
- <meta name="select:Controls" content="1" title="black"/>
- <meta name="select:Tiny Cursor" content="http://cur.cursors-4u.net/cursors/cur-9/cur817.cur" title="white"/>
- <meta name="select:Tiny Cursor" content="http://media.tumblr.com/tumblr_lqs4qdUu8n1qfoi4t.png" title="black"/>
- <meta name="if:Blog Title" content="1"/>
- <meta name="if:Sliding Blog Title" content="1"/>
- <meta name="if:Infinite Scroll" content="1"/>
- <meta name="if:Manually Load Content" content="1"/>
- <meta name="if:Fade In On Refresh" content="1"/>
- <meta name="if:Show Caption" content="1"/>
- <meta name="if:Unnest Caption" content="1"/>
- <meta name="text:Post Size" content="300"/>
- <meta name="text:Permalink Post Size" content="540"/>
- <meta name="text:Post Side Margin" content="20"/>
- <meta name="text:Post Side Padding" content="0"/>
- <meta name="text:Post Bottom Margin" content="100"/>
- <meta name="text:Link 1 URL" content="/"/>
- <meta name="text:Link 1" content="home"/>
- <meta name="text:Link 2 URL" content="/ask"/>
- <meta name="text:Link 2" content="mssg"/>
- <meta name="text:Link 3 URL" content="/archive"/>
- <meta name="text:Link 3" content="map"/>
- <meta name="text:Link 4 URL" content="/url"/>
- <meta name="text:Link 4" content="link 4"/>
- <meta name="text:Link 5 URL" content="/url"/>
- <meta name="text:Link 5" content="link 5"/>
- <meta name="text:Link 6 URL" content="/url"/>
- <meta name="text:Link 6" content="link 6"/>
- <meta name="text:Link 7 URL" content="/url"/>
- <meta name="text:Link 7" content="link 7"/>
- <meta name="text:Link 8 URL" content="/url"/>
- <meta name="text:Link 8" content="link 8"/>
- <style type="text/css">
- body {
- opacity:1;
- transition:.5s opacity;
- font:{select:Body Font Size}px/1.7 {select:Body Font Family}, calibri, sans-serif;
- color:{color:Text};
- background:{color:Background} url('{image:Background}') repeat fixed top left;
- }
- body.fade-out {opacity:0; transition:none;}
- body, a, a:hover {cursor:url({select:Tiny Cursor}), auto}
- a {text-decoration:none; color:{color:Link};}
- a:hover {color:{color:Link Hover};}
- i, em {color:{color:Italic};}
- b, strong {color:{color:Bold};}
- pre {
- font-family:inherit !important;
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- h6, small, big, sup, sub {font-size:1em;}
- h4, h5, h6 {margin:6px 0;}
- h5 {font-size:1.1em;}
- h4 {font-size:1.2em;}
- h3 {font-size:1.3em;}
- h2 {font-size:1.4em;}
- h1 {font-size:1.5em;}
- blockquote {
- margin:0;
- padding:0 10px;
- border-left:1px solid {color:Blockquote Border};
- }
- hr {border:1px solid {color:Blockquote Border};}
- ul {margin:0 0 0 -35px; list-style-type:none;}
- ol {margin-left:-25px;}
- ul > li:not(.no):before {content:'—'; margin-right:5px;}
- img {max-width:100%; height:auto;}
- /****** header ******/
- header {
- width:calc(100% - 30px);
- position:fixed;
- z-index:900;
- top:0;
- left:0;
- right:0;
- padding:40px 15px;
- text-align:center;
- background:rgba(255, 255, 255, {select:Header BG Opacity});
- }
- @font-face {
- font-family:cus;
- src:url(http://static.tumblr.com/0cdn90j/k8goq29oo/lucemita-font-ffp.otf);
- }
- #blog-title {font:35px cus; color:{color:Blog Title}; margin-top:0;}
- #header {
- width:500px;
- margin:auto;
- overflow:hidden;
- }
- #des {
- width:calc(45% - 45px);
- display:inline-block;
- vertical-align:middle;
- max-height:100px;
- overflow:hidden;
- text-align:right;
- }
- #des:before {
- position:absolute;
- background-size:20px;
- width:20px;
- height:20px;
- content:"";
- margin-top:-20px;
- margin-left:-6px;
- }
- #des div {display:inline-block;}
- #im {
- width:50px;
- height:50px;
- margin-left:30px;
- margin-right:30px;
- display:inline-block;
- vertical-align:middle;
- }
- #im img {max-width:100%; border-radius:{select:Header Icon Shape}px;}
- #im img:hover {opacity:.5;}
- #li {
- width:calc(45% - 45px);
- display:inline-block;
- vertical-align:middle;
- text-align:left;
- }
- #li a {margin:2px 5px; color:{color:Nav Links}; border-bottom:1px solid transparent;}
- #li a:hover {border-bottom:1px solid #686868; color:{color:Nav Links Hover};}
- /***** posts *****/
- #posts_container {
- margin:0 auto;
- left:auto;
- right:auto;
- margin-top:290px;
- {block:ifNotBlogTItle}margin-top:210px;{/block:ifNotBlogTItle}
- {block:IndexPage}width:calc(({text:Post Size}px - 4px + 2 * ({text:Post Side Padding}px + {text:Post Side Margin}px)) * {select:Number of Columns});{/block:IndexPage}
- {block:Permalink}width:calc({text:Permalink Post Size}px + {text:Post Side Padding}px * 2 - 4px);{/block:Permalink}
- }
- .posts {
- {block:IndexPage}
- margin-left:{text:Post Side Margin}px;
- margin-right:{text:Post Side Margin}px;
- {/block:IndexPage}
- margin-bottom:{text:Post Bottom Margin}px;
- padding:0 {text:Post Side Padding}px;
- overflow-wrap:break-word;
- word-wrap:break-word;
- background-color:{color:Posts BG};
- }
- .vertebrae {
- margin:auto;
- overflow:hidden;
- {block:Permalink}width:calc({text:Permalink Post Size}px - 4px);{/block:Permalink}
- {block:IndexPage}width:calc({text:Post Size}px - 4px);{/block:IndexPage}
- }
- .photo-slideshow .count-1, .pancake {
- {block:Permalink}width:{text:Permalink Post Size}px;{/block:Permalink}
- {block:IndexPage}width:{text:Post Size}px;{/block:IndexPage}
- }
- .photo-slideshow {position:relative;}
- .photo-slideshow .count-3 {max-width:177px; margin-bottom:calc({select:Photoset Gutter}px + 2px);}
- .photo-slideshow .row:last-of-type .count-3 {margin-bottom:0 !important;}
- .photo-slideshow .count-3:last-child {float:right;}
- .photo-slideshow .count-3:nth-child(2) {
- max-width:178px;
- position:absolute;
- left:50%;
- transform:translateX(-50%);
- -webkit-transform:translateX(-50%)
- }
- /***** photoset lightbox *****/
- .vignette, #vignette {opacity:0;}
- .lightbox-image, #tumblr_lightbox img {
- box-shadow:none !important;
- max-width:none;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- }
- .tmblr-lightbox, #tumblr_lightbox {background-color:rgba(255,255,255,.9) !important;}
- /***** caption / text *****/
- .caption {margin:0 5px; line-height:2em;}
- .caption a {border-bottom:1px solid #f2f2f2;}
- .caption a:hover {border-bottom:1px solid #f0f0f0;}
- img.tumblr_avatar {
- vertical-align:middle;
- width:{select:Caption Image Size}px;
- border-radius:{select:Caption Image Shape}%;
- }
- .caption a.tumblr_blog, #asker a {margin-left:7px; border:none; font-size:.9em; color:#adadad; border-bottom:1px solid #e5e5e5;}
- .caption a.tumblr_blog:hover, #asker a {color:#424242; border-bottom:1px solid #ccc;}
- .tumblr_parent p {padding-left:2px;}
- blockquote.tumblr_parent {padding:3px 3px 0px 3px; padding-top:10px; border:none;}
- hr {border-top:1px solid #f6f6f6;}
- .text {padding:10px;}
- .text_post_title, h1 {
- position:relative;
- top:-2px;
- margin-bottom:15px;
- margin-top:5px;
- padding:5px 8px 3px 8px;
- text-align:center;
- text-transform:lowercase;
- font-size:13px;
- }
- .text_post_title:after, h1:after {
- content:'';
- position:absolute;
- left:calc(50% - 35px);
- top:calc(100% + 5px);
- width:70px;
- height:1px;
- border-top:1px solid #eee;
- }
- /****** chat ******/
- .chat {padding-bottom:5px;}
- .no {padding-top:8px;}
- .lin {
- width:calc(100% - 10px);
- background:#f9f9f9;
- border-bottom:1px solid #f2f2f2;
- padding:3px;
- border-radius:3px;
- }
- /****** quote ******/
- #quote {padding:7px; font-size:1.2em;}
- #source {font-size:.9em; padding:7px;}
- /****** question ******/
- #question_post {padding:5px;}
- #asker_icon {
- display:inline-block;
- padding:4px;
- background-color:{color:Asker Avatar BG};
- border-radius:20px;
- }
- #asker_icon img {vertical-align:top; border-radius:20px;}
- #que {
- position:relative;
- display:inline-block;
- margin-left:10px;
- padding:7px;
- width:calc({text:Post Size}px - 73px);
- {block:Permalink}width:calc({text:Permalink Post Size}px - 73px);{/block:Permalink}
- vertical-align:middle;
- background-color:#f9f9f9;
- }
- #que:after {
- right:100%;
- top:50%;
- border:solid transparent;
- content:" ";
- height:0;
- width:0;
- position:absolute;
- pointer-events:none;
- border-right-color:#f9f9f9;
- border-width:5px;
- margin-top:-5px;
- }
- #asker {padding-bottom:2px;}
- #answer {padding:3px 7px;}
- /****** audio player ******/
- .audio-player {background:#fff!important;}
- #audio_post {background-color:#f9f9f9;}
- #album_art {
- position:absolute;
- width:30px;
- height:30px;
- z-index:1;
- border-radius:4px;
- }
- #album_art img {max-width:100%; border-radius:4px;}
- #audio_player_container {
- position:absolute;
- width:28px;
- height:28px;
- margin-top:1px;
- margin-left:1px;
- z-index:9;
- overflow:hidden;
- opacity:0;
- background-color:white;
- border-radius:4px;
- }
- #audio_post:hover #audio_player_container {opacity:1;}
- #audio_player_bg {margin-left:-3px;}
- #track_details_container {
- display:table;
- margin-left:40px;
- padding:0 5px;
- height:30px;
- }
- #track_details {display:table-cell; vertical-align:middle;}
- #track_name {font-weight:bold;}
- /****** post info ******/
- #blueberry {
- width:calc({block:IndexPage}{text:Post Size}px{/block:IndexPage}{block:Permalink}{text:Permalink Post Size}px{/block:Permalink} - 4px);
- padding-top:10px;
- padding-bottom:10px;
- color:{color:Post Info};
- background-color:{color:Posts BG};
- text-align:center;
- }
- .pinfo {font-size:.8em; padding-top:3px;}
- .pinfo span a {box-shadow: inset 0 -5px 0 {color:Post Info BG};}
- #tags {
- padding-bottom:12px;
- font-size:8px;
- word-break:break-all;
- }
- .tag {padding:2px; border-radius:4px;}
- .tag:nth-of-type(odd) {background:{color:Odd Tag BG}; color:{color:Odd Tag};}
- .tag:nth-of-type(even) {background:{color:Even Tag BG}; color:{color:Even Tag};}
- a.tag:hover {background:transparent;}
- /****** like / reblog buttons ******/
- #like_reblog {margin-bottom:10px;}
- .reblog-control, .like-control {
- display:inline-block;
- position:relative;
- border-radius:4px;
- }
- .reblog-control:before, .like-control:before {
- position:absolute;
- content:'';
- width:calc({block:IndexPage}{text:Post Size}px{/block:IndexPage}{block:Permalink}{text:Permalink Post Size}px{/block:Permalink} * 0.3);
- border-bottom:1px solid #f4f4f4;
- }
- .control span:hover, .like_button:hover, .like_button.liked:hover {color:{color:Like Reblog Buttons Hover};}
- .like-control, .control span {color:{color:Like Reblog Buttons};}
- .reblog-control {
- top:1px;
- padding:0 2px 0 1px;
- height:14px;
- background:{color:Reblog Button BG};
- font-size:10px;
- }
- .reblog-control:before {right:25px; top:7px;}
- .like-control {padding:2px; background:{color:Like Button BG};}
- .like-control:before {left:25px; top:6px;}
- .like_button::before, .reblog_button::before {display:block; line-height:1;}
- .like_button.liked {color:{color:Like Button Liked};}
- .like_button iframe {
- display:block;
- position:absolute;
- top:0;
- right:0;
- bottom:0;
- left:0;
- margin:0;
- opacity:0;
- }
- /****** post notes ******/
- #notecontainer .notes {
- max-height:400px;
- overflow-y:auto;
- {block:Permalink}width:{text:Permalink Post Size}px;{/block:Permalink}
- background-color:{color:Posts BG};
- -webkit-column-count:2;
- -moz-column-count:2;
- column-count:2;
- -webkit-column-gap:20px;
- -moz-column-gap:20px;
- column-gap:20px;
- }
- #notecontainer ol {
- list-style-type:none;
- margin:70px 0 0 0;
- padding:10px;
- }
- #notecontainer li {word-break:break-all;}
- #fel {
- position:fixed;
- right:5px;
- bottom:5px;
- z-index:999999999999999999999999999999999999999999;
- padding:5px;
- border-radius:3px;
- text-align:right;
- }
- #fel img {width:20px;}
- #fel span {font:9px karla; display:block; color:black; background:#fff;}
- .retags {padding-left:25px;}
- .retags a, .retags.error {
- text-transform:uppercase !important;
- letter-spacing:2px !important;
- font-weight:bold !important;
- font-size:7px !important;
- }
- #notecontainer a:hover, #notecontainer .retags a:hover, .retags.error {color:{color:Link Hover} !important;}
- #notecontainer .answer_content {font-style:italic; color:{color:Italic};}
- #notecontainer blockquote {
- border-color:transparent;
- margin:10px 5px 10px 20px;
- font-style:italic;
- }
- #notecontainer img.avatar {
- margin-right:10px;
- width:16px;
- height:16px;
- vertical-align:middle;
- border-radius:8px;
- }
- /****** pagination ******/
- #footer {
- position:relative;
- margin:0 auto;
- margin-bottom:80px;
- width:{text:Post Size}px;
- height:30px;
- }
- #manual a {
- margin:4px 6px;
- box-shadow:inset 0 -5px 0 {color:Post Info BG};
- }
- #manual a:hover {background:{color:Post Info BG}; color:{color:Link};}
- #manual {text-align:center; font-size:12px;}
- #manual:before, #manual:after {
- position:absolute;
- content:'';
- width:calc({text:Post Size}px * 0.3);
- border-bottom:1px solid #efefef;
- top:.8em;
- }
- #manual:before {left:20px;}
- #manual:after {right:20px;}
- #pagination a:first-of-type {float:left;}
- #pagination a:nth-of-type(2) {float:right;}
- #pagination a:first-of-type:before, #pagination a:nth-of-type(2):after {
- position:absolute;
- content:'';
- width:calc({text:Post Size}px * 0.06);
- border-bottom:1px solid #e2e2e2;
- top:1em;
- }
- #pagination a:first-of-type:before {left:45px;}
- #pagination a:nth-of-type(2):after {right:45px;}
- /****** general ******/
- ::-webkit-scrollbar {width:11px; height:11px;}
- ::-webkit-scrollbar-track {border:5px solid #fff; background-color:#eee;}
- ::-webkit-scrollbar-thumb {
- border:5px solid rgba(0, 0, 0, 0);
- background-clip:padding-box;
- background-color:rgba(0, 0, 0, 1);
- }
- .tmblr-iframe, .tmblr-iframe--desktop-logged-in-controls, .iframe-controls--desktop {
- position:fixed;
- z-index:8999999999999990!important;
- top:10px !important;
- right:5px !important;
- opacity:{select:Controls};
- -webkit-filter: invert(100%);
- -moz-filter:invert(100%);
- -ms-filter:invert(100%);
- -o-filter:invert(100%);
- filter:invert(100%);
- }
- ::selection {background-color:{color:Selection BG}; color:{color:Selection Text};}
- ::-moz-selection {background-color:{color:Selection BG}; color:{color:Selection Text};}
- #s-m-t-tooltip {
- max-width:300px;
- margin:13px 18px 7px 8px;
- padding:5px;
- z-index:999999999999999999;
- font-size:.9em;
- color:{color:Tooltip Text};
- background-color:{color:Tooltip BG};
- border-radius:4px;
- }
- #scrolltotop {
- position:fixed;
- width:40px;
- bottom:-15px;
- right:-70px;
- padding:5px;
- z-index:99999;
- text-align:center;
- cursor:pointer;
- font:9px karla;
- }
- a, a:hover, img, img:hover, #audio_post:hover #audio_player_container, #audio_player_container, .like_button, .like_button:hover, #scrolltotop, #scrolltotop:hover, .tmblr-iframe, .tmblr-iframe:hover, .control span, .control span:hover {transition-duration:.5s;}
- a.read_more {
- padding:3px 6px;
- border:1px solid {color:Reblog Button BG};
- background:#f9f9f9;
- border-radius:10px;
- text-transform:uppercase;
- font-size:.8em;
- letter-spacing:1px;
- }
- a.read_more:hover {background:{color:Reblog Button BG}; letter-spacing:2px; color:#000;}
- </style>
- </head>
- {block:ifSlidingBlogTitle}
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
- <script>
- var go = true;
- $(window).scroll(function() {
- if ($(this).scrollTop() > 100 && go) {
- {block:ifBlogTitle}
- $("#blog-title").animate({opacity:'0', marginTop:'-150px'}, {queue: false, duration: 'slow'});
- $("#header").animate({marginTop:'100px'}, {queue: false, duration: 'slow'});
- {/block:ifBlogTitle}
- $("#li a").css({'box-shadow':'inset 0 -5px 0 {color:Nav Links BG on Scroll}'});
- go = false;
- } else if ($(this).scrollTop() < 100 && !go) {
- {block:ifBlogTitle}
- $("#header").animate({marginTop:'0px'});
- $("#blog-title").animate({opacity:'1', marginTop:'0px'}, {queue: false, duration: 'slow'});
- {/block:ifBlogTitle}
- $("#li a").css({'box-shadow':'none'});
- go = true;
- }
- });
- </script>
- {/block:ifSlidingBlogTitle}
- <body>
- {block:ifFadeInOnRefresh}<script>document.body.className += ' fade-out';</script>{/block:ifFadeInOnRefresh}
- <!---------------------------- header ---------------------------->
- <header>
- {block:ifBlogTitle}<p id="blog-title">
- <a href="http://{name}.tumblr.com">- ̗̀ {Title} ̖́-</a></p>{/block:ifBlogTitle}
- <div id="header">
- <div id="des"><div>{Description}</div></div>
- <div id="im"><a href="http://{name}.tumblr.com"><img src="{image:Header Icon}"></a></div>
- <div id="li">
- <a href="{text:Link 1 URL}">{text:Link 1}</a>
- <a href="{text:Link 2 URL}">{text:Link 2}</a>
- <a href="{text:Link 3 URL}">{text:Link 3}</a>
- <a href="{text:Link 4 URL}">{text:Link 4}</a>
- <a href="{text:Link 5 URL}">{text:Link 5}</a>
- <a href="{text:Link 6 URL}">{text:Link 6}</a>
- <a href="{text:Link 7 URL}">{text:Link 7}</a>
- <a href="{text:Link 8 URL}">{text:Link 8}</a>
- </div>
- </div>
- </header>
- <!---------------------------- posts container ---------------------------->
- <div id="posts_container">
- <!-- posts -->
- {block:Posts}
- <div class="posts entry" id="{PostID}">
- <!-- text post -->
- {block:Text}
- {block:Date}
- {/block:Date}
- <div class="vertebrae">
- {block:Title}<div class="text_post_title"><a href="{Permalink}">{Title}</a></div>{/block:Title}
- <div class="caption">{Body}</div>
- </div>
- {/block:Text}
- <!-- link post -->
- {block:Link}
- <div class="vertebrae">
- <div class="text_post_title"><a href="{URL}">{Name}</a></div>
- <div class="caption">{block:Description}{Description}{/block:Description}</div>
- </div>
- {/block:Link}
- <!-- quote post -->
- {block:Quote}
- <div class="vertebrae">
- <div id="quote">{Quote}</div>
- {block:Source}<div id="source">— {Source}</div>{/block:Source}
- </div>
- {/block:Quote}
- <!-- chat post -->
- {block:Chat}
- <div class="vertebrae">
- {block:Title}<div class="text_post_title">{Title}</div>{/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="no">
- <div class="label">{block:Label}{Label}{/block:Label}</div>
- <div class="lin">{Line}</div>
- </li>
- {/block:Lines}
- </ul>
- </div>
- {/block:Chat}
- <!-- question post -->
- {block:Answer}
- <div class="vertebrae">
- <div id="question_post">
- <div id="asker_icon"><img src="{AskerPortraitURL-16}"></div>
- <div id="que">
- <div id="asker">{Asker}:</div>
- <div id="question">{Question}</div>
- </div>
- <div id="answer">{Answer}</div>
- </div>
- {block:ifShowCaption}<div class="caption">{block:Caption}{Caption}{/block:Caption}</div>{/block:ifShowCaption}
- </div>
- {/block:Answer}
- <!-- audio post -->
- {block:AudioPlayer}
- <div class="vertebrae">
- <div id="audio_post">
- <div id="album_art">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
- <div id="audio_player_container"><div id="audio_player_bg">{AudioPlayer}</div></div>
- <div id="track_details_container">
- <div id="track_details">
- {block:TrackName}<span id="track_name">{TrackName}</span>{/block:TrackName} /
- {block:Artist}<span>{Artist}</span>{/block:Artist}<br />
- </div>
- </div>
- </div>
- {block:ifCaption}<div class="caption audio">{block:Caption}{Caption}{/block:Caption}</div>{/block:ifCaption}
- </div>
- {/block:AudioPlayer}
- <!-- photo post -->
- {block:Photo}
- <div class="vertebrae">
- <div class="pancake">
- {LinkOpenTag}<a href="#" style="margin:0 !important; height:0 !important;" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"></a>{LinkCloseTag}
- </div>
- {block:ifShowCaption}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifShowCaption}
- </div>
- {/block:Photo}
- <!-- photoset post -->
- {block:Photoset}
- <div class="vertebrae">
- <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>
- {block:ifShowCaption}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifShowCaption}
- </div>
- {/block:Photoset}
- <!-- video post -->
- {block:Video}
- <div class="vertebrae">
- <div class="video">{Video-500}</div>
- {block:ifShowCaption}<div class="caption">{block:Caption}{Caption}{/block:Caption}</div>{/block:ifShowCaption}
- </div>
- {/block:Video}
- {block:Date}
- <div id="blueberry">
- <div id="like_reblog">
- <div class="control reblog-control"><a href="{ReblogURL}" target="_blank"><span class="icon-reload"></span></a></div>
- <div class="control like-control">{LikeButton size="13" color="black"}</div>
- </div>
- {block:HasTags}
- <div id="tags">
- {block:Tags} <a class="tag" href="{TagURL}" data-hover="{Tag}">{Tag}</a>{/block:Tags}
- </div>
- {/block:HasTags}
- <div class="pinfo">
- <span><a href="{Permalink}" title="{TimeAgo} / {24Hour}:{Minutes}:{Seconds}">{DayOfMonthWithZero} {ShortMonth} {ShortYear}</a></span>
- {block:NoteCount} · <span><a href="{Permalink}">{NoteCountWithLabel}</a></span>{/block:NoteCount}
- </div>
- </div>
- <!--{block:RebloggedFrom}<a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}-->
- {/block:Date}
- {block:ContentSource}<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}
- </div>
- <!---------------------------- end posts ---------------------------->
- <div id="notecontainer">{PostNotes}</div>
- {/block:Posts}
- </div>
- <!---------------------------- end posts container ---------------------------->
- <!---------------------------- pagination ---------------------------->
- {block:ifNotInfiniteScroll}
- <div id="footer">
- {block:Pagination}
- <div id="pagination">
- {block:JumpPagination length="3"}
- {block:JumpPage}
- <a class="jump_page" href="{URL}">page {PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- </div>
- {/block:Pagination}
- </div>
- {/block:ifNotInfiniteScroll}
- {block:IndexPage}
- {block:ifInfiniteScroll}
- <div class="navigation" id="navigation">
- {block:Pagination}
- {block:PreviousPage}<a href="{PreviousPage}" class="navigate">{/block:PreviousPage}{block:PreviousPage}</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}" class="navigate" id="nextPage">{/block:NextPage}{block:NextPage}</a>{/block:NextPage}
- {/block:Pagination}
- </div>
- {block:ifManuallyLoadContent}
- <div id="footer"><div id="manual"><a id="loadmore" href="{text:Link 1 URL}">Load More</a></div></div>
- {/block:ifManuallyLoadContent}
- {/block:IfInfiniteScroll}
- {/block:IndexPage}
- <div id="scrolltotop">to top</div>
- <!---------------------------- scripts ---------------------------->
- <script type="text/javascript" src="http://static.tumblr.com/iuggpng/bGqm4yfv9/jquery-1.7.2.js"></script>
- {block:IndexPage}{block:ifInfiniteScroll}<script src="http://static.tumblr.com/0cdn90j/vsOo9wcfa/infinitescroll.js"></script>{/block:ifInfiniteScroll}<script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/3.1.8/imagesloaded.pkgd.min.js"></script>{/block:IndexPage}{block:ifUnnestCaption}<script src="http://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>{/block:ifUnnestCaption}<script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script><script src="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script><div id="fel"><a href="http://felinum.tumblr.com" title="theme by felinum"><img src="http://static.tumblr.com/0cdn90j/0Xook74au/feli.svg"/><span>@felinum</span></a></div><script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.4/SmoothScroll.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox:true,
- rounded:false,
- gutter:'{select:Photoset Gutter}px',
- photoset:'.photo-slideshow',
- photoWrap:'.photo-data',
- photo:'.pxu-photo'
- });
- {block:ifUnnestCaption}
- $('.posts').unnest({
- yourCaption:'.caption',
- newCaptionUsername:false,
- originalPostCaptionUsername:false,
- tumblrAvatars:true,
- tumblrAvatarClass:'.tumblr_avatar',
- usernameColon:false
- });
- {/block:ifUnnestCaption}
- {block:IndexPage}
- var $container = $('#posts_container');
- $container.imagesLoaded(function(){
- $container.masonry({
- itemSelector:'.posts',
- });
- });
- {block:ifInfiniteScroll}
- $container.infinitescroll({
- navSelector:'#navigation',
- nextSelector:'#navigation a#nextPage',
- itemSelector:'.posts',
- loadingImg:'',
- loadingText:'<em></em>',
- bufferPx:2000
- },
- function(newElements){
- var $newElems = $( newElements ).css({opacity: 0});
- resizeVideos();
- var $newElemsIDs = $newElems.map(function(){
- return this.id;
- }).get();
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox:true,
- rounded:false,
- gutter:'{select:Photoset Gutter}px',
- photoset:'.photo-slideshow',
- photoWrap:'.photo-data',
- photo:'.pxu-photo'
- });
- {block:ifUnnestCaption}
- $newElems.unnest({
- yourCaption:'.caption',
- newCaptionUsername:false,
- originalPostCaptionUsername:false,
- tumblrAvatars:true,
- tumblrAvatarClass:'.tumblr_avatar',
- usernameColon:false
- });
- {/block:ifUnnestCaption}
- $newElems.imagesLoaded(function(){
- $newElems.animate({opacity: 1});
- $container.masonry('appended', $newElems, true);
- console.log($newElems, $newElemsIDs);
- Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
- });
- }
- );
- {block:ifManuallyLoadContent}
- $(window).unbind('.infscr');
- $("#loadmore").click(function(){
- $container.infinitescroll('retrieve');
- return false;
- });
- {/block:ifManuallyLoadContent}
- {/block:ifInfiniteScroll}
- {/block:IndexPage}
- });
- </script>
- <script>
- $(function() {
- $('body').removeClass('fade-out');
- });
- </script>
- <script type="text/javascript">
- $(document).ready(function(){
- $(window).scroll(function(){
- if ($(this).scrollTop() > 400){
- $('#scrolltotop').stop().animate({right:'0px', bottom:'10px'});
- $('#fel').stop().stop().animate({bottom:'30px'});
- }
- else {
- $('#scrolltotop').stop().animate({right:'-85px', bottom:'-15px'});
- $('#fel').stop().stop().animate({bottom:'5px'});
- }
- });
- $('#scrolltotop').click(function(){
- $("html, body").animate({scrollTop:0}, 800);
- return false;
- });
- });
- </script>
- <script src="http://static.tumblr.com/0cdn90j/glvnidntk/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:0,
- tip_fade_speed:0,
- attribute:"title"
- });
- });
- })(jQuery);
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement