Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCYTPE html>
- <html>
- <!--
- credits:
- - icon font by saturnthms: http://saturnthms.com/font
- - infinite scroll by paul irish
- - cheer theme by annasthms
- -->
- <head>
- <title>{block:PostSummary}{PostSummary} | {/block:PostSummary}{block:TagPage}#{Tag} | {/block:TagPage}{block:SearchPage}{SearchQuery} | {/block:SearchPage}{block:DayPage}{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear} | {/block:DayPage}{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}
- <link href="https://fonts.googleapis.com/css?family={text:google font}" rel="stylesheet">
- <link href="//solrainha.github.io/saturnicons/saturnicons.css" rel="stylesheet">
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <meta name="image:background" content="" />
- <meta name="color:color 1" content="#862c59" />
- <meta name="color:color 2" content="#462446" />
- <meta name="color:lines" content="#888888" />
- <meta name="color:list icons" content="#462446" />
- <meta name="color:font" content="#000000" />
- <meta name="color:background" content="#ffffff" />
- <meta name="color:sidebar background" content="#fafafa" />
- <meta name="color:sidebar border" content="#eeeeee" />
- <meta name="color:sidebar username" content="#777777" />
- <meta name="color:sidebar username hover" content="#000000" />
- <meta name="color:title" content="#000000" />
- <meta name="color:sidebar links" content="#555555" />
- <meta name="color:sidebar links hover" content="#000000" />
- <meta name="color:post background" content="#fafafa" />
- <meta name="color:post info" content="#333333" />
- <meta name="color:post info hover" content="#7a7a7a" />
- <meta name="color:post info border" content="#eeeeee" />
- <meta name="color:post titles" content="#462446" />
- <meta name="color:post titles hover" content="#222222" />
- <meta name="color:like and reblog" content="#462446" />
- <meta name="color:like and reblog hover" content="#862c59" />
- <meta name="color:post liked" content="#b10f2e" />
- <meta name="color:pagination background" content="#fafafa" />
- <meta name="font:font" content="Avalon"/>
- <meta name="select:sidebar" content="side left" title="left" />
- <meta name="select:sidebar" content="side right" title="right" />
- <meta name="select:sidebar" content="top" title="top" />
- <meta name="select:sidebar" content="top fixed" title="fixed top" />
- <meta name="select:sidebar borders" content="solid" title="solid" />
- <meta name="select:sidebar borders" content="dashed" title="dashed" />
- <meta name="select:sidebar borders" content="dotted" title="dotted" />
- <meta name="select:title text align" content="center" title="center" />
- <meta name="select:title text align" content="left" title="left" />
- <meta name="select:title text align" content="right" title="right" />
- <meta name="select:title text align" content="justify" title="justify" />
- <meta name="select:description text align" content="center" title="center" />
- <meta name="select:description text align" content="left" title="left" />
- <meta name="select:description text align" content="right" title="right" />
- <meta name="select:description text align" content="justify" title="justify" />
- <meta name="select:blog links text align" content="center" title="center" />
- <meta name="select:blog links text align" content="left" title="left" />
- <meta name="select:blog links text align" content="right" title="right" />
- <meta name="select:blog links text align" content="justify" title="justify" />
- <meta name="select:search text align" content="center" title="center" />
- <meta name="select:search text align" content="left" title="left" />
- <meta name="select:search text align" content="right" title="right" />
- <meta name="select:reblog icon" content="ava" title="avatar" />
- <meta name="select:reblog icon" content="icon" title="icon" />
- <meta name="select:reblog icon" content="none" title="none" />
- <meta name="select:time type" content="short" title="shortened time ago" />
- <meta name="select:time type" content="long" title="full time ago" />
- <meta name="select:time type" content="date" title="date and time" />
- <meta name="select:post info border" content="solid" title="solid" />
- <meta name="select:post info border" content="dashed" title="dashed" />
- <meta name="select:post info border" content="dotted" title="dotted" />
- <meta name="select:pagination type" content="simple" title="simple" />
- <meta name="select:pagination type" content="jump" title="jump pagination" />
- <meta name="select:pagination type" content="infinite" title="infinite scroll" />
- <meta name="select:pagination type" content="loadmore" title="load more" />
- <meta name="if:bold title" content="1" />
- <meta name="if:italic title" content="1" />
- <meta name="if:show avatar" content="1" />
- <meta name="if:show title" content="1" />
- <meta name="if:show description" content="1" />
- <meta name="if:show search bar" content="1" />
- <meta name="if:bold reblogger" content="1" />
- <meta name="if:colon after reblogger" content="1" />
- <meta name="if:show captions on index pages" content="1" />
- <meta name="if:grayscale photos" content="1" />
- <meta name="if:tags icon" content="1" />
- <meta name="if:show tags on index pages" content="1" />
- <meta name="if:fill in heart when liked" content="1" />
- <meta name="if:show like button on index pages" content="1" />
- <meta name="if:dark tumblr controls" content="1" />
- <meta name="text:google font" content=""/>
- <meta name="text:font size" content="" />
- <meta name="text:title font size" content="1.25em" />
- <meta name="text:description font size" content="0.95em" />
- <meta name="text:photoset gutter" content="3px" />
- <meta name="text:blog link one name" content="" />
- <meta name="text:blog link one url" content="" />
- <meta name="text:blog link two name" content="" />
- <meta name="text:blog link two url" content="" />
- <meta name="text:blog link three name" content="" />
- <meta name="text:blog link three url" content="" />
- <meta name="text:blog link four name" content="" />
- <meta name="text:blog link four url" content="" />
- <meta name="text:blog link five name" content="" />
- <meta name="text:blog link five url" content="" />
- <style>
- * {
- position: relative;
- }
- body {
- font-family: {block:Ifgooglefont}'{text:google font}', {/block:Ifgooglefont}{font:font};
- color: {color:font};
- font-size: {text:font size};
- background: {color:background} url('{image:background}') no-repeat fixed center;
- background-size: cover;
- }
- a {
- text-decoration: none;
- color: {color:color 1};
- }
- a:hover {
- color: {color:color 2};
- }
- hr {
- height: 1px;
- width: 75%;
- background: {color:lines};
- border: none;
- }
- b {
- color: {color:color 2};
- }
- u, s, strike {
- text-decoration-color: {color:lines};
- }
- h1, h2, h3, h4, h5, h6 {
- color: {color:color 1};
- }
- p:first-child {
- margin-top: 0;
- }
- p:last-child {
- margin-bottom: 0;
- }
- img {
- max-width: 100%;
- height: auto;
- }
- blockquote {
- border-left: 1px solid {color:lines};
- margin: 0;
- padding: 0 0 0 4%;
- }
- blockquote img {
- height: 100%;
- width: 100%;
- }
- blockquote img:nth-child(2) {
- margin-top: 1em;
- }
- blockquote iframe {
- width: 100%;
- }
- @media screen and (min-width: 810px) {
- .side div#container {
- margin: auto;
- width: 805px;
- }
- .side aside {
- width: 250px;
- }
- .side.right aside {
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- margin-left: 805px;
- z-index: 10;
- }
- .side.left section#posts {
- margin-left: 265px;
- }
- .side.left iframe.tmblr-iframe {
- position: fixed;
- left: calc(50% - 402.5px + 125px) !important;
- -webkit-transform: translateX(-50%) scale(0.8);
- transform: translateX(-50%) scale(0.8);
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- .side.right iframe.tmblr-iframe {
- position: fixed;
- left: calc(50% + 402.5px - 125px) !important;
- -webkit-transform: translateX(-50%) scale(0.8);
- transform: translateX(-50%) scale(0.8);
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- .left div#pagination, .left div#load-more {
- margin: 0 20px 1.5em 285px;
- }
- .right div#pagination, .right div#load-more {
- margin: 0 285px 1.5em 20px;
- }
- .top div#pagination, .top div#load-more {
- margin: 0 20px 1.5em;
- }
- }
- @media screen and (min-width: 860px) {
- .side div#container {
- margin: auto;
- width: 855px;
- }
- .side aside {
- width: 300px;
- }
- .side.right aside {
- -webkit-transform: translateX(-100%);
- transform: translateX(-100%);
- margin-left: 855px;
- z-index: 10;
- }
- .side.left section#posts {
- margin-left: 315px;
- }
- .side.left iframe.tmblr-iframe {
- position: fixed;
- left: calc(50% - 427.5px + 150px) !important;
- -webkit-transform: translateX(-50%) scale(0.8);
- transform: translateX(-50%) scale(0.8);
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- .side.right iframe.tmblr-iframe {
- position: fixed;
- left: calc(50% + 427.5px - 150px) !important;
- -webkit-transform: translateX(-50%) scale(0.8);
- transform: translateX(-50%) scale(0.8);
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- .left div#pagination, .left div#load-more {
- margin: 0 20px 1.5em 335px;
- }
- .right div#pagination, .right div#load-more {
- margin: 0 335px 1.5em 20px;
- }
- .top div#pagination, .top div#load-more {
- margin: 0 20px 1.5em;
- }
- }
- .top div#container {
- margin: auto;
- width: 540px;
- }
- /* sidebar/header */
- aside {
- background: {color:sidebar background};
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .side aside {
- position: fixed;
- top: 15vh;
- max-height: 70vh;
- }
- .top aside {
- width: 500px;
- margin: 0 20px 20px;
- {block:Ifshowsearchbar}top: 3em;{/block:Ifshowsearchbar}
- {block:IfNotshowsearchbar}top: 2em;{/block:IfNotshowsearchbar}
- z-index: 10;
- }
- aside.stay {
- position: fixed !important;
- {block:Ifshowsearchbar}top: 30px;{/block:Ifshowsearchbar}
- {block:IfNotshowsearchbar}top: 0;{/block:IfNotshowsearchbar}
- border-bottom: 1px {select:sidebar borders} {color:sidebar border};
- }
- /* sidebar blog avatar + username */
- .side div#blog-name {
- display: table;
- width: calc(100% - 1em);
- padding: 0.5em;
- border-bottom: 1px {select:sidebar borders} {color:sidebar border};
- }
- .side div#blog-name div {
- display: table-cell;
- vertical-align: middle;
- }
- .side div#blog-name div#name {
- text-align: right;
- padding-right: 0.5em;
- font-size: 0.9em;
- }
- div#blog-name img {
- border-radius: 100%;
- }
- .side div#blog-name img {
- height: 2em;
- }
- div#blog-name div#name a {
- color: {color:sidebar username};
- }
- div#blog-name div#name a:hover {
- color: {color:sidebar username hover};
- }
- /* sidebar blog title + description */
- .side div#blog-info {
- padding: 0.75em;
- }
- div#blog-title {
- text-align: {select:title text align};
- font-size: {text:title font size};
- {block:Ifshowdescription}margin-bottom: 0.5em;{/block:Ifshowdescription}
- color: {color:title};
- {block:Ifboldtitle}font-weight: bold;{/block:Ifboldtitle}
- {block:Ifitalictitle}font-style: italic;{/block:Ifitalictitle}
- }
- div#blog-desc {
- font-size: {text:description font size};
- text-align: {select:description text align};
- }
- /* header */
- .top div#blog-table {
- display: table;
- width: 100%;
- }
- .top div#blog-name, .top div#blog-info {
- display: table-cell;
- vertical-align: middle;
- padding: 0.75em;
- }
- .top div#blog-name {
- text-align: center;
- border-right: 1px {select:sidebar borders} {color:sidebar border};
- }
- .top div#blog-name div#name {
- {block:Ifshowavatar}margin-top: 0.75em;{/block:Ifshowavatar}
- }
- {block:IfNotshowtitle}{block:IfNotshowdescription}
- div#blog-info {
- display: none !important;
- }
- .top div#blog-name {
- border-right: none !important;
- }
- {/block:IfNotshowdescription}{/block:IfNotshowtitle}
- /* blog links */
- div#blog-links {
- padding: 0.5em;
- font-size: 0.9em;
- border-top: 1px {select:sidebar borders} {color:sidebar border};
- {block:IfNotshowtitle}{block:IfNotshowdescription}
- border-top: none;
- {/block:IfNotshowdescription}{/block:IfNotshowtitle}
- text-align: {select:blog links text align};
- }
- div#blog-links a {
- color: {color:sidebar links};
- display: inline-block;
- margin: 0 0.35em;
- }
- div#blog-links a:hover {
- color: {color:sidebar links hover};
- }
- /* searchbar */
- .side div#search {
- padding: 0.25em;
- border-top: 1px {select:sidebar borders} {color:sidebar border};
- }
- .top div#search {
- position: absolute;
- top: 0;
- -webkit-transform: translateY(-100%);
- transform: translateY(-100%);
- width: 100%;
- border-bottom: 1px {select:sidebar borders} {color:sidebar border};
- padding: 0.25em;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- background: {color:sidebar background};
- }
- div#search input {
- border: none;
- outline: none;
- background: {color:sidebar background};
- width: 100%;
- padding: 3px 2px;
- font-family: {block:Ifgooglefont}'{text:google font}', {/block:Ifgooglefont}{font:font};
- text-align: {select:search text align};
- font-size: {text:font size};
- }
- div#search input::-webkit-input-placeholder {
- color: {color:color 2};
- text-transform: lowercase;
- letter-spacing: 1px;
- }
- div#search input:-ms-input-placeholder {
- color: {color:color 2};
- text-transform: lowercase;
- letter-spacing: 1px;
- }
- div#search input::-ms-input-placeholder {
- color: {color:color 2};
- text-transform: lowercase;
- letter-spacing: 1px;
- }
- div#search input::placeholder {
- color: {color:color 2};
- text-transform: lowercase;
- letter-spacing: 1px;
- }
- .top section#posts {
- {block:Ifshowsearchbar}padding-top: 4em;{/block:Ifshowsearchbar}
- {block:IfNotshowsearchbar}padding-top: 2em;{/block:IfNotshowsearchbar}
- }
- /* posts */
- .post, div#post-notes {
- width: 500px;
- margin: 20px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- }
- .post:not(.photo):not(.audio):not(.video) .content, .caption, div#post-notes {
- padding: 0.75em;
- background: {color:post background};
- }
- /* infinite scroll post fade in */
- @-webkit-keyframes fade {
- from {opacity:0;}
- to {opacity:1;}
- }
- @keyframes fade {
- from {opacity:0;}
- to {opacity:1;}
- }
- .post.new {
- -webkit-animation: fade 2s;
- animation: fade 2s;
- }
- /* ordered + unordered lists */
- .post ul, .post ol {
- list-style: none;
- padding: 0 0 0 1.5em;
- }
- .post ol {
- counter-reset: lists;
- }
- .post li:not(:last-of-type) {
- margin-bottom: 0.25em;
- }
- .post ol li:before {
- counter-increment: lists;
- content: counter(lists) ".";
- color: {color:list icons};
- position: absolute;
- left: -1.15em;
- font-weight: bold;
- }
- .post ul li:before {
- content: "\e088"; /* change this if you want a different icon for lists */
- position: absolute;
- font-family: 'saturnicons';
- color: {color:list icons};
- top: 0.35em;
- left: -1.75em;
- font-size: 0.75em;
- }
- /* post info (top/bottom) */
- table.info {
- width: 100%;
- background: {color:post background};
- padding: 0.5em;
- font-size: 0.9em;
- }
- .post:not(.photo):not(.audio):not(.video) table.reblog-info {
- border-bottom: 1px {select:post info border} {color:post info border};
- }
- table.reblog-info a {
- color: {color:post info};
- }
- table.reblog-info a:hover {
- color: {color:post info hover};
- }
- td.src img {
- margin-right: 0.65em;
- border-radius: 100%;
- width: 1.5em;
- }
- td.src img, td.src a {
- display: inline-block;
- vertical-align: middle;
- }
- td.other, td.share {
- text-align: right;
- font-size: 0.9em;
- padding-right: 0.25em;
- }
- .via {
- text-transform: lowercase;
- margin-right: 0.75em;
- }
- table.post-info {
- border-top: 1px {select:post info border} {color:post info border};
- }
- table.post-info td {
- vertical-align: top;
- }
- td.tags span {
- font-size: 0.65em;
- margin-right: 0.65em;
- color: {color:post info};
- }
- td.tags a {
- margin: 0 0.35em 0 0;
- font-size: 0.9em;
- color: {color:post info};
- }
- td.tags a:hover, div.notes a:hover, .cont-source a:hover {
- color: {color:post info hover};
- }
- td.tags a:not(:last-child):after {
- content: ",";
- }
- td.share {
- min-width: 3em;
- }
- .buttons div {
- font-size: 0.9em;
- top: 0.15em;
- }
- div.notes {
- margin-top: 0.35em;
- }
- div.notes a, .cont-source, .cont-source a {
- color: {color:post info};
- }
- .cont-source {
- text-transform: lowercase;
- font-size: 0.9em;
- }
- {block:IndexPage}
- {block:IfNotshowcaptionsonindexpages}
- .caption {
- display: none;
- }
- {/block:IfNotshowcaptionsonindexpages}
- {block:IfNotshowtagsonindexpages}
- td.tags {
- display: none;
- }
- {/block:IfNotshowtagsonindexpages}
- {/block:IndexPage}
- /* post titles, link posts */
- a.title, a.path.has-desc {
- display: block;
- text-align: center;
- font-weight: bold;
- margin-bottom: 0.5em;
- color: {color:post titles};
- }
- a.path {
- color: {color:post titles};
- }
- a.title:hover, a.path:hover {
- color: {color:post titles hover};
- }
- a.pic, .audio iframe, .video iframe {
- margin-bottom: -7px;
- display: block;
- }
- /* photo + photoset posts */
- .photo-slideshow {
- background: {color:post background};
- }
- {block:Ifgrayscalephotos}
- a.pic img, .photo-data img {
- -webkit-filter: grayscale(50%);
- filter: grayscale(50%);
- -webkit-transition: 0.75s all ease-in-out;
- transition: 0.75s all ease-in-out;
- }
- a.pic img:hover, .photo-data:hover img {
- -webkit-filter: grayscale(0);
- filter: grayscale(0);
- }
- {/block:Ifgrayscalephotos}
- /* chat posts */
- table.lines {
- font-size: {text:font size};
- }
- table.lines td {
- vertical-align: top;
- }
- td.label {
- padding-right: 0.75em;
- color: {color:color 2};
- text-transform: lowercase;
- font-variant: small-caps;
- font-weight: bold;
- }
- /* quote posts */
- .words {
- font-size: 1.1em;
- font-weight: bold;
- color: {color:color 2};
- }
- .source {
- font-size: 0.9em;
- margin-top: 0.25em;
- }
- .source:before {
- content: "\2014";
- margin-right: 0.5em;
- }
- /* audio posts */
- iframe.tumblr_audio_player {
- height: 85px;
- }
- iframe.spotify_audio_player {
- height: 80px;
- }
- /* reblogger info, ask posts */
- .reblogged:not(:last-of-type), .qna:not(:last-of-type) {
- margin-bottom: 0.5em;
- }
- .blog {
- {block:Ifboldreblogger}font-weight: bold;{/block:Ifboldreblogger}
- display: inline-block;
- margin-right: 0.5em;
- text-transform: lowercase;
- }
- .blog.none img, .blog.icon img {
- display: none;
- }
- .blog.ava img {
- height: 1em;
- border-radius: 15%;
- margin-right: 0.25em;
- }
- .blog.icon span:before {
- content:'\e276';
- font-family:'saturnicons';
- font-size: 0.65em;
- margin-right: 0.5em;
- opacity: 0.5;
- }
- .qna.ask .blog.icon span:before {
- content: '\e1e7';
- }
- .qna.answer .blog.icon span:before {
- content: '\e082';
- }
- .qna.reply .blog.icon span:before {
- content: '\e081';
- }
- .blog + p, .blog + .speech p:first-child {
- display: inline;
- }
- .blog span:after {
- {block:Ifcolonafterreblogger}content: ':';{/block:Ifcolonafterreblogger}
- }
- /* like + reblog buttons */
- .like-button, .reblog-button {
- display: inline-block;
- height: 1em;
- }
- .like-button {
- margin-right: 0.5em;
- {block:IfNotshowlikebuttononindexpages}{block:IndexPage}display: none;{/block:IndexPage}{/block:IfNotshowlikebuttononindexpages}
- }
- .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;
- }
- .new-like-button {
- width: 100%;
- height: 100%;
- z-index: 1;
- color: {color:like and reblog};
- }
- .like_button:hover + .new-like-button > span {
- color: {color:like and reblog hover};
- }
- .like_button.liked + .new-like-button > span {
- color: {color:post liked};
- }
- .like_button.liked + .new-like-button > span:before {
- {block:Iffillinheartwhenliked}content: '\e12a';{/block:Iffillinheartwhenliked}
- }
- .reblog-button a {
- color: {color:like and reblog};
- }
- .reblog-button a:hover {
- color: {color:like and reblog hover};
- }
- /* post notes */
- ol.notes {
- list-style: none;
- padding: 0;
- margin: 0;
- }
- li.note {
- margin: 10px 0;
- }
- li.note:first-child {
- margin-top: 0;
- }
- li.note:last-child {
- margin-bottom: 0;
- }
- li.note.reblog:before {
- content: '\21BA';
- font-size: 0.85em;
- margin-right: 10px;
- }
- li.note.like:before {
- content: '\2665';
- margin-right: 10px;
- }
- li.note blockquote {
- margin-top: 0.5em;
- }
- img.avatar {
- display: none;
- }
- /* pagination, load more button */
- div#pagination, div#load-more {
- text-align: center;
- background: {color:pagination background};
- padding: 0.75em;
- font-size: 0.9em;
- text-transform: lowercase;
- }
- div#pagination.infinite, div#pagination.loadmore, div#load-more:not(.loadmore) {
- display: none;
- }
- div#pagination * {
- margin: 0 0.35em;
- display: inline-block;
- }
- div#pagination span {
- color: {color:color 2};
- font-weight: bold;
- font-size: 1.1em;
- }
- div#pagination.simple .page {
- display: none;
- }
- div#load-more {
- cursor: help;
- }
- /* photo lightboxes */
- .tmblr-lightbox {
- background: #fff !important;
- background: rgba(255,255,255,0.85) !important;
- }
- .tmblr-lightbox .vignette {
- opacity: 0;
- }
- .tmblr-lightbox .lightbox-image {
- -webkit-box-shadow: none !important;
- box-shadow: none !important;
- }
- .lightbox-caption {
- color: #000 !important;
- text-shadow: none !important;
- }
- /* tumblr controls */
- .top:not(.fixed) iframe.tmblr-iframe {
- position: absolute !important;
- left: 50% !important;
- -webkit-transform: translateX(-50%) scale(0.8);
- transform: translateX(-50%) scale(0.8);
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- .top.fixed iframe.tmblr-iframe {
- {block:Ifdarktumblrcontrols}-webkit-filter: invert(100%);filter: invert(100%);{/block:Ifdarktumblrcontrols}
- }
- div#infscr-loading {
- display: none !important;
- }
- a#scroll-up {
- position: fixed;
- bottom: 31px;
- right: 5px;
- background: #fff;
- padding: 6px 2.5px 2px;
- font-size: 0.8em;
- }
- a#cred {
- position: fixed;
- bottom: 5px;
- right: 5px;
- background: #fff;
- padding: 3px 6px;
- font-size: 0.8em;
- }
- {CustomCSS}
- </style>
- </head>
- <body class="{select:sidebar}">
- <div id="container">
- <aside>
- <div id="blog-table">
- <div id="blog-name">
- <div>{block:Ifshowavatar}<img src="{PortraitURL-64}" />{/block:Ifshowavatar}</div>
- <div id="name"><a href="{BlogURL}">{Name}</a></div>
- </div>
- <div id="blog-info">
- {block:Ifshowtitle}<div id="blog-title">{Title}</div>{/block:Ifshowtitle}
- {block:Ifshowdescription}<div id="blog-desc">{Description}</div>{/block:Ifshowdescription}
- </div>
- </div>
- <div id="blog-links">
- <a href="/">home</a>{block:AskEnabled}<a href="/ask">ask</a>{/block:AskEnabled}<a href="/archive">archive</a>{block:Ifbloglinkoneurl}<a href="{text:blog link one url}">{text:blog link one name}</a>{/block:Ifbloglinkoneurl}{block:Ifbloglinktwourl}<a href="{text:blog link two url}">{text:blog link two name}</a>{/block:Ifbloglinktwourl}{block:Ifbloglinkthreeurl}<a href="{text:blog link three url}">{text:blog link three name}</a>{/block:Ifbloglinkthreeurl}{block:Ifbloglinkfoururl}<a href="{text:blog link four url}">{text:blog link four name}</a>{/block:Ifbloglinkfoururl}{block:Ifbloglinkfiveurl}<a href="{text:blog link five url}">{text:blog link five name}</a>{/block:Ifbloglinkfiveurl}
- </div>
- {block:Ifshowsearchbar}<div id="search"><form action="/search" method="get"><input type="text" name="q" placeholder="{lang:Search}" value="{SearchQuery}"/></form></div>{/block:Ifshowsearchbar}
- </aside>
- <section id="posts">
- {block:Posts}<article class="post {PostType}" id="{PostID}">
- {block:Date}<table class="reblog-info info">
- <td class="src">{block:RebloggedFrom}<img src="{ReblogRootPortraitURL-30}" /><span><a href="{ReblogRootURL}">{ReblogRootName}</a></span>{/block:RebloggedFrom}{block:NotReblog}<img src="{PortraitURL-30}" /><span><a href="{Permalink}">{Name}</a></span>{/block:NotReblog}</td>
- <td class="other">{block:RebloggedFrom}<span class="via"><a href="{ReblogParentURL}" title="{ReblogParentName}">{lang:Via}</a></span>{/block:RebloggedFrom}<span><a href="{Permalink}"><span class="date">{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero} {24HourWithZero}:{Minutes}:{Seconds}</span></a></span></td>
- </table>{/block:Date}
- <div class="content">
- {block:Title}<a href="{Permalink}" class="title">{Title}</a>{/block:Title}
- {block:Text}{block:NotReblog}<div class="body">{Body}</div>{/block:NotReblog}{block:RebloggedFrom}{block:Reblogs}<div class="reblogged"><div class="blog {select:reblog icon}"><img src="{PortraitURL-64}" /><span>{block:HasPermalink}<a href="{Permalink}">{/block:HasPermalink}{Username}{block:HasPermalink}</a>{/block:HasPermalink}</span></div>{Body}</div>{/block:Reblogs}{/block:RebloggedFrom}{/block:Text}
- {block:Photo}<a href="#" class="pic" 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>{/block:Photo}
- {block: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>{/block:Photoset}
- {block:Quote}<div class="words">{Quote}</div>{block:Source}<div class="source">{Source}</div>{/block:Source}{/block:Quote}
- {block:Link}<a href="{URL}" class="path{block:Description} has-desc{/block:Description}" {Target}>{Name}</a>
- {block:Description}{block:NotReblog}<div class="desc">{Description}</div>{/block:NotReblog}{block:RebloggedFrom}{block:Reblogs}<div class="reblogged"><div class="blog {select:reblog icon}"><img src="{PortraitURL-64}" /><span>{block:HasPermalink}<a href="{Permalink}">{/block:HasPermalink}{Username}{block:HasPermalink}</a>{/block:HasPermalink}</span></div>{Body}</div>{/block:Reblogs}{/block:RebloggedFrom}{/block:Description}{/block:Link}
- {block:Chat}<table class="lines">{block:Lines}<tr><td class="label">{block:Label}<span>{Label}</span>{/block:Label}</td><td>{Line}</td></tr>{/block:Lines}</table>{/block:Chat}
- {block:Audio}{block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}{/block:Audio}
- {block:Video}{VideoEmbed-500}{/block:Video}
- {block:Answer}<div class="qna ask"><div class="blog {select:reblog icon}"><img src="{AskerPortraitURL-48}"/><span>{Asker}</span></div><span class="speech">{Question}</span></div>
- {block:Answerer}<div class="qna answer"><div class="blog {select:reblog icon}"><img src="{AnswererPortraitURL-48}"/><span>{Answerer}</span></div><span class="speech">{Answer}</span></div>{block:Reblogs}<div class="qna reply"><div class="blog {select:reblog icon}"><img src="{PortraitURL-64}" /><span>{block:HasPermalink}<a href="{Permalink}">{/block:HasPermalink}{Username}{block:HasPermalink}</a>{/block:HasPermalink}</span></div><span class="speech">{Body}</span></div>{/block:Reblogs}{/block:Answerer}
- {block:NotReblog}<div class="qna answer"><div class="blog {select:reblog icon}"><img src="{PortraitURL-48}" /><span><a href="{Permalink}">{Name}</a></span></div><span class="speech">{Answer}</span></div>{/block:NotReblog}{/block:Answer}
- {block:Caption}<div class="caption">{block:NotReblog}{Caption}{/block:NotReblog}{block:RebloggedFrom}{block:Reblogs}<div class="reblogged"><div class="blog {select:reblog icon}"><img src="{PortraitURL-64}" /><span>{block:HasPermalink}<a href="{Permalink}">{/block:HasPermalink}{Username}{block:HasPermalink}</a>{/block:HasPermalink}</span></div>{Body}</div>{/block:Reblogs}{/block:RebloggedFrom}</div>{/block:Caption}
- </div>
- {block:Date}<table class="post-info info">
- <tr>{block:HasTags}
- <td class="tags">{block:Iftagsicon}<span class="sf sf-bookmark-o"></span>{/block:Iftagsicon}{block:Tags}<a href="{TagURL}">{Tag}</a>{/block:Tags}</td>{/block:HasTags}
- <td class="share">
- <div class="buttons"><div class="like-button">{LikeButton}<span class="new-like-button"><span class="sf sf-heart-2-o"></span></span></div><div class="reblog-button"><a href="{ReblogURL}" {Target}><span class="sf sf-reblog-o"></span></a></div></div>
- {block:NoteCount}<div class="notes"><a href="{Permalink}">{NoteCount}</a></div>{/block:NoteCount}
- </td>
- </tr>
- {block:PermalinkPage}{block:ContentSource}<tr><td class="cont-source">{lang:Source}: <a href="{SourceURL}">{SourceTitle}</a></td></tr>{/block:ContentSource}{/block:PermalinkPage}
- </table>{/block:Date}
- </article>
- {block:PermalinkPage}{block:PostNotes}<div id="post-notes">
- {PostNotes}
- </div>{/block:PostNotes}{/block:PermalinkPage}
- {/block:Posts}
- </section>
- {block:Pagination}
- <div id="pagination" class="{select:pagination type}">
- {block:PreviousPage}<a href="{PreviousPage}" class="prev">{lang:Prev}</a>{/block:PreviousPage}
- {block:JumpPagination length="3"}{block:CurrentPage}<span class="page">{PageNumber}</span>{/block:CurrentPage}{block:JumpPage}<a href="{URL}" class="jump page">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}
- {block:NextPage}<a href="{NextPage}" class="next">{lang:Next}</a>{/block:NextPage}
- </div>
- <div id="load-more" class="{select:pagination type}">{lang:Load more posts}</div>
- {/block:Pagination}
- </div>
- <a href="#" id="scroll-up"><span class="sf sf-arrow-up"></span></a>
- <a href="https://annasthms.tumblr.com/" id="cred" title="theme by annasthms" {Target}>a</a>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/yfztp0u/brUohnb4m/infinitescroll.js"></script>
- <script src="http://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <script src="https://dl.dropbox.com/s/relahvlc2wt7g02/dates.min.js?dl=0"></script>
- <script>
- function changeDate(type, post) {
- switch (type) {
- case 'short':
- post.shortenTime();
- break;
- case 'long':
- post.shortenTime({
- year: 'year',
- week: 'week',
- day: 'day',
- hour: 'hour',
- minute: 'minute',
- second: 'second',
- makeplural: true,
- addspace: true
- });
- break;
- case 'date':
- post.date({dateseparator: '.', timeseparator: ':'});
- break;
- }
- }
- function fixed() {
- var asideTop = $('aside').position().top,
- sectionTop = $('section').position().top + 'px';
- $(window).scroll(function() {
- if ($(document).scrollTop() > (asideTop - 30)) {
- $('aside').addClass('stay');
- $('section#posts').css('margin-top', sectionTop);
- } else {
- $('aside').removeClass('stay');
- $('section#posts').css('margin-top', 0);
- }
- })
- }
- (function ( $ ) {
- $.fn.photoset = function() {
- var gutterSize = '{text:photoset gutter}';
- if ( !gutterSize.endsWith('px') ) {
- gutterSize = gutterSize + 'px';
- }
- return this.each(function() {
- $( this ).pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: gutterSize,
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- }
- }( jQuery ));
- function scroll(pag) {
- switch (pag) {
- case 'infinite':
- $container = $('section#posts');
- $container.infinitescroll({
- navSelector: 'div#pagination',
- nextSelector: 'a.next',
- itemSelector: '.post',
- loading: {
- img: '',
- msgText: '',
- },
- debug: true,
- bufferPx: 0
- }, function(items) {
- var $items = $(items);
- $items.addClass('new');
- changeDate('{select:time type}', $items.find('.date'));
- $items.find('.photo-slideshow').pxuPhotoset({lightbox: true, rounded: false, gutter: '{select:photoset gutter}', borderRadius: '0px', photoset: '.photo-slideshow', photoWrap: '.photo-data', photo: '.pxu-photo'});
- $itemsIDs = $items.map(function(){
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($itemsIDs);
- });
- break;
- case 'loadmore':
- $container = $('section#posts');
- $container.infinitescroll({
- navSelector: 'div#pagination',
- nextSelector: 'a.next',
- itemSelector: '.post',
- loading: {
- img: '',
- msgText: '',
- },
- debug: true,
- errorCallback: function(){$('#load-more').hide();}
- }, function(items) {
- var $items = $(items);
- $items.addClass('new');
- changeDate('{select:time type}', $items.find('.date'));
- $items.find('.photo-slideshow').photoset();
- $itemsIDs = $items.map(function(){
- return this.id;
- }).get();
- Tumblr.LikeButton.get_status_by_post_ids($itemsIDs);
- });
- $(window).unbind('.infscr');
- $('#load-more').click(function(){
- $container.infinitescroll('retrieve');
- return false;
- });
- break;
- }
- }
- function scrollUp() {
- $('a#scroll-up').click(function(){
- $('html, body').animate({ scrollTop: 0 }, 1500);
- return false;
- });
- }
- function tumblrControls() {
- var nav = $('aside'),
- iframe = $('iframe.tmblr-iframe'),
- navTop = nav.position().top,
- navHeight = nav.outerHeight(),
- iframeTop = navTop + navHeight + 'px';
- $('head').append('<style>iframe.tmblr-iframe{top: ' + iframeTop + ' !important}</style>');
- }
- $(document).ready(function(){
- $('td.label').each(function(){
- var label = $(this).text().split(":")[0];
- $(this).text(label);
- });
- changeDate('{select:time type}', $('.date'));
- $('.photo-slideshow').photoset();
- scroll('{select:pagination type}');
- scrollUp();
- if ( '{select:sidebar}' == 'top fixed' ) {
- fixed();
- } else {
- tumblrControls();
- }
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment