Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- DO NOT REMOVE THIS!
- Rosy Theme
- Base Code from Llermans
- Customized and enchanced by trappedinyoursoul
- RULES!
- Like/Reblog if you're going to use it.
- Do not remove the credits.
- Do not redistribute and claim it as your own.
- Do not re-use this as a base code. You can use Llerman's Base Code though.
- !-->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head><title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <!---- Base code by llermans © tumblr.com ---->
- <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
- <link href='http://fonts.googleapis.com/css?family={text:Font}' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Sail' rel='stylesheet' type='text/css'>
- <meta name="color:Background" content="#FAEBD7"/>
- <meta name="color:Text" content="#555"/>
- <meta name="color:Link" content="#B38481"/>
- <meta name="color:Link Hover" content="#7F4E52"/>
- <meta name="text:Font" content=""/>
- <meta name="image:Sidebar" content=""/>
- <meta name="text:Link 5" content=""/>
- <meta name="text:Link 5 URL" content=""/>
- <meta name="text:Link 6" content=""/>
- <meta name="text:Link 6 URL" content=""/>
- <meta name="text:Link 7" content=""/>
- <meta name="text:Link 7 URL" content=""/>
- <meta name="text:Link 8" content=""/>
- <meta name="text:Link 8 URL" content=""/>
- <!--- CSS --->
- <script src="http://static.tumblr.com/whx9ghv/lq0m3ktlh/modernizr.custom.34978.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
- <script type="text/javascript" src="http://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips();
- });
- })(jQuery);
- </script>
- <style type="text/css">
- #s-m-t-tooltip
- {
- display: block;
- background-color: {color:Link};
- font-family: {text:Font};
- font-size: 10px;
- color: {color:Text};
- font-weight: bold;
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: center;
- text-transform: uppercase;
- margin-left: 20px;
- padding: 5px;
- min-width: 50px;
- z-index: 888;
- }
- iframe#tumblr_controls
- {
- right: 0px !important;
- position: fixed !important;
- -webkit-filter: invert(100%);
- opacity: 0.8;
- z-index: 999999;
- }
- html, ol
- {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- ul
- {
- text-align: left;
- list-style: square;
- }
- h2
- {
- font-family: 'Sail';
- margin: 0;
- padding: 0;
- list-style: none;
- }
- blockquote
- {
- margin: 0 2.5em;
- padding: 5px 10px;
- text-align: left;
- border-left: 1px solid {color:Link};
- }
- body
- {
- background-color: {color:Background};
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: normal;
- cursor: url(http://i53.tinypic.com/2dc7q6a.png), auto;
- }
- a
- {
- color: {color:Link};
- text-decoration: none;
- cursor: url(https://31.media.tumblr.com/tumblr_m2umkyg2IP1qfamg6.gif), progress;
- transition-duration: 0.8;
- -moz-transition-duration: 0.8s;
- -webkit-transition-duration: 0.8s;
- -o-transition-duration: 0.8s;
- }
- a:hover
- {
- color: {color:Link Hover};
- text-decoration: none;
- -webkit-transition: all 0.3s linear;
- -moz-transition: all 0.3s linear;
- transition: all 0.3s linear;
- }
- /* CONTENT */
- #content
- {
- left: 50%;
- margin-left: -150px;
- position: absolute;
- width: 500px;
- margin-top: 25px;
- margin-bottom: 25px;
- padding: 15px;
- }
- /* SIDEBAR */
- #sidebar
- {
- margin-left: -290px;
- overflow: hidden;
- top: 1px;
- line-height: 15px;
- width: 200px;
- position: fixed;
- margin-bottom: 15px;
- text-align: center;
- margin-top: 100px;
- }
- #sidebar img
- {
- height: 200px;
- width: 200px;
- }
- #description
- {
- font-size: {text:Font};
- font-size: 11px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: center;
- text-transform: normal;
- width: 180px;
- padding-left: 10px;
- padding-right: 10px;
- }
- #links a
- {
- align: center;
- padding: 5px;
- margin-right: 0px;
- }
- #title
- {
- font-family: 'Sail';
- font-size: 18px;
- color: {color:Text};
- font-weight: bold;
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: center;
- text-transform: normal;
- margin-bottom: 5px;
- }
- /* PAGINATION */
- #pagination
- {
- font-family: 'Droid Sans';
- font-size: 15px;
- color: {color:Link};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: center;
- text-transform: lowercase;
- width: 175px;
- padding: 3px;
- margin-top: 10px;
- }
- /* POSTS */
- .post
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: normal;
- clear: both;
- }
- /* KINDS OF POSTS */
- .post text
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: normal;
- }
- .post photo
- {
- margin-bottom: 5px;
- text-align: center;
- }
- .post photo img
- {
- border: 0;
- }
- .answer
- {
- text-align: left;
- line-height: 1.50em;
- }
- .question
- {
- margin-bottom: 0px;
- line-height: 1.50em;
- }
- .askborder
- {
- background: {color:Link};
- float: left;
- margin: 1px 4px 0 0;
- padding: 3px;
- }
- .post audio
- {
- text-align: left;
- }
- .post video
- {
- text-align: left;
- }
- .post chat
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: normal;
- }
- .post chat li
- {
- list-style-type: none;
- }
- /* METADATA */
- #info
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: lowercase;
- margin-top: 10px;
- margin-bottom: 60px;
- }
- ol.notes
- {
- display: block;
- text-align: left;
- margin-bottom: 30px;
- }
- ol.notes li.note
- {
- padding: 1%;
- }
- .pagenotes
- {
- text-align: left;
- }
- .tags a
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Link};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: lowercase;
- margin-right: 5px;
- }
- .tags a:hover
- {
- color: {color:Link Hover};
- }
- /* CUSTOM CSS */
- .caption
- {
- font-family: {text:Font};
- font-size: 12px;
- color: {color:Text};
- letter-spacing: 1px;
- line-height: 1.50em;
- text-align: left;
- text-transform: normal;
- padding-top: 13px;
- padding-bottom: 5px;
- margin-top: 5px;
- padding-right: 10px;
- }
- .post img
- {
- width: 500px;
- }
- /* CREDIT */
- ::-webkit-scrollbar-thumb:vertical
- {
- background-color: {color:Link};
- height: 100px;
- }
- ::-webkit-scrollbar
- {
- background-color: {color:Background};
- height: 10px;
- width: 10px;
- }
- {CustomCSS}
- </style>
- </head>
- <body>
- <div id="content">
- <div id="sidebar">
- <div id="title">{title}</div>
- <img src="{image:Sidebar}"/>
- <div id="links">
- <br>
- <a href="/" title="refresh"><i class="fa fa-home"></i> </a>
- <a href="/ask" title="send me a message"><i class="fa fa-envelope"></i> </a>
- <a href="/submit" title="submit"><i class="fa fa-pencil"></i> </a>
- <a href="/archive" title="archive"><i class="fa fa-archive"></i> </a>
- <a href="http://trappedinyoursoul.tumblr.com" title="credit"><i class="fa fa-heart"></i> </a>
- </div>
- <br>
- <div id="description">{description}
- <br>
- <br>
- <b><a href="{text:Link 5 URL}">{text:link 5}</a></b>
- <br>
- <b><a href="{text:Link 6 URL}">{text:link 6}</a></b>
- <br>
- <b><a href="{text:Link 7 URL}">{text:link 7}</a></b>
- <br>
- <b><a href="{text:Link 8 URL}">{text:link 8}</a></b>
- <div id="pagination">
- {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">Newer</a>
- /
- {/block:PreviousPage}{block:NextPage} <a href="{NextPage}">Older</a>{/block:NextPage}{/block:Pagination}
- </div>
- </div>
- </div>
- <div id="entries">
- <ol id="posts">
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
- width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
- {block:Posts}
- {block:Text}
- <li class="post text">
- {block:Title} <h2>{Title}</h2> {/block:Title}
- <br>
- {Body}
- </li>
- {/block:Text}
- {block:Photo}
- <li class="post photo">
- <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- {block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- </li>
- {/block:Photo}
- {block:Photoset}
- <li class="post photoset">
- {Photoset-500}{block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- </li>
- {/block:Photoset}
- {block:Quote}
- <div class="quotetitle {Length}"><h2>“{Quote}”</h2></div>
- {block:Source}<p>—{Source}</p>{/block:Source}
- {/block:Quote}
- {block:Link}
- <li class="post link">
- <a href="{URL}" {Target}> <h2>{Name} →</h2> </a>
- {block:Description}
- <div class="description">{Description}</div>
- {/block:Description}
- </li>
- {/block:Link}
- {block:Chat}
- <li class="post chat">
- {block:Title} <h2>{Title}</h2> {/block:Title}
- <br>
- <div class="chat">
- {block:Lines}
- <li class="{Alt} user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}{Line}
- </li>
- {/block:Lines}
- </div>
- </li>
- {/block:Chat}
- {block:Answer}
- <img src="{AskerPortraitURl-48}" align="left" class="askborder">
- <b>{Asker}</b> asked: <div class="question"> {Question} </div>
- </div>
- <br>
- <div class="answer"> {Answer} </div>
- {/block:Answer}
- {block:Video}
- <li class="post video">
- {Video-500}{block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- </li>
- {/block:Video}
- {block:Audio}
- <li class="post audio">
- {AudioPlayerBlack}{block:Caption}
- <div class="caption">{Caption}</div>
- {/block:Caption}
- </li>
- {/block:Audio}
- <div id="info">
- {block:Date}
- Posted in {DayOfMonth}{DayOfMonthSuffix} of {Month} </a>
- {/block:Date}
- with <a href="{Permalink}">{NoteCountWithLabel}</a> // <a href="{ReblogURL}" target="_blank" style="color:{color:Link}" title="Want to reblog this?">Reblog</a>
- {block:permalinkpage} // {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParenttitle}">Via</a> // {block:ContentSource}<a href="{ReblogRootURL}" "{ReblogRootName}" title="{ReblogRoottitle}">Source</a>{/block:ContentSource}{/block:RebloggedFrom}{/block:permalinkpage}<br/>{block:HasTags}<div class="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
- </div>
- {block:PostNotes}<div class="pagenotes">{PostNotes}</div>{/block:PostNotes}
- {/block:Posts}
- </ol>
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript">//** jQuery Scroll to Top Control script- (c) I made this script myself (Kyle Monk) and it is hosted on my personal site so would appreciate if you followed my blog at kylemonk.tumblr.com if you use it or for details on how to change the location.
- //** Graphic originally from tumbler dashboard, for details on how to change graphic colour, contact me at kylemonk.tumblr.com
- //** v1.1 (April 7th, 10'):
- //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
- //** 2) Fixes scroll animation not working in Opera.
- var scrolltotop={
- //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
- //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
- setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
- controlHTML: '<img src="https://24.media.tumblr.com/2bdd8d24322049c40e5fbb5fc0f9ac8d/tumblr_mq8uqyCpnF1qklunfo1_100.png" style="filter:alpha(opacity=70); -moz-opacity:0.7; margin-bottom:-10px;" width=""/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:10, offsety:10}, //offset of control relative to right/ bottom of window corner
- anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
- state: {isvisible:false, shouldvisible:false},
- scrollup:function(){
- if (!this.cssfixedsupport) //if control is positioned using JavaScript
- this.$control.css({opacity:0}) //hide control immediately after clicking it
- var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
- if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
- dest=jQuery('#'+dest).offset().top
- else
- dest=0
- this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
- },
- keepfixed:function(){
- var $window=jQuery(window)
- var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
- var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
- this.$control.css({left:controlx+'px', top:controly+'px'})
- },
- togglecontrol:function(){
- var scrolltop=jQuery(window).scrollTop()
- if (!this.cssfixedsupport)
- this.keepfixed()
- this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
- if (this.state.shouldvisible && !this.state.isvisible){
- this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
- this.state.isvisible=true
- }
- else if (this.state.shouldvisible==false && this.state.isvisible){
- this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
- this.state.isvisible=false
- }
- },
- init:function(){
- jQuery(document).ready(function($){
- var mainobj=scrolltotop
- var iebrws=document.all
- mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
- mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
- mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
- .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
- .attr()
- .click(function(){mainobj.scrollup(); return false})
- .appendTo('body')
- if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
- mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
- mainobj.togglecontrol()
- $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
- mainobj.scrollup()
- return false
- })
- $(window).bind('scroll resize', function(e){
- mainobj.togglecontrol()
- })
- })
- }
- }
- scrolltotop.init()</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement