Belgrravia

Blackbird Fly

Oct 1st, 2014
482
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.96 KB | None | 0 0
  1. <!--
  2. blackbird fly
  3. theme by kalopsiathemes
  4. Please do not
  5. -remove the credit
  6. -steal parts of code
  7. -use as a base
  8.  
  9. Feel free to
  10. -edit parts of the theme
  11. -ask me any questions
  12. -->
  13. <!DOCTYPE html>
  14. <head>
  15. <link href='http://fonts.googleapis.com/css?family=Raleway:800' rel='stylesheet' type='text/css'>
  16. <title>{Title}</title>
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  20.  
  21.  
  22.  
  23. <meta name="color:Background" content="#ffffff"/>
  24. <meta name="color:title" content="#000000"/>
  25. <meta name="color:link" content="#000000"/>
  26. <meta name="color:link hover" content="#000000"/>
  27. <meta name="color:nav" content="#ffffff"/>
  28. <meta name="color:nav hover" content="#ffffff"/>
  29. <meta name="color:text" content="#000000"/>
  30.  
  31. <meta name="text:link1" content="">
  32. <meta name="text:link1url" content="" />
  33. <meta name="text:link2" content="">
  34. <meta name="text:link2url" content="" />
  35. <meta name="text:link3" content="">
  36. <meta name="text:link3url" content="" />
  37. <meta name="text:link4" content="">
  38. <meta name="text:link4url" content="" />
  39. <meta name="text:link5" content="">
  40. <meta name="text:link5url" content="" />
  41.  
  42. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  43. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  44.  
  45.  
  46.  
  47. <script type="text/javascript"
  48. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  49.  
  50. <script>
  51.  
  52.  
  53.  
  54. $(document).ready(function() {
  55.  
  56. //
  57.  
  58.  
  59.  
  60. //When you click on a link with class of poplight and the href starts with a #
  61.  
  62. $('a.poplight[href^=#]').hover(function() {
  63.  
  64. var popID = $(this).attr('rel'); //Get Popup Name
  65.  
  66. var popURL = $(this).attr('href'); //Get Popup href to define size
  67.  
  68.  
  69.  
  70. //Pull Query & Variables from href URL
  71.  
  72. var query= popURL.split('?');
  73.  
  74. var dim= query[1].split('&');
  75.  
  76. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  77.  
  78.  
  79.  
  80. //Fade in the Popup and add close button
  81.  
  82.  
  83. //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
  84.  
  85. var popMargTop = ($('#' + popID).height() + 80) / 2;
  86.  
  87. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  88.  
  89.  
  90.  
  91. //Apply Margin to Popup
  92.  
  93. $('#' + popID).css({
  94.  
  95. 'margin-top' : -popMargTop,
  96.  
  97. 'margin-left' : -popMargLeft
  98.  
  99. });
  100.  
  101.  
  102.  
  103. //Fade in Background
  104.  
  105. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  106.  
  107. $('#fade').css({'filter' : 'alpha(opacity=80)'}).delay(300).fadeIn(600); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  108.  
  109. $('#' + popID).delay(200).fadeIn(600).css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://static.tumblr.com/wi2dwmg/NM2nabjsv/close.png" class="btn_close" title="Close Window" alt="Close" /></a>');
  110.  
  111. return false;
  112.  
  113. });
  114.  
  115.  
  116.  
  117. //Close Popups and Fade Layer
  118.  
  119. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  120.  
  121. $('#fade , .popup_block').fadeOut(function() {
  122.  
  123. $('#fade, a.close').remove(); //fade them both out
  124.  
  125. });
  126.  
  127. return false;
  128.  
  129. });
  130.  
  131.  
  132.  
  133.  
  134.  
  135. });
  136.  
  137. </script>
  138.  
  139.  
  140.  
  141. <style type="text/css">
  142.  
  143.  
  144.  
  145. ::-webkit-scrollbar {height: 2px;
  146. width: 6px;
  147. -webkit-border-radius: 0px;
  148. background-color:{color:posts}}
  149. ::-webkit-scrollbar-thumb{background-color:{color:text};
  150.  
  151. border:0px solid {color:scrollbar};}
  152. ::-webkit-scrollbar-track{background-color:{color:background};}
  153.  
  154. #s-m-t-tooltip {max-width:400px;
  155. padding:2px;
  156. margin:10px 0px 0px 10px;
  157. padding:1px 4px;
  158. background-color:#737373;
  159. text-transform:uppercase;
  160. font-size:7px;
  161. font-family:Helvetica, sans-serif;
  162. letter-spacing:2px;
  163. color:white;
  164. z-index:999
  165.  
  166. }
  167. body {
  168. background:{color:background};
  169. color:{color:text};
  170. font-size:11px;
  171. margin:0;
  172. font-family:arial;
  173. line-height:16px;}
  174.  
  175.  
  176. blockquote {
  177. padding-left:10px;
  178. margin:5px;
  179. margin-left:20px;
  180. word-wrap:break-word;
  181. }
  182.  
  183. #posts {
  184. width:500px;
  185. margin-bottom:100px;
  186. margin-top:120px;
  187. }
  188.  
  189. #posts img {
  190. max-width:500px;
  191. }
  192.  
  193.  
  194. #posts, #posts img, #posts blockquote {
  195. font-size:11px;
  196. color:{color:text};
  197. }
  198.  
  199.  
  200. small {
  201. font-size:10px;
  202. }
  203.  
  204. big {
  205. font-size:12px;
  206. }
  207.  
  208.  
  209. h2 {
  210. display:inline;
  211. font-size:12px;
  212. color:{color:title};
  213. }
  214.  
  215. h1 {
  216. font-size:9px;
  217. Text-align:center;
  218. letter-spacing:1px;
  219. color:{color:text};
  220. }
  221.  
  222. h3 {
  223. font-size:13px;
  224. color:{color:title};
  225. letter-spacing:1px;
  226. text-transform:uppercase;
  227. }
  228.  
  229.  
  230.  
  231. #fade {
  232. display: none;
  233. background: #090909;
  234. position: fixed;
  235. left: 0;
  236. top: 0;
  237. width: 100%;
  238. height: 100%;
  239. opacity: .80;
  240. z-index: 9999;
  241. }
  242.  
  243. .popup_block{
  244. display:none;
  245. position:fixed;
  246. left:54%;
  247. top:45%;
  248. text-align:center;
  249. width:500px;
  250. z-index: 99999;
  251. }
  252.  
  253.  
  254. img.btn_close {
  255. position:fixed;
  256. top:50px;
  257. right:50px;
  258. }
  259.  
  260. *html #fade {
  261. position: absolute;
  262. }
  263.  
  264. *html .popup_block {
  265. position: absolute;
  266. }
  267.  
  268.  
  269. #content {
  270. padding:0px;
  271.  
  272. width:100%;
  273.  
  274. width:500px;
  275.  
  276. margin:auto;
  277.  
  278.  
  279. }
  280.  
  281. #sidebar {
  282. width:500px;
  283. margin:auto;
  284. }
  285.  
  286. #title{
  287. margin-top:180px;
  288. text-align:center;
  289. text-transform:uppercase;
  290.  
  291. }
  292.  
  293. #title a {
  294. font-size:20px;
  295. letter-spacing:2px;
  296. color:{color:title};
  297. }
  298.  
  299. #title a:hover {
  300. letter-spacing:10px;
  301. color:{color:title};
  302. text-decoration:none;
  303.  
  304. }
  305. #description {
  306. color:{color:nav};
  307. font-size:11px;
  308. word-wrap:break-word;
  309. line-height:200%;
  310. }
  311.  
  312. #description a {
  313. color:{color:nav};
  314. }
  315.  
  316. #description a:hover {
  317. color:{color:nav};
  318. }
  319. #postinfo {
  320. position:absolute;
  321. font-size:8px;
  322. margin-left:520px;
  323. text-align:left;
  324. width:100px;
  325. color:{color:link};
  326. word-wrap:break-word;
  327. line-height:400%;
  328. margin-top:5px;
  329. letter-spacing:2px;
  330. text-transform:lowercase;
  331. opacity:0;
  332. -moz-transition-duration:all .7s ease-in-out;
  333. -webkit-transition-duration:all .7s ease-in-out;
  334. -o-transition-duration:all .7s ease-in-out;
  335. }
  336.  
  337. #posts:hover #postinfo {
  338. opacity:1;
  339. -moz-transition-duration:.7s;
  340. -webkit-transition-duration: .7s;
  341. -o-transition-duration:.7s;
  342. }
  343.  
  344. .info {
  345. position:absolute;
  346. padding:5px;
  347. font-size:10px;
  348. font-family:Times,sans-serif;
  349. }
  350.  
  351. a:link,a:visited {
  352. text-decoration:none;
  353. color:{color:link};
  354. }
  355.  
  356. a:hover {
  357. text-decoration:underline;
  358. color:{link hover};
  359. }
  360. #nav {
  361. margin-top:10px;
  362. font-size:12px;
  363. word-spacing:5px;
  364. text-transform:uppercase;
  365. }
  366.  
  367. #nav a {
  368. color:{color:nav};
  369. text-decoration:none;
  370. }
  371.  
  372. #nav a:hover {
  373. color:{color:nav hover};
  374. text-decoration:underline;
  375. }
  376.  
  377. #permalink {
  378. font-size:8px;
  379. width:498px;
  380. word-wrap:break-word;
  381. margin-top:5px;
  382. text-align:center;
  383. letter-spacing:1px;
  384. text-transform:uppercase;
  385. }
  386.  
  387. .tags {
  388. text-align:center;
  389. margin-top:0px;
  390. font-size:8px;
  391. word-wrap:break-word;
  392. text-transform:lowercase;
  393. {block:IndexPage}
  394. opacity:0;
  395. {/block:IndexPage}
  396. }
  397.  
  398.  
  399. .pagenotes {
  400. {block:IndexPage}
  401. display: none;
  402. {/block:IndexPage}
  403. border:1px dashed {color:text};
  404. padding:10px;
  405. width:480px;
  406. margin-top:60px;
  407. text-transform:uppercase;
  408. font-size:9px;
  409. letter-spacing:1px;
  410. }
  411.  
  412.  
  413.  
  414. .pagenotes img {
  415. display:none;}
  416. .pagenotes li {
  417. list-style-type:none;
  418. padding:5px 0px;
  419. text-align:left;
  420. margin:10 0 0 0px;
  421. }
  422.  
  423.  
  424.  
  425. #pagi {
  426. font-size:10px;
  427. width:100%;
  428. text-align:center;
  429. margin-bottom:50px;
  430. color:{color:links};
  431. letter-spacing:0px;
  432. }
  433.  
  434. #pagi a {
  435. display:inline-block;
  436. color:{color:links};
  437. }
  438.  
  439. #pagi a:hover {
  440. color:{color:links hover};
  441. }
  442.  
  443. .player {
  444. width:25px;
  445. height:25px;
  446. overflow:hidden;
  447. position:absolute;
  448. background:white;}
  449.  
  450. .audioinfo {
  451. margin-left:50px;
  452. font-size:12px;
  453. }
  454.  
  455. .q {
  456. text-align:center;
  457. font-weight:bold;
  458. }
  459.  
  460. .as {
  461. font-weight:bold;
  462. text-transform:uppercase;
  463. margin-bottom:10px;
  464. }
  465.  
  466.  
  467. .a {
  468. margin-top:10px;
  469.  
  470. }
  471.  
  472. .chat ol {
  473. padding:0;
  474. list-style:none;
  475. }
  476.  
  477. .label {font-weight:bold;
  478. }
  479.  
  480. .newplayerbutton {
  481. position: relative;
  482. width: 28px;
  483. height: 27px;
  484. overflow: hidden;
  485. }
  486.  
  487. .playerbuttonhug {
  488. position: absolute;
  489. top: -11px;
  490. left: -12px;
  491. }
  492.  
  493.  
  494. .tumblr_audio_player {
  495. border: none;
  496. padding: 0px;
  497. margin: 0px;
  498. height: 50px;
  499. width: 500px;
  500. }
  501.  
  502. .playerbuttonbg {
  503. position: absolute;
  504. left: 20px;
  505. top: 20px;
  506. width: 28px;
  507. height: 28px;
  508. background-color: #ffffff;
  509. padding: 10px;
  510. -webkit-border-radius: 40px;
  511. -moz-border-radius: 40px;
  512. border-radius: 40px;
  513. opacity: .4;
  514. filter: alpha(opacity=40);
  515. -moz-opacity: 0.4;
  516. -khtml-opacity: 0.4;
  517. transition: opacity .7s ease-in-out;
  518. -moz-transition: opacity .7s ease-in-out;
  519. -webkit-transition: opacity .7s ease-in-out;
  520. }
  521.  
  522. .playerbuttonbg:hover {
  523. opacity: 1;
  524. filter: alpha(opacity=100);
  525. -moz-opacity: 1;
  526. -khtml-opacity: 1;
  527. }
  528.  
  529. .audioimgwrapper {
  530. position: absolute;
  531. left: 0px;
  532. top: 0px;
  533. -webkit-border-radius: 50px;
  534. -moz-border-radius: 50px;
  535. border-radius: 50px;
  536. overflow: hidden;
  537. width: 88px;
  538. height: 88px;
  539. }
  540.  
  541. .audioimgwrapper img {
  542. width: 100%;
  543. height: auto;
  544. -webkit-border-radius: 50px;
  545. -moz-border-radius: 50px;
  546. border-radius: 50px;
  547. }
  548.  
  549. .trackdetails {
  550. width: auto;
  551. display:inline-block;
  552. margin-left: 100px;
  553. min-height: 85px;
  554. }
  555.  
  556. .audiowrapper {
  557. position: relative;
  558. display:inline-block;
  559. }
  560. #credit {
  561. position:fixed;
  562. color:{color:text};
  563. bottom:5px;
  564. right:10px;
  565. padding:4px;
  566. font-size:12px;
  567. }
  568.  
  569. #credit a {
  570. text-decoration:none;
  571. }
  572.  
  573.  
  574. </style>
  575. </head>
  576. <body>
  577.  
  578. <div id="sidebar">
  579. <div id="title"><a href="#?w=500" rel="popup_name" class="poplight">{Title}</a></div>
  580. <div id="popup_name" class="popup_block">
  581. <div id="description">{Description}</div>
  582. <div id="nav">
  583. <a href="{text:Link1url}">{text:link1}</a>
  584. <a href="{text:Link2url}">{text:link2}</a>
  585. <a href="{text:Link3url}">{text:link3}</a>
  586. <a href="{text:Link4url}">{text:link4}</a>
  587. <a href="{text:Link5url}">{text:link5}</a>
  588. </div></div></div>
  589.  
  590.  
  591. <div id="content">
  592. {block:Posts}<div id="posts">
  593.  
  594. {block:Date}{block:IndexPage}<div id="postinfo"><a href="{Permalink}">{TimeAgo}<br><a href="{Permalink}">&nbsp;{NoteCount} notes</a>{/block:NoteCount}<br>
  595. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via&nbsp;</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">&#x7c;&nbsp;src&nbsp;</a>{/block:ContentSource}{/block:RebloggedFrom}</div>{/block:IndexPage}{/block:Date}
  596.  
  597. {block:Text}{block:Title}<h3>{Title}</h3>{/block:Title}{Body}{/block:Text}
  598.  
  599. {block:Quote}<h2>&#x201C;{Quote}&#x201D;</h2><h1>-{Source}</h1>{/block:Quote}
  600.  
  601. {block:Link}</div><a href="{URL}"><h3>{Name}</h3></a>
  602.  
  603. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  604.  
  605. {block:Photo}<img src="{PhotoURL-500}" />{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  606.  
  607. {block:Photoset}<center>{Photoset-500}</center>{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  608.  
  609. {block:Chat}<ul class="chat">{block:Title}<h3>{Title}</h3>{/block:Title}{block:Lines}<li>{block:Label}<span class="label">{Label}</span>{/block:Label}{Line}</li>{/block:Lines}</ul>{/block:Chat}
  610.  
  611. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  612.  
  613. {block:Audio}{block:AudioPlayer}
  614. <div class="audiowrapper">
  615. {block:AlbumArt}
  616. <div class="audioimgwrapper"><img src="{AlbumArtURL}"></div>
  617. {/block:AlbumArt}
  618.  
  619. <div class="playerbuttonbg">
  620. <div class="newplayerbutton">
  621. <div class="playerbuttonhug">
  622.  
  623. {AudioPlayerWhite}
  624.  
  625. </div>
  626. </div>
  627. </div>
  628.  
  629. <div class="trackdetails">
  630.  
  631. {block:TrackName}{TrackName}{/block:TrackName}<br/>
  632. {block:Artist}Artist: {Artist}{/block:Artist}<br/>
  633. {block:Album}Album: {Album}{/block:Album}<br/>
  634. {PlayCountWithLabel}
  635.  
  636. </div>
  637. </div>
  638. {/block:AudioPlayer}{/block:Audio}
  639.  
  640.  
  641. {block:Answer}
  642. <div class="q">
  643. <div class="as">{Asker} inquired: </div>
  644. {Question}</div>
  645. <div class="a">{Answer}</div>
  646. {/block:Answer}
  647.  
  648. {block:Date}
  649. {block:PermalinkPage}<div id="permalink"><a href="{Permalink}">{TimeAgo}&nbsp;&#8640;<a href="{Permalink}">&nbsp;{NoteCount} notes</a>{/block:NoteCount}&nbsp;(&nbsp;{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via&nbsp;</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">&#x7c;&nbsp;src&nbsp;</a>{/block:ContentSource}{/block:RebloggedFrom})<br>{block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">&nbsp;#{Tag},&nbsp;</a>{/block:Tags}</div>{/block:HasTags}</div>{/block:PermalinkPage}{/block:Date}
  650.  
  651.  
  652. {block:PostNotes}
  653. <div class="pagenotes">
  654. {PostNotes}
  655. </div>
  656. {/block:PostNotes}
  657. {/block:Posts}
  658.  
  659.  
  660. </div>
  661. </div>
  662. <div id="pagi">
  663. {block:Pagination}
  664. {block:PreviousPage}
  665. <a href="{PreviousPage}">&#8592;&nbsp; future &nbsp;</a>
  666. {/block:PreviousPage}
  667.  
  668.  
  669. {block:NextPage}
  670. <a href="{NextPage}"> past &#8594;</a>
  671. {/block:NextPage}
  672. {/block:Pagination}
  673. </div>
  674. </div>
  675.  
  676.  
  677. {block:ContentSource}
  678. {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  679. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  680. {/block:SourceLogo}
  681. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo}
  682. {/block:ContentSource}
  683.  
  684. <div id="credit">
  685. <a href="http://kalopsiathemes.tumblr.com" title="kalopsiathemes"</div>&#916;</a></div>
  686.  
  687. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment