Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME #19
- by: myackles.tumblr.com / ma-themes.tumblr.com
- Editing is okay as long as you:
- DO NOT CLAIM AS YOUR OWN OR REMOVE/MOVE THE CREDIT!!
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- Theme: Base sidebar by Build Themes
- Base code: Build Themes (http://buildthemes.tumblr.com/code/base-sidebar)
- Version: 1.4
- -->
- <meta name="color:Background" content="#f5f5f5" />
- <meta name="color:Links" content="#c48aa2" />
- <meta name="color:Font" content="#868383" />
- <meta name="color:Sidebar background" content="#f8f8f8" />
- <meta name="color:Post color" content="#ffffff" />
- <meta name="color:Text highlight" content="#353434" />
- <meta name="color:Borders" content="#dfdfdf"/>
- <meta name="color:Scrollbar" content="#2f2f2f"/>
- <meta name="image:Sidebar Background" content="https://24.media.tumblr.com/cd5001bfb8de89a41337dce9a77a7d85/tumblr_mj77t2OgYd1r9c5eeo2_250.png"/>
- <meta name="image:Sidebar Image" content=""/>
- <meta name="text:Home url" content="/" />
- <meta name="text:Home Title" content="home" />
- <meta name="text:Ask url" content="/ask" />
- <meta name="text:Ask title" content="ask" />
- <meta name="text:Link 1 url" content="/" />
- <meta name="text:Link 1 title" content="link" />
- <meta name="text:Link 2 url" content="/" />
- <meta name="text:Link 2 title" content="link" />
- <meta name="text:Link 3 url" content="/" />
- <meta name="text:Link 3 title" content="link" />
- <meta name="text:Link 4 url" content="/" />
- <meta name="text:Link 4 title" content="link" />
- <meta name="text:SIDEBAR HEIGHT" content="150"/>
- <meta name="if:Ask Background Image" content="1"/>
- <meta name="image:Background" content="" />
- <meta name="image:Sidebar Image" content="" />
- <meta name="text:Font size" content='0.8em'/>
- <meta name="text:Post margin" content='10px'/>
- <meta name="text:Post width" content='38%'/>
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0, width=device-width" />
- <title>{block:TagPage}{Tag} posts - {/block:TagPage} {block:SearchPage}{lang:Search results for SearchQuery} - {/block:SearchPage}{block:PostSummary}{PostSummary} - {/block:PostSummary}{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <link href="http://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css" />
- <style type="text/css">
- /*Scrollbar*/
- ::-webkit-scrollbar-thumb:vertical {
- height:10px;
- background-color: {color:Scrollbar};}
- ::-webkit-scrollbar-thumb:horizontal {
- height:10px;
- background-color: {color:Scrollbar};}
- ::-webkit-scrollbar {
- height: 10px;
- width: 2px;
- background-color: {color:Post Background};}
- /*Basic styles*/
- ::-moz-selection {
- background: {color:Text highlight};
- color: #fff;
- }
- ::selection {
- background: {color:Text highlight};
- color: #fff;
- }
- #content {
- margin: 2%;
- width: 64%;
- float: right;
- }
- body {
- background: {color:Background} url('{image:Background}');
- color: {color:Font};
- font-family:calibri;
- font-size: {text:Font size};
- margin: 0;
- padding: 0;
- }
- a {
- color: {color:links};
- text-decoration: none;
- }
- a:hover{text-decoration:underline;}
- blockquote {
- border-left: 2px solid {color:borders};
- margin:0;
- padding: 10px;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- img {
- height: auto;
- width: auto;
- }
- #title {
- font: 14px arial;font-weight:bold;}
- .bck{
- display: inline-block;{block:IfAskBackgroundImage}
- background-image: url('{image:Sidebar Background}');
- {/block:IfAskBackgroundImage}
- background-color:{color:background};
- }
- .question{
- display: inline-block;
- display: inline-block;
- padding-top:10px;
- text-align:left;
- padding-top:-50px;
- }
- /*Sidebar*/
- #pic {
- max-width:200px;
- margin-left: -4px;
- padding: 20px; position: absolute;
- background-color:{color:Post Background};
- }
- #sbarb {
- padding:10px;
- background-color:{color:post color};
- border:1px solid {color:borders};
- margin-bottom:-20px;
- }
- #position1 {
- position: fixed;
- left:0px; margin-top:-10px;
- padding:5px;
- background-color: {color:scrollbar};
- width:32px;
- height:101%;
- }
- #position {
- position: fixed;
- left:45px;
- padding:5px;
- background-color:{color:Sidebar Background};
- background-image: url('{image:Sidebar Background}');
- border-left:4px solid {color:scrollbar};
- border-right:1px solid {color:borders};
- width: 230px;
- height:100%;
- }
- .margin { margin-top:40%;}
- .ttl {
- margin-top:{text:SIDEBAR HEIGHT}px;
- width: 200px;
- font-family:arial;
- text-transform:uppercase;
- font-size:11px; font-weight:bold;
- margin-bottom:-35px;
- text-shadow:1px 1px 0px {color:post color};
- }
- #description {
- position: fixed;
- opacity: 0.9;
- overflow: hidden;
- width: 200px;
- margin-top:20px;
- font-family:arial;
- padding: 10px;
- margin-left:-10px;
- text-align:left;
- color: {color:Font};
- }
- #desc {
- padding-top:10px;
- padding-bottom:10px;
- font-size:10px;
- border:1px solid {color:borders};
- background:{color:post color};
- }
- /*Sublinks*/
- .sublinks {
- font-family:arial;
- border:1px solid {color:borders};
- font-size: 10px;
- background-color:{color:scrollbar};
- padding:5px;
- text-align:left;
- margin-bottom:10px;
- }
- .sublinks a {
- padding-left:4px;
- text-shadow: 0px 1px 5px rgba(0,0,0,0.13);
- text-transform:lowercase;
- letter-spacing: 0px;
- color:{color:post color};
- padding-bottom: 4px;
- }
- .sublinks a:hover{
- text-decoration:underline;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- /*Article*/
- article {
- border:1px solid {color:borders};
- background: {color:Post color};
- margin: {text:Post margin};
- padding: 3%;
- width: {text:Post width};
- }
- .chat span {
- float: left;
- padding-left:-150px;
- }
- /*Metadata*/
- .stuff { margin-top:3px; border-top:1px solid {color:borders};text-transform:uppercase; font-size:10px; padding:3px; background-image: url('{image:Sidebar Background}');}
- /*Custom CSS*/
- {CustomCSS}
- </style>
- </head>
- <body>
- <!--Sidebar/masthead-->
- <div id="position"><div id="position1"></div>
- <div class="margin"></div>
- <div id="sbar">
- <center><div class="ttl">{title}</div><br><br>
- <div id="pic">
- <a href="/"><div id="sbarb"><img src="{image:Sidebar Image}" >
- </div> </a>
- <div id="description">
- <div class="sublinks">
- <a href="{text:Home url}">{text:Home Title}</a>
- <a href="{text:Ask url}">{text:Ask title}</a>
- <a href="{text:Link 1 url}">{text:Link 1 title}</a>
- <a href="{text:Link 2 url}">{text:Link 2 title}</a>
- <a href="{text:Link 3 url}">{text:Link 3 title}</a>
- <a href="{text:Link 4 url}">{text:Link 4 title}</a>
- <a href="http://www.ma-themes.tumblr.com">theme</a>
- </div>
- <center>
- <div id="desc">{description}</div><br></center>
- <div class="sublinks">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">go back</a> + {/block:PreviousPage}{block:NextPage}<a href="{NextPage}">proceed</a>{/block:NextPage}{/block:Pagination}</div>
- {/block:IfnotInfiniteScrolling}</div>
- </div>
- </div>
- </div>
- </div>
- </div></div>
- <!--Content holder-->
- <div id="content">
- {block:Posts}
- <article>
- {block:Text}
- <div class="text">
- <div id="title"> {block:Title}<a href="{Permalink}">{Title}</a>{/block:Title}</div>
- {Body}
- {/block:Text}
- {block:Photo}
- <div class="photo">
- {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" />{LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:IndexPage}{Photoset-250}{/block:IndexPage}
- {block:PermalinkPage}{Photoset-700}{/block:PermalinkPage}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">
- <blockquote>{Quote}</blockquote>
- {block:Source} {Source}{/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="link">
- <div id="title"><a href="{URL}">{Name}</a></div>
- {block:Description}{Description}{/block:Description}
- {/block:Link}
- {block:Chat}
- <div class="chat">
- <ul>
- {block:Lines}<li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label}<p> {Line} </p></li>{/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:TrackName}<div id="title"><a href="{Permalink}">{TrackName}</a></div>{/block:TrackName}
- <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="500" height="500"/>{/block:AlbumArt}</div>
- <div class="player">{AudioPlayerBlack}</div>
- {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">
- <div class="video-player">{Video-500}</div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="question"><div class="bck">{Asker} said: {Question}</div>{Answer}
- {/block:Answer}
- </div>
- <footer class="details">
- <div class="stuff">
- <a href="{Permalink}">{TimeAgo}</a>{/block:Date}{block:NoteCount} + <a href="{Permalink}">♡{NoteCount} notes</a>{/block:NoteCount}{block:RebloggedFrom} + <a href="{ReblogParentURL}"><a href="{ReblogParentURL}"> via</a>{/block:RebloggedFrom}
- {block:ContentSource} + <a href="{SourceURL}">source </a> + <a href="{ReblogURL}" target="_blank">reblog</a>
- </a>{block:ContentSource}{/block:RebloggedFrom}<br>{block:IfItalicTags}<i>{/block:IfItalicTags}
- {block:HasTags}{block:Tags}# <a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
- </i></div>
- {block:Permalink}
- {block:PostNotes}
- <div id="notes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:Permalink}
- </footer>
- </article>
- {/block:Posts}
- <!--Close of article-->
- </div>
- <!--Links to jQuery library, Masonry, infinite scroll and imagesLoaded-->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
- <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
- {block:IfInfiniteScroll}
- <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- <script src="http://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
- {/block:IfInfiniteScroll}
- <!--Code for infinite scroll and grid layout-->
- <script>
- (function() {
- var $tumblelog = $('#content');
- {block:IfInfiniteScroll}
- $tumblelog.infinitescroll({
- navSelector : ".pagination",
- nextSelector : ".pagination a:first",
- itemSelector : "article",
- bufferPx : 50,
- done : "",
- loading: {
- img : "",
- msgText: ""
- },
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- $tumblelog.masonry( 'appended', $newElems);
- });
- }
- );
- {/block:IfInfiniteScroll}
- $tumblelog.imagesLoaded( function(){
- $tumblelog.masonry({
- columnWidth: function( containerWidth ) {
- return containerWidth / 100;
- }
- });
- });
- })();
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement