Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- THEME 01 V2 by Drxgonfly
- (Last updated May 21 2017)
- The only difference between the two themes are the style of the links in the sidebar.
- Everything you'll need to edit has the option do to so on the customization page, you shouldn't need to edit anything in here, though I've added notes on what each thing does if you're feeling experimental. If you have any questions/comments send them here: https://drxgonfly.tumblr.com
- Credits:
- • Like/Reblog buttons: http://shythemes.tumblr.com/post/154249052918/text-like-and-reblog-buttons
- • font awesome icons- http://fontawesome.io/icons/
- • google fonts- https://fonts.google.com/
- • dragonfly icon- https://te5seract.tumblr.com
- • audio post styling- http://lmthemeslp-tut.tumblr.com/audio
- -->
- <html>
- <head>
- <title>{Title}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <link rel="shortcut icon" href="{Favicon}" />
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <!--CUSTOMIZATION OPTIONS--->
- <meta name="text:Background Image" content="http://www.commentnation.com/backgrounds/images/light_gray_parchment_paper_seamless_pattern.jpg"/>
- <meta name="text:Sidebar Image" content="http://blog.photobucket.com/wp-content/uploads/2014/06/ForestStream.gif"/>
- <meta name="text:Blog Title Font Name Google Fonts" content="Dancing Script"/> <!--CHOOSE FONT NAME FROM HERE https://fonts.google.com/-->
- <meta name="text:title font size" content="30px" />
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Links" content="#555555"/>
- <meta name="color:Links Hover" content="#cccccc"/>
- <meta name="color:Sidebar Background" content="#fff"/>
- <meta name="color:Sidebar links" content="#000"/>
- <meta name="color:scrollbar" content="#339966"/>
- <meta name="color:post background" content="#fff"/>
- <meta name="color:hover effects info color" content="fff">
- <meta name="color:credit symbol" content="#ff8faf"/>
- <meta name="text:ask link" content="/ask"/>
- <meta name="if:show link one" content="1"/>
- <meta name="text:link1url" content=""/>
- <meta name="text:link1title" content="link 1"/>
- <meta name="if:show link two" content="1"/>
- <meta name="text:link2url" content=""/>
- <meta name="text:link2title" content="link 2"/>
- <meta name="if:show link three" content="1"/>
- <meta name="text:link3url" content=""/>
- <meta name="text:link3title" content="link 3"/>
- <meta name="text:body font google fonts name" content="Source Sans Pro"/> <!--CHOOSE FONT NAME FROM HERE https://fonts.google.com/-->
- <meta name="if:show 250px posts" content="1"/>
- <meta name="if:show 400px posts" content="0"/>
- <meta name="if:show submit" content="1"/>
- <meta name="if:show credit" content="1"/>
- <meta name="if:show like button" content="1"/>
- <meta name="if:light hover effects" content="0"/>
- <meta name="if:dark hover effects" content="1"/>
- <meta name="if:tall sidebar" content="0"/>
- <link href="https://file.myfontastic.com/qDbcTszXoEeyJ6PzE2deHY/icons.css" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family={text:body font google fonts name}" rel="stylesheet"> <!--GOOGLE-->
- <link href="https://fonts.googleapis.com/css?family={text:Blog Title Font Name Google Fonts}" rel="stylesheet"> <!--GOOGLE-->
- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
- </head>
- <style type="text/css">
- /*whole body*/
- body{
- color:{color:Text};
- font-family:{text:body font google fonts name}, sans-serif;
- font-size:10px;
- background-color:{color:Background};
- background-image:url("{text:background image}");
- background-image:repeat;
- background-attachment:fixed;
- }
- /*All Links*/
- a{ color:{color:Links}; text-decoration:none;}
- a hover{ color:{color Links Hover};}
- h2{text-align:center; margin:0 auto;}
- /*where the posts go/position of posts*/
- .container{
- width:69%;
- margin:0 auto;
- margin-left:400px;
- margin-top:50px;
- position:relative;
- margin-right:100px;
- }
- /*each individual post*/
- .posts{
- height:auto;
- {block:indexpage}
- {block:ifshow250pxposts}
- width:250px;
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- width:400px;
- {/block:ifshow400pxposts}
- {/block:indexpage}
- {block:permalinkpage}
- width:500px;
- {/block:permalinkpage}
- float:left;
- position:relative;
- padding:10px;
- margin:10px;
- border-radius:2px;
- background-color:{color:post background};
- font-size:14px;
- font-family:{text:body font google fonts name};
- transition:ease-in-out .5s;
- }
- /*posts styling*/
- .posts blockquote{margin-left:2px;padding-left:10px;border-left:1px solid #eee;}
- .posts p{margin:0 auto;text-align:left;}
- ul{padding-left:0px; list-style:none;}
- .posts img, .posts li, .posts blockquote{max-width:100%;}
- /*the hover effects on photo posts*/
- .posts:hover .perma_hold {opacity:1;}
- .perma_hold {
- position:absolute;
- top:0;
- left:0;
- opacity:0;
- z-index:9999;
- {block:iflighthovereffects}
- background:rgba(255,255,255,0.9);
- {/block:iflighthovereffects}
- {block:ifdarkhovereffects}
- background:rgba(0,0,0,0.9);
- {/block:ifdarkhovereffects}
- transition:0.6s ease;
- {block:ifshow250pxposts}
- width:270px;
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- width:420px;
- {/block:ifshow400pxposts}
- height:100%;
- font-size:12px;
- }
- /*Positioning of text on hover*/
- .perma {
- top:50%;
- left:50%;
- bottom:50%;
- transform:translate(-50%,-50%);
- vertical-align:middle;
- position:relative;
- letter-spacing:3px;
- line-height:3;
- text-align:center;
- text-transform:uppercase;
- }
- .perma a{
- color:{color:hover effects info color};
- {block:ifshow400pxposts}
- font-size:15px;
- {/block:ifshow400pxposts}
- }
- /*the size of like and reblog buttons*/
- .perma i{
- font-size:12px;
- {block:ifshow400pxposts}
- font-size:15px;
- {/block:ifshow400pxposts}
- }
- /*permalink on non photo posts (the gray bar thing under posts)*/
- .perma2{
- text-align:center;
- font-size:10px;
- padding:5px;
- margin-top:5px;
- background-color:#eee;
- line-height:10px;
- position:relative;
- }
- .perma2 a{color:{color:text};}
- .perma2 a:hover{color:{color:links};}
- /*how big photo posts are*/
- .posts img{
- {block:indexpage}
- {block:ifshow250pxposts}
- max-width:250px;
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- max-width:400px;
- {/block:ifshow400pxposts}
- {/block:indexpage}
- {block:permalinkpage}
- width:500px;
- {/block:permalinkpage}
- float:left;
- }
- /*positioning of sidebar*/
- #sidebar{
- background-color:{color:sidebar background};
- width:240px;
- margin-top:80px;
- margin-left:50px;
- position:fixed;
- padding:10px;
- text-align:center;
- border-radius:2px;
- {block:iftallsidebar}
- height:100%;
- margin-top:0px;
- padding-top:100px;
- top:0;
- {/block:iftallsidebar}
- }
- /*sidebar image*/
- #sidebar img{
- width:180px;
- height:180px; /*if you want the photo to have original proportions remove this line*/
- padding-top:10px;
- padding-bottom:5px;
- border-radius:100%; /*if you don't want the image round remove this line*/
- }
- /*blog title on sidebar*/
- .title{
- font-size:{text:title font size};
- font-weight bold;
- font-family:{text:Blog Title Font Name Google Fonts};
- transition:ease-in-out .3s;
- }
- .title:hover{
- letter-spacing:3px;
- }
- #sidebar ul li{
- display:inline;
- margin-top:20px;
- padding:0;
- list-style:none;
- }
- #sidebar li{
- padding:10px;
- }
- #sidebar li a{
- color:{color:sidebar links};
- font-size:12px;
- font-family:{text:body font google fonts name};
- transition:ease-in-out.3s;
- }
- #sidebar li a:hover{
- font-weight:bold;
- transition:ease-in-out.3s;
- }
- /*pagination or lack of...*/
- .pagination {
- display: none;
- }
- /*How the notes on the permalink page are displayed*/
- ol.notes {
- padding: 0px;
- margin: 25px 0px;
- list-style-type: none;
- height:400px;
- overflow:auto;
- word-break:break-word;
- }
- ol.notes li.note {
- padding: 5px;
- }
- ol.notes li.note img.avatar {
- vertical-align: -4px;
- margin-right: 10px;
- width: 16px;
- height: 16px;
- float:left;
- border-radius:100%;
- }
- ol.notes li.note span.action {
- font-weight: normal;
- }
- ol.notes li.note .answer_content {
- font-weight: normal;
- }
- /*custom scrollbar*/
- ::-webkit-scrollbar{ /*scrollbar button*/
- width:8px;
- height:5px;
- background-color:{color:scrollbar};
- }
- ::-webkit-scrollbar-track{ /*scroll bar track*/
- border:5px solid {color:background};
- background-color:{color:background};
- }
- ::-webkit-scrollbar-thumb{ /*scrollbar button inner color??? */
- border:1px solid {color:scrollbar};
- background-color:{color:scrollbar};
- }
- /*audio post stuff*/
- .cover{
- position:relative;
- width:250px;
- {block:PermalinkPage}
- width: 500px;
- {/block:PermalinkPage}
- z-index: 1;
- }
- .playbutton {
- width: 20px;
- height: 30px;
- overflow: hidden;
- position: relative;
- z-index: 1000;
- margin: 15px 24px 13px 16px;}
- .playbox{
- background-color: #fff;
- position: absolute;
- z-index: 1000;
- margin-top: 100px;
- margin-left: 95px;
- {block:permalinkpage}
- margin-top:230px;
- margin-left:220px;
- {/block:permalinkpage}
- border-radius: 100px;
- opacity:0.5;
- }
- /* my credit symbol */
- #credit{position:fixed;bottom:0px;right:20px;height:50px;width:100%;}
- #credit i{font-size:30px;float:right;color:{color:credit symbol};}
- /*Like buttons on photo posts*/
- .like-b {
- position:relative;
- display:inline-block;
- height:1em;
- line-height:1em;
- overflow:hidden;
- margin-bottom:-3px;
- margin-left:5px;
- }
- .like-b .like_button iframe {
- position:absolute;
- margin:0 auto;
- z-index:2;
- opacity:0;
- }
- .like-b .liked + .b {
- color:red;
- }
- </style>
- <!--SCRIPTS, PROBABLY SHOULDN'T TOUCH THIS EITHER!-->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
- <script src="http://static.tumblr.com/anzluor/ycPn74dop/jquery.infinitescroll.min.js"></script> <!--- infinite scroll script -->
- <script src="http://static.tumblr.com/anzluor/Np0nv9fs0/masonry.pkgd.min.js"></script> <!--- masonry script (makes it into a nested grid layout) -->
- <script src="https://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.1/SmoothScroll.min.js"></script>
- <script>
- $(function(){
- var container = $('.container');
- container.imagesLoaded(function(){
- container.masonry({
- itemSelector : '.posts'
- });
- });
- container.infinitescroll({
- navSelector : 'div.pagination',
- nextSelector : 'div.pagination a#next',
- itemSelector : '.posts',
- bufferPx : 2000,
- },
- function( newElements ) {
- var $newElems = $( newElements ).css({ opacity: 0 });
- $newElems.imagesLoaded(function(){
- $newElems.animate({ opacity: 1 });
- container.masonry( 'appended', $newElems, true );
- });
- }
- );
- });
- </script>
- <body>
- <div id="sidebar">
- <img src="{text:Sidebar Image}">
- <br>
- <div class="title">{title}</div><br>
- {description}<br><br>
- <ul>
- <li> <a href="/"> Home </a> / </li>
- <li> <a href="{text:ask link}"> Ask </a> </li>
- {block:ifshowlinkone}
- <li> / <a href="{text:link1url}"> {text:link1title} </a> </li>
- {/block:ifshowlinkone}
- {block:ifshowlinktwo}
- <li> / <a href="{text:link2url}"> {text:link2title} </a> </li>
- {/block:ifshowlinktwo}
- {block:ifshowlinkthree}
- <li> / <a href="{text:link3url}"> {text:link3title} </a> </li>
- {/block:ifshowlinkthree}
- <li> / <a href="/archive"> Archive </a> </li>
- {block:ifnotshowcredit}
- <a href="https://drxgonfly.tumblr.com/themes"><i class="fa fa-copyright" title="theme credit"></i></a> {/block:ifnotshowcredit}
- </ul>
- </div><!--End of sidebar-->
- <!--Posts and entries-->
- <div class="container">
- {block:Posts}
- <div class="posts" id="{PostID}">
- <!---------------------------------------------------
- TEXT POSTS
- ---------------------------------------------------->
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {Body}
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Text}
- <!---------------------------------------------------
- PHOTO POSTS
- ---------------------------------------------------->
- {block:Photo}
- {block:IndexPage}
- <div class="perma_hold">
- <div class="perma"><a href="{Permalink}">{TimeAgo}</a> <br><a href="{ReblogURL}"><i class="fa fa-retweet"></i></a>{block:ifshowlikebutton}<a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a>{/block:ifshowlikebutton}<br><a href="{Permalink}">{NoteCountWithLabel}</a></div></div>
- {block:ifshow250pxposts}
- <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- <a href="{permalink}"><img src="{PhotoURL-500}" width="400"/></a>
- {/block:ifshow400pxposts}
- {/block:IndexPage}
- {block:PermalinkPage}<a href="{permalink}"><img src="{PhotoURL-500}" width="500"/></a>{/block:PermalinkPage}
- {/block:Photo}
- <!---------------------------------------------------
- PHOTOSET POSTS
- ---------------------------------------------------->
- {block:Photoset}
- {block:IndexPage}
- <div class="perma_hold">
- <div class="perma"><a href="{Permalink}">{TimeAgo}</a> <br><a href="{ReblogURL}"><i class="fa fa-retweet"></i></a>{block:ifshowlikebutton}<a class="like-b" href="#">{LikeButton}<span class="b">❤ </span></a>{/block:ifshowlikebutton}<br><a href="{Permalink}">{NoteCountWithLabel}</a></div></div>
- {block:ifshow250pxposts}
- {photoset-250}
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- {photoset-400}
- {/block:ifshow400pxposts}
- {/block:IndexPage}
- {block:permalinkpage}
- {photoset-500}
- {/block:permalinkpage}
- {/block:Photoset}
- <!---------------------------------------------------
- QUOTE POSTS
- ---------------------------------------------------->
- {block:Quote}
- "{Quote}"
- {block:Source}-{Source}{/block:Source}<br>
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Quote}
- <!---------------------------------------------------
- VIDEO POSTS
- ---------------------------------------------------->
- {block:Video}
- {block:indexpage}
- {block:ifshow250pxposts}
- {Video-250}
- {/block:ifshow250pxposts}
- {block:ifshow400pxposts}
- {Video-400}
- {/block:ifshow400pxposts}
- {block:Caption}{Caption}{/block:Caption}
- <div class="perma2">{timeago} <a href="{permalink}">{notecountwithlabel}</a></div>
- {/block:indexpage}
- {block:permalinkpage}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:permalinkpage}
- {/block:Video}
- <!---------------------------------------------------
- LINK POSTS
- ---------------------------------------------------->
- {block:Link}
- <h2><a href="{URL}">{Name}</a></h2>
- {block:Description}{Description}{/block:Description}
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Link}
- <!---------------------------------------------------
- CHAT POSTS
- ---------------------------------------------------->
- {block:Chat}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <ul>{block:Lines}<li>{block:Label}<span>{Label}</span>{/block:Label}
- {Line}</li>{/block:Lines}</ul>
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Chat}
- <!---------------------------------------------------
- AUDIO POSTS
- ---------------------------------------------------->
- {block:Audio}
- <div class="playbox"><div class="playbutton">{block:AudioPlayer}{AudioPlayerBlack}{/block:AudioPlayer}</div></div>
- {block:AlbumArt}
- <img src="{AlbumArtURL}" class="cover">
- {/block:AlbumArt}
- {block:Caption}{Caption}{/block:Caption}
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Audio}
- <!---------------------------------------------------
- ANSWER POSTS
- ---------------------------------------------------->
- {block:Answer}
- <img src="{AskerPortraitURL-16}"style="border-radius:100%"> {Asker} asked: {Question}<br>
- {Answer}
- {block:indexpage}<div class="perma2">{timeago} with <a href="{permalink}">{notecountwithlabel}</a></div>{/block:indexpage}
- {/block:Answer}
- <!---------------------------------------------------
- PERMALINK & OTHER THINGS
- ---------------------------------------------------->
- {block:PermalinkPage}{block:caption}{caption}{/block:caption}{block:date}<br>Posted on {ShortMonth} {DayofMonth}{DayofMonthSuffix} {Year} with {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}<br>
- (Via <a href="{ReblogParentURL}">{ReblogParentName}</a>, Source {block:RebloggedFrom}<a href="{ReblogRootURL}">{ReblogRootName}</a> {/block:RebloggedFrom})
- <br>
- <div class="tags">{block:HasTags}{block:Tags}<a href="{TagUrl}"><i class="fa fa-tag"></i> {Tag} </a>{/block:Tags}{/block:HasTags}</div>
- {block:PostNotes}{PostNotes}{/block:PostNotes}{/block:date}{/block:PermalinkPage}
- </div>
- {/block:Posts}
- </div>
- {block:ifshowcredit}
- <div id="credit">
- <a href="https://drxgonfly.tumblr.com"><i class="drx-drxgonfly-left" aria-hidden="true"></i></a>
- </div> {/block:ifshowcredit}
- <!--Pagination-->
- <div class="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> ·{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment