Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!--
- *.。.☆゜・*:.。.☆**☆.。.:*・゜☆.。.* *.。.☆゜・*:.。.☆**☆.。.:*・゜☆.。.*
- multicolumn base by coroncina.tumblr.com
- credits aren't necessary if you want to use this as a base code
- but if you're just changing fonts/doing minor changes
- don't release this as your own original theme, ty
- anyway, do your best!
- *.。.☆゜・*:.。.☆**☆.。.:*・゜☆.。.**.。.☆゜・*:.。.☆**☆.。.:*・゜☆.。.*
- -->
- <meta name="color:background" content=""/>
- <meta name="color:text" content=""/>
- <meta name="color:link" content=""/>
- <meta name="color:post bg" content=""/>
- <meta name="color:border" content=""/>
- <meta name="image:background" content=""/>
- <meta name="if:infinite scroll" content="1"/>
- <meta name="text:link 1" content=""/>
- <meta name="text:link 1 url" content=""/>
- <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">
- #content {
- margin-right:170px;
- margin-top:30px;
- width: 1000px; /*this makes the number of columns increase or decrease btw*/
- float: right;
- }
- body {
- background-color: {color:background};
- background-image: url({image:background});
- background-attachment:fixed;background-repeat:repeat;
- background-position:center;
- font-family: arial;
- font-size: 11px;
- color: {color:text};
- }
- a {
- color: {color:link};
- text-decoration:none;
- }
- blockquote {
- padding-left:5px;
- border-left:2px solid;
- color: {color:text};
- margin-left:3px;
- margin-bottom:5px;
- }
- iframe, img, embed, object, video {
- max-width: 100%;
- }
- img {
- height: auto;
- width: auto;
- }
- #sidebar {
- height:auto;
- width:100px;
- margin-top:210px;
- padding:2px;
- margin-left:156px;
- position:fixed;
- background: {color:post bg};
- color:{color:text};
- border: 1px solid {color:border};
- font-size: 10px;
- font-family:arial;
- text-align:center;
- }
- article {
- background: {color:post bg};
- margin: 20px;
- margin-left:5px;
- margin-bottom:8px;
- padding: 5px;
- padding-bottom:9px;
- width: 400px;
- border: 1px solid {color:border};
- }
- .chat span {
- float: left;
- margin-right: 10px;
- }
- #perma {
- text-align: left;
- position: relative;
- margin-top:2px;
- padding-top: 4px;
- font-family: arial;
- padding:2px;
- font-size: 10px;
- padding-left:3px;
- {block:PermalinkPage}display:none;{/block:PermalinkPage}
- }
- .tumblr_audio_player {
- width: 400px;
- height: 100px;
- overflow: hidden;
- position: relative;
- z-index: 1000;
- }
- {block:ifnotinfinitescroll}
- .pagi {
- font-size:15px;
- font: {select:font};
- color: {color:link};
- text-align:center;
- padding:2px;
- padding-top:5px;
- }
- {/block:ifnotinfinitescroll}
- {block:ifinfinitescroll}
- .pagi {
- display:none;
- }
- {/block:ifinfinitescroll}
- </style>
- </head>
- <body>
- <title>{Title}</title>
- <div id="sidebar">{Description}
- <a href="{text:link 1 url}">{text:link 1}</a>
- {block:Pagination}
- <div class="pagination">
- <div class="pagi">
- {block:PreviousPage}<a href="{PreviousPage}"><</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">></a>{/block:NextPage}
- </div></div>
- {/block:Pagination}
- </div>
- <nav>
- <ul>
- {block:HasPages}
- {block:Pages}
- <li> <a href="{URL}">{Label}</a></li>
- {/block:Pages}
- {/block:HasPages}
- </ul>
- </nav>
- <div id="content">
- {block:Posts}
- <article>
- {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-400}" alt="{PhotoAlt}" />{LinkCloseTag}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="photoset">
- {block:IndexPage}
- {Photoset-400}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-400}
- {/block:PermalinkPage}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Photoset}
- {block:Quote}
- <div class="quote">
- {Quote}
- {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}
- {block:Label}<b>{Label}</b>{/block:Label} {Line}<br>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <div class="audio">
- {block:AlbumArt}
- <img src="{AlbumArtURL}" width="100px" height="100px"/>
- {/block:AlbumArt}
- {AudioPlayerWhite}
- {block:AudioEmbed}{AudioEmbed}{/block:AudioEmbed}
- {block:TrackName}<b>track:</b> {TrackName}{/block:TrackName}</span><br>
- {block:Artist}<b>artist:</b> {Artist}{/block:Artist}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">
- <div class="video-player">{Video-400}</div>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- {block:Answer}
- <div class="answer">
- {Asker} asked: <b>{Question}</b>
- {Answer}
- {/block:Answer}
- </div>
- <div id="perma">
- {TimeAgo} - <a href="{Permalink}">{NoteCountWithLabel}</a>
- {block:RebloggedFrom}<a href="{ReblogParentURL}">{ReblogParentName}</a> - <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:RebloggedFrom}
- {block:HasTags}
- <div id="tags">
- {block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}</div>
- {/block:HasTags}
- </div>
- {block:PermalinkPage}
- {block:Date}{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}{/block:Date}
- {block:NoteCount} - {NoteCountWithLabel}{/block:NoteCount}
- {block:HasTags}</br>tagged as: {block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}{/block:HasTags}
- {block:RebloggedFrom}</br>source: <a href="{ReblogRootURL}">{ReblogRootName}</a> - via: <a href="{ReblogParentURL}">{ReblogParentName}</a><br>{/block:RebloggedFrom}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div></div>
- {/block:PermalinkPage}
- </footer>
- </article>
- {/block:Posts}
- </div>
- <!-- heres the stuff that will make your multicolumn theme look nice, so messing around with it shouldnt be necessary!-->
- <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}
- <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