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">
- <!--
- Lightning Theme by Chris @denisrenolds
- ᵒ Do not remove or change the credit in any way
- ᵒ Do not use as a base, the base I used is from here http://pastebin.com/r8Mckwjq
- ᵒ Do not steal from or redistribute
- Please contact me if you have any questions or concerns and enjoy!
- -->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <script>
- // Mouseover/ Click sound effect- by JavaScript Kit (www.javascriptkit.com)
- // Visit JavaScript Kit at http://www.javascriptkit.com/ for full source code
- //** Usage: Instantiate script by calling: var uniquevar=createsoundbite("soundfile1", "fallbackfile2", "fallebacksound3", etc)
- //** Call: uniquevar.playclip() to play sound
- var html5_audiotypes={ //define list of audio file extensions and their associated audio types. Add to it if your specified audio file isn't on this list:
- "mp3": "audio/mpeg",
- "mp4": "audio/mp4",
- "ogg": "audio/ogg",
- "wav": "audio/wav"
- }
- function createsoundbite(sound){
- var html5audio=document.createElement('audio')
- if (html5audio.canPlayType){ //check support for HTML5 audio
- for (var i=0; i<arguments.length; i++){
- var sourceel=document.createElement('source')
- sourceel.setAttribute('src', arguments[i])
- if (arguments[i].match(/\.(\w+)$/i))
- sourceel.setAttribute('type', html5_audiotypes[RegExp.$1])
- html5audio.appendChild(sourceel)
- }
- html5audio.load()
- html5audio.playclip=function(){
- html5audio.pause()
- html5audio.currentTime=0
- html5audio.play()
- }
- return html5audio
- }
- else{
- return {playclip:function(){throw new Error("Your browser doesn't support HTML5 audio unfortunately")}}
- }
- }
- //Initialize two sound clips with 1 fallback file each:
- var mouseoversound=createsoundbite("http://a.tumblr.com/tumblr_n6eqp8Q0JA1t8spxao1.mp3", "http://a.tumblr.com/tumblr_n6eqp8Q0JA1t8spxao1.mp3")
- var hoveroversound=createsoundbite("https://fbstatic-a.akamaihd.net/rsrc.php/yy/r/odIeERVR1c5.mp3", "https://fbstatic-a.akamaihd.net/rsrc.php/yy/r/odIeERVR1c5.mp3")
- var clicksound=createsoundbite("http://tempmedia.tumblr.com/6z4pkp5sbf8cwcwwg84cskw40_tumblr_tmp.mp3", "http://tempmedia.tumblr.com/6z4pkp5sbf8cwcwwg84cskw40_tumblr_tmp.mp3")
- </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="#ffffff"/>
- <meta name="color:Text" content="#a8a8a8"/>
- <meta name="color:Link" content="#b8b8b8"/>
- <meta name="color:Hover" content="#f2f2f2"/>
- <meta name="color:Line" content="#f2f2f2"/>
- <meta name="color:Border" content="#e4e4e4"/>
- <meta name="color:Post" content="#ffffff"/>
- <meta name="color:Backgrounds" content="#f5e8f5"/>
- <meta name="image:Sidebar" content=""/>
- <meta name="text:Link One" content="Link One"/>
- <meta name="text:Link One URL" content="/"/>
- <meta name="text:Link Two" content="Link Two"/>
- <meta name="text:Link Two URL" content="/"/>
- <meta name="text:Link Three" content="Link Three"/>
- <meta name="text:Link Three URL" content="/"/>
- <meta name="text:Link Four" content="Link Four"/>
- <meta name="text:Link Four URL" content="/"/>
- <style type="text/css">
- body{background:{color:background};margin:0px;color:{color:text};word-wrap:break-word;font-family:arial;font-size:9px;line-height:125%;}
- a{text-decoration:none;outline:none;-moz-outline-style:none;color:{color:link};}
- img{border:none;max-width:100%;}
- blockquote {margin:0px 5px;padding:0em 1em;border-left:1px solid #e1e1e1;}
- ul{list-style-type:circle;margin-left:-20px;}
- h1 {padding:10px;text-align:right;background-color:{color:backgrounds};}
- h1 a{-webkit-transition: all 0.7s ease;-moz-transition: all 0.7s ease;-o-transition: all 0.7s ease}
- h1 a:hover{
- color:{color:link};background-color:{color:post};-webkit-transition: all 0.7s ease;-moz-transition: all 0.7s ease;-o-transition: all 0.7s ease}
- a:hover{opacity:10;color:{color:hover};-webkit-transition: all 0.7s ease;-moz-transition: all 0.7s ease;-o-transition: all 0.7s ease}
- #entries{padding:10px;width:400px;margin-left:auto;margin-right:auto;margin-top:40px;font-size:10px;}
- #post{width:400px;padding-bottom:20px;padding:10px;border:1px solid {color:Border};margin-top:15px;background-color:{color:Post};-webkit-transition: all 0.7s ease;-moz-transition: all 0.7s ease;-o-transition: all 0.7s ease}
- #post:hover{border:1px solid {color:backgrounds};-webkit-transition: all 0.7s ease;-moz-transition: all 0.7s ease;-o-transition: all 0.7s ease}
- #sidebar{width:180px;position:fixed;margin-left:250px;margin-top:150px;border-radius:1px;border:1px solid {color:Border};background-color:{color:Post};}
- #sidebar img{width:161px;padding:8px;margin-left:2px;border-radius:1px;}
- #description{ position:fixed; font-size:9px; width:164px; margin-top:31px; padding:8px; background-color:{color:Post};border:1px solid {color:Border};margin-left:-1px;text-align:center; color:{color:Text};}
- .links{width:162px;height:11px;padding: 9px;letter-spacing:1px;text-align:center;margin-top:3px;margin-left:-1px;text-align:center;background-color:{color:Post};border:1px solid {color:Border};text-transform:uppercase;word-spacing:2px;position:fixed;padding-bottom:7px;}
- .links a{font-size: 8px;}
- .links a:hover {color:{color:Hover}}
- .pagination {width:100px;font-size:8px;text-align:center;margin-left:auto;margin-right:auto;margin-top:20px;padding-bottom:15px;z-index:2;letter-spacing:0px;}
- .pagination a{padding:5px;margin-top:5px;border:1px solid {color:border};background-color:white;text-transform:uppercase;font-weight:bold;width:50px;margin-left:10px;}
- #info{text-align:left;margin-top:-1px;padding:10px;text-transform:uppercase;font-size:8px;width:400px;background:transparent;font-style:none;border:1px solid {color:border};}
- #infoo{width:400px;padding:10px;border:1px solid {color:border};margin-top:3px;letter-spacing:1px;text-transform:uppercase;font-weight:bold;}
- #tags{font-family:cambria;letter-spacing:0px;text-transform:lowercase;font-size:10px;font-style:italic;margin-top:4px;text-align:left;}
- #tags a {display:inline;background-color:{color:Tags};padding:-3px;text-align:left; -webkit-transition: all 0.6s ease-in-out;-moz-transition: all 0.6s ease-in-out;-o-transition: all 0.6s ease-in-out;-ms-transition: all 0.6s ease-in-out; transition: all 0.6s ease-in-out;}
- #asker{padding:10px;text-align:left;background-color:{color:backgrounds};}
- #musicbox{border:1px solid {color:border};border-bottom-right-radius:2px;border-bottom-left-radius:2px;width:99%;margin-top:-1px;height:27px;}
- #musicinfo{padding:5px;width:386px;border:1px solid {color:border};border-top-left-radius:2px;border-top-right-radius:2px;background-color:{color:backgrounds};}
- ol.notes{width:400px;background-color:{color:post};padding:10px;list-style-type:none;font-size:9px;border:1px solid {color:border};letter-spacing:1px;text-align:left;}
- li.note{padding:8px;background-color:{color:post};margin:7px;border:1px solid {color:border};}
- img.avatar{vertical-align:-4px;margin-right:10px;width:14px;height:14px;}
- ol.notes blockquote{background-color:{color:caption};padding:5px;margin-top:10px;margin-left:auto;margin-right:auto;width:90%;border:1px solid {color:border};border-radius:2px;}
- #cred{position:fixed;bottom:5px;right:5px;font-size:14px;}
- {CustomCSS}</style></head><body>
- <div id="sidebar">
- <a href="/" onmouseover="mouseoversound.playclip()" title="go home"><img src="{image:Sidebar}"></a>
- <div id="description">{Description}</div>
- <div class="links">
- <a href="{text:link one url}" title="{text:link one}">one</a>
- <a href="{text:link two url}" title="{text:link two}">two</a>
- <a href="{text:link three url}" title="{text:link three}">three</a>
- <a href="{text:link four url}" title="{text:link four}">four</a>
- </div></div>
- <div id="entries">{block:Posts}<div id="post">
- {block:Text}{block:Title}<h1>{Title}</h1>{/block:Title}{Body}{/block:Text}
- {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
- {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
- {block:Quote}<div id="asker">{Quote}</div>{block:Source}<br><div style="text-align:right;">{Source}</div>{/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}
- <div id="musicinfo">{block:TrackName}<b>{TrackName}</b>{/block:TrackName} {block:Artist}{Artist}{/block:Artist}</div>
- {block:AudioPlayer}<div id="musicbox">{AudioPlayerwhite}</div>{/block:AudioPlayer}{AudioEmbed-250}{/block:AudioEmbed}
- {block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
- {/block:Audio}
- {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
- {block:Answer}<div id="asker">{Asker} whispered: {Question}</div>{Answer}{/block:Answer}
- </div>{block:Date}<div id="infoo">Post Info</div><div id="info"><p><a href="/day/{Year}/{Month}/{DayofMonth}" title="More From This Date">Posted {24Hour}:{Minutes}:{Seconds} {DayofWeek} {DayofMonth} {Month} {Year}</a></p>{block:RebloggedFrom}<p>Reblogged From <a href="{ReblogParentURL}">{ReblogParentName}</a></p>{/block:RebloggedFrom} {block:ContentSource}<p>Originally From: <a href="{SourceURL}">{SourceLink}</a></p>{/block:ContentSource}<p>With <a href="{Permalink}" title="Permalink">{NoteCountWithLabel}</a></p>{block:HasTags}<div id="permatags">Tagged As: {block:Tags} #<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div>{block:PostNotes}{PostNotes-16}{/block:PostNotes}
- {/block:Date}
- {/block:Posts}
- </div>
- {block:Pagination}<div class="pagination">
- {block:PreviousPage}<a href="{PreviousPage}">back</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}">next</a>{/block:NextPage}
- </div>{/block:Pagination}
- </div></div>
- <div id="cred"><a href="http://jimothythemes.tumblr.com/" title="Code by Chris">☢</a></div>
- </body></html>
Advertisement
Add Comment
Please, Sign In to add comment