Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <!--
- ------
- ------
- THEME 03 BY SOLASZ
- EDITING TO ANY EXTEND ALLOWED AS LONG AS THE CREDIT STAYS IN TACT :)
- Questions go here: https://solasz.tumblr.com/ask
- ------
- ------
- This theme is inspired by: sorrism
- Big Thank You to shythemes for:
- - Infinite Scroll, Load More & Pixel Union merged code
- - Video Resizing Script
- Unnest Tumblr Captions
- https://neothm.com/post/148902138319/
- Tumblr Controls Fix
- http://cyantists.tumblr.com/post/163728517915/
- -->
- <title>{Title}</title>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link rel="shortcut icon" href="{Favicon}">
- {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="color:Accent" content="#f7c282">
- <meta name="color:Text" content="#636363">
- <meta name="color:Underline" content="#636363">
- <meta name="image:Sidebar" content=""/>
- <meta name="select:Post Margin" content="80" title="80px" />
- <meta name="select:Post Margin" content="90" title="90px" />
- <meta name="select:Post Margin" content="100" title="100px" />
- <meta name="select:Post Margin" content="110" title="110px" />
- <meta name="select:Post Margin" content="120" title="120px" />
- <meta name="select:Post Size" content="300" title="300px" />
- <meta name="select:Post Size" content="350" title="350px" />
- <meta name="select:Post Size" content="375" title="375px" />
- <meta name="select:Post Size" content="400" title="400px" />
- <meta name="select:Post Size" content="450" title="450px" />
- <meta name="select:Post Size" content="500" title="500px" />
- <meta name="select:Post Size" content="540" title="540px" />
- <meta name="if:Sidebar Image" content="1">
- <meta name="if:Show Tags" content="1">
- <meta name="if:Updates Section" content="1">
- <meta name="if:Updates Section Toggle" content="1">
- <meta name="text:Updates Title" content="Updates">
- <meta name="text:Updates Content" content="your updates goes here">
- <meta name="text:Link 1" content="">
- <meta name="text:Link 1 Title" content="">
- <meta name="text:Link 2" content="">
- <meta name="text:Link 2 Title" content="">
- <meta name="text:Link 3" content="">
- <meta name="text:Link 3 Title" content="">
- <meta name="text:Link 4" content="">
- <meta name="text:Link 4 Title" content="">
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i" rel="stylesheet">
- <style type="text/css">
- figure img {
- max-width:100%;
- height:auto;
- }
- body {
- margin:0;
- font-size:10px;
- font-family:'PT Sans', sans-serif;
- line-height:1.7em;
- -moz-osx-font-smoothing:grayscale;
- -webkit-font-smoothing:antialiased;
- font-smoothing:antialiased;
- color:{color:text};
- background:#f5f5f5;
- overflow-x:hidden;
- }
- b {
- font-weight:700;
- }
- h1 {
- margin:0;
- padding:0;
- }
- blockquote {
- padding-top:4px;
- }
- blockquote, ol, ul, p, pre {
- margin:0 0 .5em 0;
- {block:PermalinkPage}
- margin:0 0 .6em;
- {block:PermalinkPage}
- }
- a {
- color:inherit;
- text-decoration:none;
- {block:PermalinkPage}
- border-bottom:1px solid #eee;
- {/block:PermalinkPage}
- }
- a:hover {
- color:{color:accent};
- }
- small, sub {
- font-size:1em;
- vertical-align:baseline;
- }
- .tumblr_parent {
- }
- /* wrapper */
- .main {
- margin:130px auto;
- left:0px;
- width:{select:post size}px;
- position:relative;
- }
- /* posts */
- .content {
- margin:0px 0;
- width:{select:post size}px;
- }
- .entry {
- position:relative;
- margin:0 0 {select:post margin}px;
- width:{select:post size}px;
- }
- {block:ifShowTagsOnHover}
- .entry:hover .tags {
- opacity:1;
- -webkit-transition: all 0.4s ease-out;
- -moz-transition: all 0.4s ease-out;
- transition: all 0.4s ease-out;
- }
- {/block:ifShowTagsOnHover}
- .photo img {
- display:block;
- width:{select:post size}px;
- }
- .wrap {
- display:block;
- width:{select:post size}px;
- }
- .video {
- width:{select:post size}px;
- }
- .entry:last-child {
- margin-bottom:20px;
- }
- .load {
- background:#fff;
- border:1px solid #eee;
- padding:4px;
- margin-left:40px;
- width:70px;
- }
- hr {
- margin:1em 0;
- border:0;
- height:1px;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- background-color:{color:border};
- }
- /* box container */
- .sbar {
- position:fixed;
- margin-top:0px;
- margin-left:-300px;
- background:#fff;
- width:140px;
- padding:16px;
- border-bottom:1px solid #e0e0e0;
- }
- .sbar a {
- border:none;
- }
- .sbimage, .sbimage img {
- width:33px;
- border-radius:90px;
- margin-bottom:8px;
- }
- .tit {
- color:{color:accent};
- font-size:12px;
- {block:ifSidebarImage}
- position:absolute;
- top:25px;
- left:63px;
- {/block:ifSidebarImage}
- {block:ifNotSidebarImage}
- position:absolute;
- {/block:ifNotSidebarImage}
- text-transform:uppercase;
- }
- .tit:after {
- content: "";
- background: {color:underline};
- opacity:0.3;
- position: absolute;
- left: -.08em;
- right: -.08em;
- bottom: 0;
- height: 40%;
- }
- .button {
- color:{color:accent};
- font-size:11px;
- letter-spacing:1px;
- background-color:#fff;
- border:none;
- padding:0;
- font:inherit;
- font-size:11px;
- position:relative;
- cursor:pointer;
- text-transform:uppercase;
- }
- .button:after {
- content: "";
- background: {color:underline};
- opacity:0.3;
- position: absolute;
- left: -.08em;
- right: -.08em;
- bottom: 0;
- height: 44%;
- }
- .button:focus {
- outline:0;
- }
- .in {
- margin-top:9px;
- }
- .desc {
- margin-top:-5px;
- {block:ifNotSidebarImage}
- margin-top:30px;
- {/block:ifNotSidebarImage}
- }
- .sblinks {
- margin-top:13px;
- }
- .sblinks a {
- float:left;
- width:50px;
- margin-bottom:3px;
- text-transform:capitalize;
- margin-right:10px;
- }
- .sticky {
- margin-top:15px;
- display:inline-block;
- margin-bottom:5px;
- }
- .sticky span {
- color:#000;
- }
- /* text post */
- .title {
- color:{color:accent};
- font-size:13px;
- background:#fff;
- padding:20px 20px 0px 20px;
- }
- /* post caption */
- .caption, .text {
- background:#fff;
- padding:16px 20px 1px 20px;
- {block:PermalinkPage}
- padding:20px;
- border-bottom:1px solid #e0e0e0;
- {block:PermalinkPage}
- }
- /* tags */
- .date {
- letter-spacing:0px;
- background:#fff;
- padding:20px 20px 20px 20px;
- border-bottom:1px solid #e0e0e0;
- }
- .date a {
- margin-right:8px;
- }
- .d {
- display:inline;
- position:relative;
- }
- .d:after {
- content: "";
- background: {color:underline};
- opacity:0.4;
- position: absolute;
- left: -.08em;
- right: .7em;
- bottom: 0;
- height: 40%;
- }
- .tags {
- display:inline;
- {block:ifNotShowTags}display:none;{/block:ifNotShowTags}
- }
- /* ask */
- .question {
- background:#fff;
- padding:20px 20px 0px 20px;
- }
- .sender {
- font-size:10px;
- margin-bottom:6px;
- text-transform:uppercase;
- }
- .aimg img {
- border-radius:90px;
- }
- a.tumblr_blog {
- padding-left:24px;
- text-transform:uppercase;
- letter-spacing:1px;
- font-size:8px;
- }
- .tumblr_avatar {
- width:14px;
- border-radius:90px;
- position:absolute;
- margin-top:1px;
- }
- {block:IndexPage}
- .caption p {
- margin-top:7px;
- }
- {/block:IndexPage}
- /* chat */
- .chat {
- padding:0;
- list-style-type:none;
- padding:40px 20px 0px 20px;
- }
- .chat .label {
- font-weight:bold;
- }
- /* quote */
- .quote {
- font-size:15px;
- line-height:1.3em;
- }
- .source {
- padding:10px 20px 0px 20px;
- }
- .media {
- position:relative;
- display:inline-block;
- width:100%;
- }
- /* music player */
- .playbox {
- height:50px;
- background:#f2f2f2;
- width:{select:post size}px;
- border:1px solid #eee;
- }
- .playbutton {
- overflow:hidden;
- position:relative;
- z-index:1000;
- width:calc({select:post size}px - 50px);
- height:26px;
- padding:3px;
- margin-left:5px;
- top:9px;
- border-radius:90px;
- }
- .info {
- position:relative;
- z-index: 1000;
- left: 120px;
- top: -13px;
- }
- /* DO NOT EDIT ANY OF THE FOLLOWING CODE IF YOU DONT KNOW WHAT YOURE DOING */
- /* pagination (load more, back to top) */
- .pagi {
- margin-top:{select:post margin}px;
- text-align:center;
- }
- .pagi a {
- background:#fff;
- padding:15px;
- border-bottom:1px solid #e0e0e0;
- }
- /* tumblr controls */
- iframe.tmblr-iframe {
- z-index:99999999999999!important;
- top:0!important;
- right:0!important;
- opacity:0.4;
- /* delete invert(1) from here */
- filter:invert(1) contrast(150%);
- -webkit-filter:invert(1) contrast(150%);
- -o-filter:invert(1) contrast(150%);
- -moz-filter:invert(1) contrast(150%);
- -ms-filter:invert(1) contrast(150%);
- /* to here if your blog has a dark background */
- transform:scale(0.65);
- transform-origin:100% 0;
- -webkit-transform:scale(0.65);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.65);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.65);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.65);
- -ms-transform-origin:100% 0;}
- iframe.tmblr-iframe:hover {
- opacity:0.6!important;}
- /* infinite scroll stuff */
- .pagination,
- #infscr-loading {
- display:none!important;
- }
- /* permalink page notes */
- .pnotes {
- width:{select:post size}px;
- font-size:9px;
- }
- .pnotes ol.notes {
- list-style-type:decimal-leading-zero;
- margin-left:20px;
- padding:0;
- margin-top: -80px;
- }
- .pnotes img.avatar {
- display:none;
- }
- /* :) */
- .credit {
- bottom:20px;
- right:30px;
- position:fixed;
- font-size:10px;
- color:#000;
- }
- .sfm input {
- background-color: #eee;
- font-size:10px;
- font-family:{select:font};
- border: 0px;
- width:250px;
- border-radius:3px;
- margin-top: 0px;
- color: #999;
- padding: 4px 8px;
- outline:none;
- }
- </style>
- <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div class="credit"><a href="https://solasz.tumblr.com" title="theme"><span class="lnr lnr-moon"></span></a></div>
- <div class="main">
- <div class="sbar">
- {block:ifSidebarImage}
- <div class="sbimage"><a href="/"><img src="{image:sidebar}"></a></div>
- {/block:ifSidebarImage}
- <div class="tit"><a href="/">{title}</a></div>
- <div class="desc">{description}</div>
- <div class="sblinks">
- <a href="{text:Link 1}">› {text:Link 1 Title}</a>
- <a href="{text:Link 2}">› {text:Link 2 Title}</a>
- <a href="{text:Link 3}">› {text:Link 3 Title}</a>
- <a href="{text:Link 4}">› {text:Link 4 Title}</a>
- </div>
- {block:ifUpdatesSection}
- <div class="sticky">
- <button class="button">{text:Updates Title}</button>
- <div class="in" {block:ifUpdatesSectionToggle}style="display:none;"{/block:ifUpdatesSectionToggle}>
- {text:Updates Content}
- </div>
- </div>
- {/block:ifUpdatesSection}
- </div>
- <!--- don't edit any of the things below if you don't know what you're doing --->
- <div class="content">
- {block:Posts}
- <article class="entry {block:Photo}ph{/block:Photo}{block:Photoset}ph{/block:Photoset}">
- <section class="post">
- {block:Audio}
- {block:AudioPlayer}
- <div class="playbox">
- <div class="playbutton">{block:AudioPlayer}{AudioPlayerGrey}{/block:AudioPlayer}</div>
- <div class="info">
- {block:Artist}{Artist}{/block:Artist} —
- {block:TrackName}{TrackName}{/block:TrackName}
- </div>
- </div>
- {/block:Audio}
- {block:Photo}
- <div class="photo">
- <a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></a>
- </div>
- {/block:Photo}
- {block:Photoset}
- <div class="wrap">
- <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:Video}
- <div class="video">{Video-500}</div>
- {/block:Video}
- {block:Answer}
- <div class="question">
- <div class="sender">{Asker} said..</div>
- <span class="inquiry">{Question}</span>
- </div>
- <div class="answer text"><div class="sender">{Name} answered:</div> {Answer}</div>
- {/block:Answer}
- {block:Chat}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <ul class="chat text">
- {block:Lines}
- <li class="line">
- {block:Label}
- <span class="label">{Label} </span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Link}
- <div class="title"><a href="{URL}">{Name}</a></div>
- {block:Description}<div class="text">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Quote}
- <div class="quote text">“{Quote}”</div>
- {block:Source}
- <div class="source text">— {Source}</div>
- {/block:Source}
- {/block:Quote}
- {block:Text}
- {block:Title}<div class="title">{Title}</div>{/block:Title}
- <div class="caption">{Body}</div>
- {/block:Text}
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- {block:Date}
- <div class="date">
- <div class="d"><a href="{permalink}">{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</a></div>
- {block:ifShowTags}<div class="tags">
- {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}
- </div>{/block:ifShowTags}
- </div>
- {/block:Date}
- </section>
- </article>
- {block:PermalinkPage}{block:PostNotes}<div class="pnotes">{PostNotes}</div>{/block:PostNotes}{/block:PermalinkPage}
- {/block:Posts}
- <!--- {block:ContentSource}{SourceURL}{/block:ContentSource}{block:RebloggedFrom}{ReblogRootURL}{ReblogParentURL}{/block:RebloggedFrom} --->
- </div>
- {block:Pagination}<div class="pagination">{block:PreviousPage}<a class="prev" href="{PreviousPage}">previous</a>{/block:PreviousPage} {block:NextPage}<a class="next" href="{NextPage}">next</a>{/block:NextPage}</div>{/block:Pagination}
- {block:IndexPage} <div class="pagi">
- {block:Pagination}<a href="#" class="load-more">Load More</a>{/block:Pagination} </div>{/block:IndexPage}
- </div>
- <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
- <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script src ="//static.tumblr.com/fwgzvyf/l6jnyutne/shythemes.vr.js"></script>
- <script src="https://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
- {block:IndexPage}
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:IndexPage}
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '2px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- var $container = $('.content');
- $container.infinitescroll({
- itemSelector: '.entry',
- navSelector: '.pagination',
- nextSelector: '.next',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000
- },
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.unnest();
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '2px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- resizeVideos();
- });
- $(window).unbind('.infscr');
- $('.load-more').click(function(){
- $container.infinitescroll('retrieve');
- return false;
- });
- });
- $('.entry').unnest({
- yourCaption: ".caption", //your caption selector, the div wrapping
- wrapName: ".tumblr_parent", //the name of the captions’ new wrapper
- newCaptionUsername: true, //if the user adds a new caption, following a series of captions, show their username above the caption
- originalPostCaptionUsername: true, //for the original captions, or a user-added caption that previously didn’t have any, have their username on it
- tumblrAvatars: true, //”dashboard style” caption, have the avatar of the blog next to the username
- tumblrAvatarClass: ".tumblr_avatar", //class of the avatar next to the username
- usernameColon: false //if turned to false, removes the colon at the end of usernames bc :) seriously :) hwy :)
- });
- {block:ifUpdatesSectionToggle}
- $( "button" ).click(function() {
- $( ".in" ).slideToggle( "fast" );
- });
- {/block:ifUpdatesSectionToggle}
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment