Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!-- THEME #41 'RETURN HOME' BY HRRYS
- I WORKED HARD ON THIS SO IF YOU REMOVE THE CREDIT OR EDIT AND CLAIM IT AS YOUR OWN, I'LL GET HARRY TO STRANGLE YOU.
- OKAY ENJOY NOW
- -->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>{Title}</title>
- {block:Description}<meta name="description" content="{MetaDescription}"/>
- {/block:Description}
- <link rel="shortcut icon" href="{Favicon}" />
- <link rel="alternate" type="application/rss+xml" href="{RSS}" />
- <meta name="color:bg" content="#ffffff">
- <meta name="color:link" content="#4f4c4c">
- <meta name="color:sb" content="#000">
- <meta name="color:text" content="#9a9a9a">
- <meta name="color:tags" content="##b9b7b7">
- <meta name="color:hover" content="#eeeeee">
- <meta name="color:border" content="#e7e7e7">
- <meta name="color:scrollbar" content="#000">
- <meta name="image:sidebar" content=""/>
- <meta name="text:title1" content="">
- <meta name="text:title2" content="">
- <meta name="text:link 1" content="">
- <meta name="text:link 1 url" content="/">
- <meta name="text:link 2" content="">
- <meta name="text:link 2 url" content="/">
- <meta name="text:link 3" content="">
- <meta name="text:link 3 url" content="/">
- <meta name="text:link 4" content="">
- <meta name="text:link 4 url" content="/">
- <script type="text/javascript">
- <!--
- /* This script and many more are available free online at
- The JavaScript Source :: http://javascript.internet.com
- Created by: Brian McAllister :: http://www.frequency-decoder.com/ */
- /*
- Animated miniTabs by frequency decoder
- Further information on this script can be located
- on the authors Web site http://www.frequency-decoder.com/
- Based on an idea by Rob L Glazebrook
- (http://www.rootarcana.com/test/smartmini/)
- which was derived from the original idea of Stephen Clark
- (http://www.sgclark.com/sandbox/minislide/)
- Changes
- =======
- 05/03/06 : Creation
- 08/03/06 : Added the cleanUp method to stop IE memory leaks.
- This script is distributed under a "Attribution-NonCommercial-ShareAlike 2.0" license
- You are free:
- 1. to copy, distribute, display, and perform the work.
- 2. to make derivative works.
- Under the following conditions:
- 1. **Attribution*: You must attribute the work in the manner specified
- by the author or licensor.
- 2. Noncommercial*: You may not use this work for commercial purposes.*
- 3. Share Alike*: If you alter, transform, or build upon this work,
- you may distribute the resulting work only under a license identical to this one.
- */
- var miniTab = {
- currentTab: 0,
- activeTab: 0,
- destX: 0,
- destW: 0,
- t: 0,
- b: 0,
- c: 0,
- d: 20,
- animInterval: null,
- sliderObj: null,
- aHeight: 0,
- init: function() {
- if(!document.getElementById || !document.getElementById("miniflex")) return;
- var ul = document.getElementById("miniflex");
- var liArr = ul.getElementsByTagName("li");
- var aArr = ul.getElementsByTagName("a");
- for(var i = 0, li; li = liArr[i]; i++) {
- liArr[i].onmouseover = aArr[i].onfocus = function(e) {
- var pos = 0;
- var elem = this.nodeName == "LI" ? this : this.parentNode;
- while(elem.previousSibling) {
- elem = elem.previousSibling;
- if(elem.tagName && elem.tagName == "LI") pos++;
- }
- miniTab.initSlide(pos);
- }
- }
- ul.onmouseout = function(e) {
- miniTab.initSlide(miniTab.currentTab);
- };
- for(var i = 0; i < aArr.length; i++) {
- if(document.location.href.indexOf(aArr[i].href)>=0) {
- miniTab.activeTab = miniTab.currentTab = i;
- }
- aArr[i].style.borderBottom = "0px";
- aArr[i].style.paddingBottom = "6px";
- }
- miniTab.slideObj = ul.parentNode.appendChild(document.createElement("div"));
- miniTab.slideObj.appendChild(document.createTextNode(String.fromCharCode(160)));
- miniTab.slideObj.id = "animated-tab";
- miniTab.slideObj.style.top = (ul.offsetTop + liArr[miniTab.activeTab].offsetTop + aArr[miniTab.activeTab].offsetTop) + "px";
- miniTab.slideObj.style.left = (ul.offsetLeft + + liArr[miniTab.activeTab].offsetLeft + aArr[miniTab.activeTab].offsetLeft) + "px";
- miniTab.slideObj.style.width = aArr[miniTab.activeTab].offsetWidth + "px";
- miniTab.aHeight = ul.offsetTop + liArr[miniTab.activeTab].offsetTop + aArr[miniTab.activeTab].offsetTop;
- miniTab.initSlide(miniTab.activeTab, true);
- var intervalMethod = function() { miniTab.slideIt(); }
- miniTab.animInterval = setInterval(intervalMethod,10);
- },
- cleanUp: function() {
- clearInterval(miniTab.animInterval);
- miniTab.animInterval = null;
- },
- initSlide: function(pos, force) {
- if(!force && pos == miniTab.activeTab) return;
- miniTab.activeTab = pos;
- miniTab.initAnim();
- },
- initAnim: function() {
- var ul = document.getElementById("miniflex");
- var liArr = ul.getElementsByTagName("li");
- var aArr = ul.getElementsByTagName("a");
- miniTab.destX = parseInt(liArr[miniTab.activeTab].offsetLeft + liArr[miniTab.activeTab].getElementsByTagName("a")[0].offsetLeft + ul.offsetLeft);
- miniTab.destW = parseInt(liArr[miniTab.activeTab].getElementsByTagName("a")[0].offsetWidth);
- miniTab.t = 0;
- miniTab.b = miniTab.slideObj.offsetLeft;
- miniTab.c = miniTab.destX - miniTab.b;
- miniTab.bW = miniTab.slideObj.offsetWidth;
- miniTab.cW = miniTab.destW - miniTab.bW;
- miniTab.slideObj.style.top = (ul.offsetTop + liArr[miniTab.activeTab].offsetTop + aArr[miniTab.activeTab].offsetTop) + "px";
- },
- slideIt:function() {
- var ul = document.getElementById("miniflex");
- var liArr = ul.getElementsByTagName("li");
- var aArr = ul.getElementsByTagName("a");
- // Has the browser text size changed?
- if(miniTab.aHeight != ul.offsetTop + liArr[miniTab.activeTab].offsetTop + aArr[miniTab.activeTab].offsetTop) {
- miniTab.initAnim();
- miniTab.aHeight = ul.offsetTop + liArr[miniTab.activeTab].offsetTop + aArr[miniTab.activeTab].offsetTop
- };
- if(miniTab.t++ < miniTab.d) {
- var x = miniTab.animate(miniTab.t,miniTab.b,miniTab.c,miniTab.d);
- var w = miniTab.animate(miniTab.t,miniTab.bW,miniTab.cW,miniTab.d);
- miniTab.slideObj.style.left = parseInt(x) + "px";
- miniTab.slideObj.style.width = parseInt(w) + "px";
- } else {
- miniTab.slideObj.style.left = miniTab.destX + "px";
- miniTab.slideObj.style.width = miniTab.destW +"px";
- }
- },
- animate: function(t,b,c,d) {
- if ((t/=d/2) < 1) return c/2*t*t + b;
- return -c/2 * ((--t)*(t-2) - 1) + b;
- }
- }
- window.onload = miniTab.init;
- window.onunload = miniTab.cleanUp;
- //-->
- </script>
- <style type="text/css">
- /*--scrollbar--*/
- ::-webkit-scrollbar-thumb:vertical {border:3px solid #fff;height:12px; background-color:{color:scrollbar};}
- ::-webkit-scrollbar-thumb:horizontal {background-color:#fff;}
- ::-webkit-scrollbar {background-color:{color:scrollbar};height:7px;width:12px;border:5px solid #fff;}
- ::-webkit-scrollbar-button:start:decrement, ::-webkit-scrollbar-button:end:increment{background-color:{color:scrollbar};display:block;height:8px;border-right:2px solid #fff;border-left:2px solid #fff;
- }
- /*--body--*/
- body {
- font-style:none;
- background-color:{color:bg};
- font-family:calibri;
- color:{color:text};
- font-size:9px;
- }
- a {
- color:{color:link};
- text-decoration:none;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- a:hover {
- text-decoration:none;
- -webkit-transition: all 0.8s ease-out;
- -moz-transition: all 0.8s ease-out;
- transition: all 0.8s ease-out;
- color:{color:hover};
- }
- img {
- border:none;
- }
- blockquote {
- padding-left:5px;
- border-left:2px solid {color:border};
- }
- h1 {
- font-size:10px;
- }
- /*--sidebar--*/
- #sidebar {
- position:fixed;
- width:140px;
- margin-left:100px;
- margin-top:120px;
- }
- /*--sidebar img--*/
- #sidebarimage {
- width:140px;
- }
- #sidebarimage img {
- width:120px;
- height:120px;
- padding:3px;
- -webkit-filter: grayscale(100%);
- border:solid 37px {color:sb};
- }
- /*--links--*/
- /*--links--*/
- #miniflex {
- width:180px;
- float: left;
- font-size: small; /* could be specified at a higher level */
- margin: 0 0 0 0px;
- padding: 0 10px 0 10px;
- border-bottom: 1px solid #000;
- position:relative;
- z-index:2;
- }
- #miniflex li {
- float: left;
- margin: 0;
- padding: 0;
- display: inline;
- list-style: none;
- position:relative;
- }
- #miniflex a:link, #miniflex a:visited {
- float: left;
- font-size: 85%;
- line-height: 20px;
- font-weight: bold;
- margin: 0 10px 0 10px;
- text-decoration: none;
- color: #000;
- }
- #miniflex a.active:link, #miniflex a.active:visited, #miniflex a:hover {
- border-bottom: 4px solid #000;
- padding-bottom: 2px;
- color: #000;
- }
- #animated-tab {
- position: absolute;
- z-index: 1;
- font-size: 85%;
- line-height: 20px;
- padding-bottom: 2px;
- border-bottom: 4px solid #000;
- }
- .circle, .text {
- font: 12px Verdana, Arial, sans-serif;
- color: blue;
- position: absolute;
- }
- .circle { z-index: 2 }
- .circle img {border: 0 }
- .text {
- text-align: left;
- top: 180px;
- left:140px;
- width: 225px;
- z-index: 0;
- visibility: hidden;
- }
- /*--title--*/
- #title{
- font-size:15px;
- margin-top:-20px;
- margin-left:0px;
- position:fixed;
- color:black;
- font-family:Gautami;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- #sidebar:hover #title{
- opacity:0;
- margin-top:30px;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- #title2{
- font-size:15px;
- margin-top:30px;
- margin-left:0px;
- opacity:0;
- position:fixed;
- color:black;
- font-family:Gautami;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- #sidebar:hover #title2{
- opacity:1;
- margin-top:-20px;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- /*--description--*/
- #description {
- margin-top:-162px;
- height:120px;
- margin-left:40px;
- background-color:white;
- opacity:0;
- width:120px;
- color:black;
- font-family:'Tahoma';
- font-size:11px;
- text-align:center;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- #sidebar:hover #description{
- opacity:0.75;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- /*--pagination--*/
- #pagination {
- margin-top:8px;
- width:50px;
- margin-left:75px;
- font-weight:bold;
- text-align:center;
- font-size:12px;
- font-family:calibri;
- color:#000;
- }
- #pagination a{
- color:#000;
- }
- #pagination a:hover {
- color:{color:hover};
- }
- /*--posts--*/
- .postscontainer {
- max-width:500px;
- margin: auto;
- margin-top:70px;
- margin-left:400px;
- }
- .posts {
- width:500px;
- line-height:100%;
- font-size:10px;
- font-family:calibri;
- margin-top:30px;
- text-align:justify;
- }
- .posts img {
- max-width:500px;
- }
- .info {
- margin-top:20px;
- padding-top:3px;
- margin-bottom:1px;
- text-align:left;
- font-size:10px;
- font-family:calibri;
- color:{color:text};
- border-top:1px solid {color:border};
- }
- .info a {
- color:{color:link};
- }
- .info a:hover {
- text-decoration:underline;
- color:{color:link Hover};
- }
- .tags {
- width:500px;
- position:absolute;
- margin-top:1px;
- line-height:100%;
- font-family:calibri;
- font-size:10px;
- text-align:left;
- }
- .tags a {
- color:{color:link};
- }
- .tags a:hover {
- text-decoration:underline;
- color:{color:hover};
- }
- .postnote {
- width:500px;
- font-family:calibri;
- text-transform:lowercase;
- font-size:10px;
- text-align:left;
- line-height:90%;
- margin-top:40px;
- }
- .postnote li {
- list-style-type:none;
- border-bottom:1px solid {color:border};
- padding:37px 0px 3px 0px;
- text-align:left;
- margin:0px;
- -moz-transition-duration:0.5s;
- -webkit-transition-duration:0.5s;
- -o-transition-duration:0.5s;
- }
- .postnote img {
- width:20px;
- padding: 3px;
- margin:2px 7px -3px 6px;
- text-align:left;
- }
- /*--ask--*/
- .question {
- width:500px;
- letter-spacing:0px;
- margin-top:3px;
- padding-bottom:4px;
- text-align:justify;
- color:{color:Text};
- font-size:10px;
- font-family:calibri;
- border-bottom: 2px solid {color:border};
- }
- .answer {
- width:400px;
- letter-spacing:0px;
- text-align:justify;
- padding-top:5px;
- margin-bottom:1px;
- font-size:10px;
- font-family:calibri;
- color:{color:text};
- }
- .askimg {
- padding: 3px;
- margin:2px 7px -3px 6px;
- }
- /*--credit--*/
- #cred {
- right:0px;
- bottom:-2px;
- color:{color:text};
- position:fixed;
- -webkit-transition: all 0.5s ease-out;
- -moz-transition: all 0.5s ease-out;
- transition: all 0.5s ease-out;
- }
- {CustomCSS}
- </style>
- </head>
- <body>
- <div id="sidebar">
- <div id="title">{text:title1}</div>
- <div id="title2">{text:title2}</div>
- <div id="sidebarimage">
- <img src="{image:sidebar}"></div>
- <div id="description">{description}</div>
- <p style="text-align:center; width:200px; margin-top:45px;">
- <ul id="miniflex">
- <li><a href="{text:link 1 url}">{text:link 1}</a></li>
- <li><a href="{text:link 2 url}">{text:link 2}</a></li>
- <li><a href="{text:link 3 url}">{text:link 3}</a></li>
- <li><a href="{text:link 4 url}">{text:link 4}</a></li>
- </ul>
- </p>
- <br style="clear: both;">
- {block:Pagination}
- <div id="pagination">
- {block:PreviousPage}<a href="{PreviousPage}">PREV</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">NEXT</a>{/block:NextPage}
- </div>{/block:Pagination}
- </div></div>
- <div class="postscontainer">
- {block:Posts}
- <div class="posts">
- {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Quote}{Quote}{block:Source} —{Source}{/block:Source}{/block:Quote}
- {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
- {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
- {block:Audio}{AudioPlayerWhite}{block:Caption}{Caption}{/block:Caption}{/block:Audio}
- {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Answer}<img src="{AskerPortraitURL-48}" width="20px" align="left" class="askimg"> <div class="ask"><span style="text-transform:lowercase;">{Asker} asked:</b></span></div> <div class="question">{Question}</div><div class="answer">{Answer}</div>{/block:answer}
- {block:Date}<div class="info"><a href="{Permalink}">{TimeAgo}</a>{block:NoteCount} {NoteCountWithLabel}{/block:NoteCount} {block:RebloggedFrom} <a href="{ReblogParentURL}">{ReblogParentName}</a>{block:ContentSource} © <a href="{SourceURL}"></a><a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:ContentSource} /<a href="{ReblogURL}">reblog</a>{/block:RebloggedFrom}</div>{/block:Date}
- {block:HasTags}
- <div class="tags">
- {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>
- {/block:HasTags}
- <div class="postnote">
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- {/block:Posts}
- <div id="cred"><a href="http://hrrys.tumblr.com"><img src="http://i.imgur.com/o7oww2G.png"></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement