Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!-- let me know if it all works ok <3 -->
- <meta name="color:Background" content="#2C3539" />
- <meta name="color:title" content="#c11b17"/>
- <meta name="color:post border" content="#c11b17"/>
- <meta name="color:description" content="#f0f0f0"/>
- <meta name="color:links" content="#af312e" />
- <meta name="color:text" content="#1d1818" />
- <meta name="color:sidebar background" content="#0a0303" />
- <meta name="color:sidebar links" content="#b9b8b8" />
- <meta name="color:sidebar links hover" content="#ffffff" />
- <meta name="color:sidebar text" content="#868484" />
- <meta name="color:Post color" content="#ffffff" />
- <meta name="color:header" content="#ffffff" />
- <meta name="if:Infinite scroll" content="1"/>
- <meta name="image:header" content="" />
- <meta name="image:sidebar" content="" />
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1.0, width=device-width" />
- <title>{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">
- /*fonts*/
- @font-face{font-family:Marker;src:url(http://static.tumblr.com/9wzbixa/8R2mj3l1x/permanentmarker.ttf);}
- @font-face{font-family:Hand of Sean;src:url(http://static.tumblr.com/9wzbixa/RxLmj2j5g/handsean.ttf);}
- /*Basic styles*/
- #content {
- margin: 2%;
- width: 75%;
- left:300px;
- }
- body {
- background: {color:Background};
- color: {color:text};
- font-family: trebuchet ms;
- font-size: 11px;
- margin: 0;
- padding: 0;
- }
- a {
- color: {color:links};
- text-decoration: none;
- }
- blockquote {
- border-left: 2px solid rgba(0, 0, 0, 0.2);
- margin: 0;
- padding: 2%;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- /*Sidebar*/
- #sidebar {
- position:fixed;
- display:block;
- width:200px;
- height:100%;
- bottom:0px;
- padding:10px;
- background-color:{color:sidebar background};
- }
- #sidebarimg {
- margin-top:50px;
- }
- #title {
- font-family:Marker;
- font-size:24px;
- font-weight:bold;
- text-align:center;
- line-height:20px;
- padding:10px;
- color:{color:title};
- }
- #title a {
- color:{color:title};
- }
- #title a:hover {
- color:{color:sidebar links hover};
- }
- #nav {
- display:block;
- width:200px;
- text-align:center;
- font-size:15px;
- font-family:Hand of Sean;
- }
- #nav a {
- color:{color:sidebar links};
- }
- #nav a:hover {
- color:{color:sidebar links hover};
- }
- /*header*/
- #header {
- width:100%;
- margin-left:200px;
- margin-top:0px;
- height:300px;
- background:{color:header} url('{image:header}');
- }
- #desc {
- width:150px;
- text-align:center;
- padding-top:10px;
- padding-bottom:10px;
- margin-left:auto;
- margin-right:auto;
- margin-top:0px;
- color:{color:description};
- }
- /*Article*/
- article {
- background: {color:Post color};
- border: 1px solid {color:post border};
- margin: 2px;
- padding: 3%;
- width:35%;
- }
- .chat span {
- float: left;
- margin-right: 1%;
- }
- /*Metadata*/
- .metadata {
- display: inline-block;
- width: 100%;
- }
- .notecount {
- float: right;
- }
- .reblogged {
- float: right;
- margin: 3% 0;
- width: 100%;
- }
- /*Tags and notes*/
- #tags, nav ul, .chat ul {
- list-style: none;
- list-style-image: none;
- margin: 0;
- padding: 0;
- }
- #tags li {
- float: left;
- margin-right: 1%;
- }
- .notes {
- clear: both;
- padding: 0;
- }
- #credit {
- position:fixed;
- font-family:arial;
- bottom:0px;
- right:3px;
- font-size:12px;
- }
- /*Custom CSS*/
- {CustomCSS}
- </style>
- </head>
- <body>
- <!--header-->
- <div id="header"></div>
- <!--Sidebar-->
- <div id="sidebar">
- {block:IfsidebarImage}
- <div id="sidebarimg">
- <img src="{image:sidebar}" width="200px"/>
- </div>
- {/block:IfsidebarImage}
- <div id="title"><a href="/">{Title}</a></div>
- <div id="desc">{Description}</div>
- <div id="nav">
- <a href="/ask">Ask</a>
- <br>
- <a href="/submit">Submit</a>
- <br>
- {block:HasPages}
- {block:Pages}
- <a href="{URL}">{Label}</a>
- <br>
- {/block:Pages}
- {/block:HasPages}
- </div>
- </div>
- <div id="credit"><a href="http://samiizekiel.tumblr.com">©</a></div>
- <!--Content holder-->
- <div id="content">
- {block:Posts}
- <article>
- <!--Metadata: date, note count-->
- <header class="metadata">
- {block:Date} <a href="{Permalink}"> <time datetime="{Year}-{MonthNumberWithZero}-{DayOfMonthWithZero}">{DayOfMonth} {Month} {Year}</time> </a> {/block:Date}
- {block:NoteCount} <a class="notecount" href="{Permalink}#notes">{NoteCountWithLabel}</a> {/block:NoteCount}
- </header>
- <!--Unique code for each post type-->
- {block:Text}
- <div class="text">
- {block:Title}<h1 class="title"><a href="{Permalink}">{Title}</a></h1>{/block:Title}
- {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}<cite> {Source} </cite>{/block:Source}
- {/block:Quote}
- {block:Link}
- <div class="link">
- <h1 class="title"><a href="{URL}">{Name}</a></h1>
- {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}<h1 class="title"><a href="{Permalink}">{TrackName}</a></h1>{/block:TrackName}
- <div class="albumart">{block:AlbumArt}<img src="{AlbumArtURL}" width="100" height="100"/>{/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="answer">
- <h1 class="title">{Question}</h1>
- <div class="user"><img src="{AskerPortraitURL-96}"/><p>{Asker}</p></div>
- {Answer}
- {/block:Answer}
- </div>
- <footer class="details">
- {block:ContentSource}
- <div class="reblogged">
- <!--Content source-->
- <a href="{SourceURL}">{lang:Source}:{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}
- {block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}</a>
- </div>
- {/block:ContentSource}
- <!--Tags and notes on displayed on permalink pages-->
- {block:HasTags}
- <ul id="tags">
- {block:Tags}<li> <a href="{TagURL}">#{Tag}</a> </li>{/block:Tags}
- </ul>
- {/block:HasTags}
- {block:Permalink}
- {block:PostNotes}
- <div id="notes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:Permalink}
- </footer>
- </article>
- {/block:Posts}
- <!--Close of article-->
- </div>
- <!--Pagination: previous/next page links-->
- {block:Pagination}
- <div class="pagination">
- {block:PreviousPage}<a href="{PreviousPage}">Previous page</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">Next page</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- <!--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>
- <!--For users adding Google Analytics ID-->
- <script>
- var _gaq=[['_setAccount','{text:Google Analytics ID}'],['_trackPageview']];
- (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
- g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
- s.parentNode.insertBefore(g,s)}(document,'script'));
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment