Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <!-- jordyn's first theme yo
- any questions do not hesitate
- don't remove creddy cred
- thank u love bugs
- -->
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <!-- variables -->
- <meta name="color:Background" content="#ffffff"/>
- <meta name="color:Text" content="#000000"/>
- <meta name="color:Link" content="#cccccc"/>
- <meta name="color:Circle" content="#000000"/>
- <meta name="color:Borders" content="#cccccc"/>
- <meta name="color:Accent 1" content="#cccccc"/>
- <meta name="color:Accent 2" content="#888888"/>
- <meta name="text:blog URL" content="/"/>
- <meta name="text:Link 2 URL" content="/"/>
- <meta name="text:Link 3 URL" content="/"/>
- <meta name="text:Link 4 URL" content="/"/>
- <meta name="text:Link 5 URL" content="/"/>
- <!-- pop up script -->
- <script>
- $(document).ready(function() {
- //
- //When you click on a link with class of poplight and the href starts with a #
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- //Pull Query & Variables from href URL
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- //Fade in the Popup and add close button
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend();
- //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- //Fade in Background
- $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
- return false;
- });
- //Close Popups and Fade Layer
- $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <!-- end pop up script -->
- <style type="text/css">
- body {
- font-family:Didot, serif;
- font-size:10px;
- letter-spacing:1px;
- background-color:{color:Background};
- color:{color:Text};
- }
- .topbar {
- margin-left:auto;
- margin-right:auto;
- margin-top:20px;
- background-color:{color:Background};
- }
- .circle{
- font-family:Didot, serif;
- text-align:center;
- letter-spacing:2px;
- border:1px solid {color:Circle};
- height:200px;
- width:200px;
- border-radius:50%;
- margin-left:auto;
- margin-right:auto;
- background-color:{color:Background};
- }
- #title {
- vertical-align:center;
- color:{color:Text};
- font-size:16px;
- padding-top:92px;
- padding-left:50px;
- padding-right:50px;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- #title a {
- color:{color:Text};
- }
- #title a:hover {
- color:{color:Accent 2};
- }
- a {
- text-decoration:none;
- color:{color:Link};
- }
- a:hover {
- color: transparent;
- text-shadow: {color:Accent 2} 0 0 5px;
- text-decoration:none;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- #links {
- opacity:0;
- padding-top:10px;
- margin-left:auto;
- margin-right:auto;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .circle:hover #links{
- opacity:1;
- z-index:9999999;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- #description {
- font-family: Didot;
- text-align:center;
- font-size:10px;
- letter-spacing:2px;
- padding-top:35px;
- }
- .block {
- text-align: center;
- width: 100%;
- height: auto;
- }
- /* The ghost, nudged to maintain perfect centering */
- .block:before {
- content: '';
- display: block;
- height: 100%;
- margin-right: -0.25em; /* Adjusts for spacing */
- }
- .container {
- display: block;
- width: 600px;
- margin-left:auto;
- margin-right:auto;
- margin-top:90px;
- }
- .posts {
- padding:40px;
- }
- .posts .hovcap {
- opacity: 0;
- text-align:center;
- padding:10px;
- margin-left:auto;
- margin-right:auto;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .posts:hover .hovcap {
- opacity:1;
- -moz-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- transition-duration: 0.5s;
- }
- .quote {
- margin-left:auto;
- margin-right:auto;
- border:1px solid {color:Borders};
- letter-spacing:2px;
- text-transform:lowercase;
- padding:20px;
- width:400px;
- }
- li:nth-child(odd) {
- background-color:#F6F6F6;
- color:{color:Accent 1};
- padding:5px;
- }
- li:nth-child(even) {
- background-color: {color:Background} ;
- color:{color:Accent 2};
- padding:5px;
- }
- ol {
- list-style:decimal-leading-zero;
- text-align:left;
- }
- ul {
- list-style:square;
- text-align:left;
- }
- .notes li: {
- list-style:none;
- padding:10px;
- }
- #bottom {
- width:600px;
- margin-left:-70px;
- }
- .divider {
- width:200px;
- border-bottom:1px solid {color:Borders};
- padding-top:5px;
- padding-bottom:10px;
- }
- .nav {
- width:400px;
- font-size:15px;
- letter-spacing:5px;
- text-transform:lowercase;
- text-align:center;
- padding-top:51px;
- padding-bottom:10px;
- }
- /* popup css */
- #fade {
- display: none;
- background: #000; /* background colour */
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- opacity: .70; /* background opacity; 0.70 would go for 70% */
- z-index: 9999;
- }
- .popup_block{
- display: none;
- background:none; /* square colour; if you don't want one write none*/
- opacity:1;
- padding: 20px;
- float: left;
- height: auto; /* if you want the square to fit to the text you write keep it like this if not change auto for the px you want; example: 400px */
- position: fixed;
- top: 50%;
- left: 50%;
- z-index: 99999;
- }
- img.btn_close {
- float: right;
- margin: -55px -55px 0 0;
- }
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- </style>
- </head>
- <body>
- <div class="topbar">
- <div class="circle">
- <div id="title"><a href="/">{Title}</a></div>
- <div id="links">
- <a href="#?w=500" rel="popup2" class="poplight">I</a>
- <a href="{text:Link 2 URL}">II</a>
- <a href="{text:Link 3 URL}">III</a>
- <a href="{text:Link 4 URL}">IV</a>
- <a href="{text:Link 5 URL}">V</a>
- </div>
- </div>
- <div id="description">{Description}</div>
- </div>
- <!-- pop up ask -->
- <div id="popup2" class="popup_block">
- <iframe frameborder="0"
- height="200"
- id="ask_form"
- scrolling="no"
- src="http://www.tumblr.com/ask_form/{text:blog URL}.tumblr.com"
- width="100%">
- </iframe>
- </div>
- <!-- end popup ask -->
- <div class="block">
- <div class="container">
- {block:Posts}
- <div class="posts">
- {block:Text}
- {block:Title}<h2>{Title}</h2>{/block:Title}
- {Body}
- <div class="hovcap">
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}</p>
- <a href="{Permalink}">{block:Date} {MonthNumberWithZero} {DayOfMonthWithZero} {Year}{/block:Date}</a>
- </div>
- {/block:Text}
- {block:Answer}
- <div class="question">
- <h2>{Asker} whispered: {Question}</h2>
- </div>
- <div class="quest">
- {Answer}
- </div>
- <div class="hovcap">
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}</p>
- <a href="{Permalink}">{block:Date} {MonthNumberWithZero} {DayOfMonthWithZero} {Year}{/block:Date}</a>
- </div>
- {/block:Answer}
- {block:Quote}
- <div class="quote">
- <div class="quotetext_{Length}"><h1>"{Quote}"</h1></div>
- {block:Source}<div class="source"> - {Source}</div>{/block:Source}
- </div>
- <div class="hovcap">
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}</p>
- <a href="{Permalink}">{block:Date} {MonthNumberWithZero} {DayOfMonthWithZero} {Year}{/block:Date}</a>
- </div>
- {/block:Quote}
- {block:Photoset}
- {Photoset-400}
- <div class="hovcap">
- {block:Caption}<div class="postinfo"><div class="photocap">{Caption}</div>{/block:Caption}
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- <a href="{Permalink}">{block:Date} {MonthNumberWithZero} {DayOfMonthWithZero} {Year}{/block:Date}</a>
- </div>
- {/block:Photoset}
- {block:Photo}
- {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width="400px">{LinkCloseTag}
- <div class="hovcap">
- {block:Caption}<div class="postinfo"><div class="photocap">{Caption}
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">#{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- </p>
- <a href="{Permalink}">{block:Date} {MonthNumberWithZero} {DayOfMonthWithZero} {Year}{/block:Date}</a>
- </div>
- </div>{/block:Caption}
- </div>
- {/block:Photo}
- {block:AudioPlayer}{AudioPlayerWhite} {/block:AudioPlayer}
- {block:PlayCount} {PlayCountWithLabel} {/block:PlayCount}
- {block:AlbumArt}{AlbumArtURL}{/block:AlbumArt}
- {block:Artist}{Artist}{/block:Artist}
- {block:Album}{Album}{/block:Album}
- {block:TrackName}{TrackName}{/block:TrackName}
- {block:Video}
- {Video-400}
- {block:Caption}{Caption}{/block:Caption}
- {/block:Video}
- </div>
- <div class="permalink">
- {block:PermalinkPage}
- {Post}
- {block:PostNotes}
- <div class"notes">
- {PostNotes}
- </div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- </div>
- {/block:Posts}
- <div align ="center"id="bottom">
- <div class="nav">
- {block:PreviousPage}<a href="{PreviousPage}">aft</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">fore</a>{/block:NextPage}
- </div>
- {/block:Pagination}
- </div>
- </div>
- </div>
- </div>
- <div class="credit">
- <a href="http://jhxythemes.tumblr.com"><img style="height:50px;width:50px; margin-bottom:10px;margin-right:10px; float:right" src="https://38.media.tumblr.com/690d59d5b30ad0628ab75ac7794c6ab9/tumblr_n9vk8a9IHR1r1bumeo1_100.png"></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement