Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- // drop pop candy
- by espoirthemes//
- +don't touch the credit
- +edit as much as you want
- popup tutorial by htmlqueens
- container base by octomoosey
- -->
- <html>
- <head>
- <script type="text/javascript"
- src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script>
- $(document).ready(function() {
- //
- $('a.poplight[href^=#]').click(function() {
- var popID = $(this).attr('rel'); //Get Popup Name
- var popURL = $(this).attr('href'); //Get Popup href to define size
- var query= popURL.split('?');
- var dim= query[1].split('&');
- var popWidth = dim[0].split('=')[1]; //Gets the first query string value
- $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://38.media.tumblr.com/30853fe6c9b10e246922a5953db4d1a0/tumblr_inline_nl8j0gMXwf1ry72eo.gif" class="btn_close" title="escape" alt="escape" /></a>');
- var popMargTop = ($('#' + popID).height() + 80) / 2;
- var popMargLeft = ($('#' + popID).width() + 80) / 2;
- //Apply Margin to Popup
- $('#' + popID).css({
- 'margin-top' : -popMargTop,
- 'margin-left' : -popMargLeft
- });
- $('body').append('<div id="fade"></div>');
- $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
- return false;
- });
- $('a.close, #fade').live('click', function() {
- $('#fade , .popup_block').fadeOut(function() {
- $('#fade, a.close').remove(); //fade them both out
- });
- return false;
- });
- });
- </script>
- <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}
- <meta name="color:background" content="#fff" />
- <meta name="color:title background" content="#eee" />
- <meta name="color:title first line" content="#fff" />
- <meta name="color:title" content="#9ac2fe" />
- <meta name="color:posts" content="#fff" />
- <meta name="color:border" content="#eee" />
- <meta name="color:text" content="#006f94" />
- <meta name="color:bold" content="#888" />
- <meta name="color:italic" content="#aaa" />
- <meta name="color:link background" content="#ffeaaa" />
- <meta name="color:links" content="#BDBDBD" />
- <meta name="color:link hover" content="#f2992e" />
- <meta name="color:info background" content="#ffb7b7" />
- <meta name="color:info links" content="#fff" />
- <meta name="color:info links hover" content="#636363" />
- <meta name="color:tag background" content="#ffeaaa" />
- <meta name="color:tags" content="#636363" />
- <meta name="color:ask bubble" content="#eee" />
- <meta name="color:ask bubble text" content="#aaa" />
- <meta name="color:scrollbar" content="#ddd" />
- <meta name="color:scrollbar background" content="#f8f8f8" />
- <meta name="color:tooltip" content="#ffeaaa" />
- <meta name="color:tooltip text" content="##006f94" />
- <meta name="color:selection background" content="#ffb7b7" />
- <meta name="color:selection text" content="#fff" />
- <meta name="color:current page" content="#fff" />
- <meta name="color:jump page" content="#fff" />
- <meta name="color:jump page hover" content="#fefefe" />
- <meta name="color:jump page hover text" content="#000" />
- <meta name="text:link1"content="link" /><meta name="text:url1"content="/">
- <meta name="text:link2"content="link" /><meta name="text:url2"content="/">
- <meta name="text:link3"content="link" /><meta name="text:url3"content="/" />
- <meta name="text:link4" content="link"/><meta name="text:url4" content="/"/>
- <meta name="text:link5"content="link" /><meta name="text:url5"content="/" />
- <meta name="text:link6" content="link"/><meta name="text:url6" content="/"/>
- <meta name="text:current page" content="X" />
- <meta name="image:background" content="" />
- <meta name="image:side image" content="" />
- <meta name="if:full background" content="" />
- <script type="text/javascript"
- src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- </head>
- <style type="text/css">
- #s-m-t-tooltip{
- max-width:300px;
- margin-top:-50px;
- margin-left:-20px;
- border:2px solid white;
- box-shadow: 0px 0px 0px 2px {color:tooltip};
- font-family:consolas;
- padding:5px 5px;
- background:{color:tooltip}; /*if you're changing the color in the code, make sure this is the same as the s-m-t:after */
- color:{color:tooltip text};
- z-index:99999999;
- font-size:12px;
- text-transform:uppercase;
- }
- /* don't touch this, this is the what makes it look like a speech bubble */
- #s-m-t-tooltip:after{
- content: '';
- position: absolute;
- border-style: solid;
- border-width: 8px 10px 0;
- border-color: {color:tooltip} transparent;
- display: block;
- width: 0;
- z-index: 1;
- bottom: -10px;
- left: 10%;}
- ::-webkit-scrollbar {
- width: 10px;
- height: 2px;
- }
- ::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- ::-webkit-scrollbar-thumb {
- background: {color:scrollbar};
- border: 0px none #ffffff;
- border-radius: 0px;
- }
- ::-webkit-scrollbar-track {
- background: {color:scrollbar background};
- border: 0px none #ffffff;}
- #fade { /*--Transparent background layer--*/
- display: none; /*--hidden by default--*/
- background: #fff;
- background-image: url('');
- position: fixed; left: 0; top: 0;
- width: 100%; height: 100%;
- opacity: .8;
- z-index: 9999;
- }
- .popup_block{
- display: none; /*--hidden by default--*/
- padding: 20px;
- z-index: 99999;
- float: left;
- font-size: 12px;
- position: fixed;
- top: 50%; left: 50%;
- background: {color:posts};
- z-index: 99999; border: 2px solid {color:border};
- -webkit-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- -moz-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- }
- img.btn_close {
- float: right;
- margin: -5px -5px 0 0;
- }
- /*--Making IE6 Understand Fixed Positioning--*/
- *html #fade {
- position: absolute;
- }
- *html .popup_block {
- position: absolute;
- }
- .pop li{padding:10px; background:{color:posts}; list-style:none; display:inline-block;font-size:16px; margin-top:10px; margin-left:10px; border:1px solid #ddd; -webkit-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- -moz-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);}
- body {
- font-family:'Gibson', sans-serif;
- font-size: 14px;
- color:{color:text};
- background:{color:background} url({image:background})
- {block:iffullbackground} no-repeat center center fixed;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover; {/block:iffullbackground};
- background-attachment:fixed;
- word-wrap:break-word;
- margin:0;
- }
- a {
- text-decoration:none;
- color:{color:links};
- -webkit-transition: all 0.7s ease;
- -moz-transition: all 0.7s ease;
- -o-transition: all 0.7s ease;
- }
- a:hover {
- color:{color:link hover};
- }
- b, strong {
- color:{color:bold};
- }
- i, em {
- color:{color:italic};
- }
- blockquote {
- padding:2px 7px;
- margin:3px 0 3px 8px;
- border-left:1px solid #006f94;
- }
- blockquote img {
- max-width:100%;
- height:auto;
- }
- img {
- max-width: 100%;
- }
- ::selection {
- background: {color:selection background}; /* WebKit/Blink Browsers */color:{color:selection text};
- }
- ::-moz-selection {
- background: {color:selection background}; /* Gecko Browsers */color:{color:selection text};
- }
- ul{list-style-image: url('http://sorahana.ciao.jp/material/onepoint/maru-y.gif');}
- h1 {
- font-size:30px;
- line-height:30px;
- text-align:right;
- padding:10px;
- color:{color:title};
- }
- h1::first-line {background:{color:title background}; color:{color:title first line};text-shadow: 3px 3px 0px rgba(98, 155, 255, 0.93);}
- h2 {
- font-size:30px;
- line-height:30px;
- text-align:left;
- padding:10px;
- background:{color:title background}; color:{color:title first line};text-shadow: 3px 3px 0px rgba(98, 155, 255, 0.93);}
- #container {
- position:absolute;
- left:420px;
- height:90%;
- -webkit-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- -moz-box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- box-shadow: 8px 8px 0px 0px rgba(217, 50, 50, 0.15);
- padding:10px;
- overflow-y:scroll;
- width:500px;
- top:20px;
- background:{color:posts};
- border:1px solid {color:border};
- }
- .posts {
- width:400px;
- background-color:{color:posts};
- margin-top:40px;
- margin-left:50px;
- margin-bottom:100px;
- }
- .permalinks {
- padding:10px;background:{color:info background};
- height:30px;
- color:{color:info links};
- }
- .permalinks a {
- background:none;
- text-decoration:none;
- font-size: 14px;
- font-family:arial;
- color:{color:info links};
- }
- .permalinks a:hover {
- color:{color:info links hover};
- }
- .date {
- float:left;
- }
- .reblogs {
- float:right;
- }
- #albumart{
- z-index:2;
- width:150px;
- height:150px;
- border-radius:100%;
- }
- .dinky {
- float:left;
- }
- #albumart img{
- background:{color:highlight};
- width:150px;
- border-radius:100%;
- height:150px;
- padding:2px;
- border:1px solid transparent;
- box-shadow:0px 0px 0px 2px {color:link background};
- border-width:0px; transition:.6s;
- }
- .posts:hover #albumart img{transform:rotate(200deg); transition:.6s;}
- .player {
- width:26px;
- overflow:hidden;
- height:40px;
- padding:0px;
- padding-top:10px;
- padding-left:4px;
- margin-left:8px;
- transform:scale(1.32);
- border-radius:90px;
- position:relative;
- }
- .playercon {
- width:50px;
- height:50px;
- background:{color:posts};
- border-radius:90px;
- position:relative;
- margin-top:-100px;
- margin-left:50px;
- border:1px solid transparent;
- box-shadow:0px 0px 0px 2px {color:link background};
- -webkit-transition-duration:500ms;
- -moz-transition-duration:500ms;
- -o-transition-duration:500ms;
- -ms-transition-duration:500ms;
- }
- .donkey {
- float:left top;
- margin-left:150px;
- background-color:transparent;
- padding:20px;
- height:110px;
- text-align:center;
- color:{color:text};
- }
- .track {
- font-size:12px;
- letter-spacing:4px;
- text-shadow:2px 2px 0px {color:link background};
- border-bottom:1px solid {color:border};
- padding:10px;
- font-weight:300;
- text-transform:uppercase; transition:.6s;
- color:#333;
- }
- .artist {
- letter-spacing:1px;
- font-style:italic;
- border-bottom:1px solid {color:border};
- }
- .playcount {
- font-size:9px;
- text-transform:uppercase;
- letter-spacing:3px;
- }
- #audiolo {
- width:400px;
- }
- .tags {
- text-align:center;
- }
- .tags a {
- text-decoration:none;
- font-size: 14px;
- margin:4px;
- color:{color:tags};
- }
- .tags a:hover {
- color:{color:info link hover};
- }
- #sidebar {
- position:fixed;
- left:210px;
- top:70px;
- height:350px;
- width:200px;
- background:transparent;
- background-position: bottom left;
- background-repeat:no-repeat;
- background-attachment:fixed;
- }
- #sidebar:hover {
- opacity:1;
- }
- #sideimage img {
- max-width:250px;
- margin-left:10px;
- }
- #sidebar a{
- text-shadow:2px 2px 0px {color:link background};
- }
- #links {
- font-size:14px;
- padding:10px;
- text-align:right;
- }
- .link{font-size:20px;}
- #links a {
- display:inline-block;
- font-family:arial;
- padding:4px;font-style:italic;
- color:#006f94;background:{color:link background};
- -webkit-transition: all 0.7s ease;
- -moz-transition: all 0.7s ease;
- -o-transition: all 0.7s ease;
- }
- #links a:hover {
- color:#dddddd;
- letter-spacing:1px;
- }
- #pagination { position:fixed;
- bottom:30px;
- font-size:20px;
- right:200px;}
- #pagination a {
- line-height:10px;
- }
- .current_page{
- font-family:calibri;background-color:{color:current page}; width:20px; padding:6px; font-size:14px; height:10px;
- border-bottom:2px solid {color:info background};}
- .jump_page{background-color:{color:jump page}; transition:.5s; -webkit-transition:.5s; -moz-transition:.5s; height:10px;font-size:14px;padding:6px; border-bottom:2px solid {color:links};
- width:20px;
- font-family:calibri; height:14px;
- }
- .jump_page:hover{opacity:.8; background:{color:jump page hover};}
- .jump_page a:hover {color:{color:jump page hover text};}
- .speechbubble {
- width:300px;
- position: relative;
- background:{color:ask bubble} ;
- left:70px;
- color:{color:ask bubble text};
- margin: 0;
- padding:8px;
- text-align:left;
- box-shadow: 0px 0 1px rgba(0,0,0,0);
- }
- .speechbubble a{background:none;}
- .speechbubble:after {
- position: absolute;
- content: "";
- border-color: {color:ask bubble} transparent transparent transparent;
- border-style: solid;
- border-width: 15px 15px 0px;
- height:0;
- width:0;
- position:absolute;
- left:-15px;
- top:10px;
- }
- .quote {
- font-size:13px;
- letter-spacing:1px;
- text-align:center;
- border-bottom:1px solid #eee;
- margin-bottom:5px;
- padding-bottom:3px;
- }
- .quotesource {
- font-size:10px;
- letter-spacing:1px;
- text-align:center;
- margin-bottom:5px;
- }
- #egg { opacity:.8;left:10px; bottom:10px; position:fixed;bottom:4px;display:block; width: 14px; height: 18px; background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
- font-family: "bitxmap";
- border:1px solid #000; z-index:4;
- }
- #egg:hover { animation-name: egg;
- animation-duration: 1s;
- animation-iteration-count: infinite;}
- @keyframes egg{
- 0%{}
- 10%{transform:rotate(20deg)}
- 80%{transform:rotate(-20deg)}
- 100%{}
- }
- ol.notes{position:relative;
- margin:20px auto;
- width:424px; padding:10px;
- }
- .notes li{list-style:none;
- margin:10px;
- background:{color:link background};
- padding:10px;
- text-align:center;
- font-size:13.4px;
- }
- .notes li img{ padding:10px; border-right:2px solid {color:background}; width:16px; position:absolute; left:18px; margin-top:-10px;}
- </style>
- <body>
- <img src="{image:side image}" style="right:2px; max-width:280px; position:fixed; bottom:2px;">
- <div id="sidebar">
- <h1>{Title}</h1>
- <div style="text-align:right; padding:10px; margin-top:-20px; font-size:14px; font-family:courier;">{block:Description}{Description}{/block:Description}</div>
- <div id="links">
- <a href="/">home</a>
- <a href="/ask">ask</a>
- <a href="#?w=400" rel="02" class="poplight">more +</a>
- </div>
- </div>
- {block:Pagination}
- <div id="pagination">
- {block:previousPage} <span class ="jump_page"><a href="{PreviousPage}"> «</a></span>{/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}
- <span class="current_page">{text:current page}</span>
- {/block:CurrentPage}
- {block:JumpPage}
- <a class="jump_page" href="{URL}">{PageNumber}</a>
- {/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage} <span class="jump_page">
- <a href="{NextPage}"> » </a>
- </span>{/block:NextPage}
- </div>
- {/block:Pagination}
- <a href="http://espoirthemes.tumblr.com" title="credit"><div id="egg"></div></a>
- <div id="container">
- {block:Posts}
- <div class="posts">
- {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
- {block:Photo}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Panorama}{LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Panorama}
- {block:Photoset}{Photoset-400}<br>{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Quote}<div class="quote">{Quote}</div>{block:Source}<div class="quotesource">{Source}</div>{/block:Source}{/block:Quote}
- {block:Link}<a href="{URL}" class="link" {Target}>» {Name} »</a>{block:Description}{Description}{/block:Description}{/block:Link}
- {block:Chat}{block:Title}<h2>{Title}</h2></a>{/block:Title}
- {block:Lines}<li style="list-style:none;">{block:Label} <b style="letter-spacing:1px">{Label} </b>{/block:Label}{Line}</li>{/block:Lines}{/block:Chat}
- {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Audio}
- <div id="audiolo">
- <div class="dinky">
- <div id="albumart">{block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}</div>
- <div class="playercon"><div class="player">{AudioPlayerWhite}</div></div></div>
- <div class="donkey">
- <div class="track"> {block:TrackName}
- {TrackName}
- {/block:TrackName} </div>
- <div class="artist">
- {block:Artist}{Artist}
- {/block:Artist} </div>
- <div class="album">
- {block:Album}
- {Album}
- {/block:Album}
- </div>
- <div class="playcount">
- {block:PlayCount}{PlayCountWithLabel}{/block:PlayCount}</div>
- </div></div>
- {block:caption}<div class="caption">{caption} </div> {/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="askerportrait"><img style=" margin-left:10px; width:40px;" src="{AskerPortraitURL-40}" align="left" /></div><div class="speechbubble">{Asker} shouted: {Question}</div>
- <br>{answer}
- {/block:Answer}
- <div class="permalinks">
- <div class="date"><a href="{Permalink}" title="{timeago}">{DayOfMonth}.{MonthNumber}.{ShortYear} </a> {block:NoteCount}| <a href="{Permalink}" title="notes">{NoteCount}</a>{/block:NoteCount}</div>
- <div class="reblogs">{block:RebloggedFrom}
- <a href="{ReblogParentURL}" title="{reblogparentname}">via</a> |
- <a href="{ReblogRootURL}" title="{reblogrootname}">source</a> |
- {/block:RebloggedFrom} <a href="{ReblogURL}">+reblog</a></div>
- </div>
- <br>
- <div class="tags">{block:HasTags}{block:Tags}<a href="{TagUrl}"><font style="background:{color:tag background};"> #{Tag}</font></a>{/block:Tags}{/block:HasTags}</div>
- </div>
- {/block:Posts}
- {block:PostNotes}{PostNotes}{/block:PostNotes}
- </div>
- {block:ContentSource}
- <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
- width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
- {/block:ContentSource}
- </body>
- <div id="02" class="popup_block">
- <div class="pop">
- <li><a href="{text:url1}">{text:link1}</a></li>
- <li><a href="{text:url2}">{text:link2}</a></li>
- <li><a href="{text:url3}">{text:link3}</a></li>
- <li><a href="{text:url4}">{text:link4}</a></li>
- <li><a href="{text:url5}">{text:link5}</a></li>
- <li><a href="{text:url6}">{text:link6}</a></li>
- </div>
- </div></div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement