Advertisement
vasoulaerene

Theme 05 by OfMoretz

Apr 4th, 2013
1,062
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.49 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <!-- THEME 05 BY OFMORETZ
  4. DO NOT STEAL OR CLAIM AS YOUR OWN-->
  5.  
  6. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  7.  
  8.  
  9. <head>
  10.  
  11. <script type="text/javascript"
  12. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  13.  
  14. <script>
  15.  
  16.  
  17. $(document).ready(function() {
  18.  
  19. //
  20.  
  21.  
  22.  
  23. //When you click on a link with class of poplight and the href starts with a #
  24.  
  25. $('a.poplight[href^=#]').click(function() {
  26.  
  27. var popID = $(this).attr('rel'); //Get Popup Name
  28.  
  29. var popURL = $(this).attr('href'); //Get Popup href to define size
  30.  
  31.  
  32.  
  33. //Pull Query & Variables from href URL
  34.  
  35. var query= popURL.split('?');
  36.  
  37. var dim= query[1].split('&');
  38.  
  39. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  40.  
  41.  
  42.  
  43. //Fade in the Popup and add close button
  44.  
  45. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://tiny.cc/closeimg" class="btn_close" title="Close Window" alt="Close" /></a>');
  46.  
  47.  
  48. //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
  49.  
  50. var popMargTop = ($('#' + popID).height() + 80) / 2;
  51.  
  52. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  53.  
  54.  
  55.  
  56. //Apply Margin to Popup
  57.  
  58. $('#' + popID).css({
  59.  
  60. 'margin-top' : -popMargTop,
  61.  
  62. 'margin-left' : -popMargLeft
  63.  
  64. });
  65.  
  66.  
  67.  
  68. //Fade in Background
  69.  
  70. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  71.  
  72. $('#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
  73.  
  74.  
  75.  
  76. return false;
  77.  
  78. });
  79.  
  80.  
  81.  
  82. //Close Popups and Fade Layer
  83.  
  84. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  85.  
  86. $('#fade , .popup_block').fadeOut(function() {
  87.  
  88. $('#fade, a.close').remove(); //fade them both out
  89.  
  90. });
  91.  
  92. return false;
  93.  
  94. });
  95.  
  96.  
  97.  
  98.  
  99.  
  100. });
  101.  
  102. </script>
  103.  
  104. <script>
  105. $(document).ready(function() {
  106. //
  107. $('a.poplight[href^=#]').click(function() {
  108. var popID = $(this).attr('rel'); //Get Popup Name
  109. var popURL = $(this).attr('href'); //Get Popup href to define size
  110. var query= popURL.split('?');
  111. var dim= query[1].split('&');
  112. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  113. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('');
  114. var popMargTop = ($('#' + popID).height() + 0) / 2;
  115. var popMargLeft = ($('#' + popID).width() + 0) / 2;
  116. //Apply Margin to Popup
  117. $('#' + popID).css({
  118. 'margin-top' : -popMargTop,
  119. 'margin-left' : -popMargLeft
  120. });
  121. $('body').append('<div id="fade"></div>');
  122. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  123. return false;
  124. });
  125. $('a.close, #fade').live('click', function() {
  126. $('#fade , .popup_block').fadeOut(function() {
  127. $('#fade, a.close').remove(); //fade them both out
  128. });
  129. return false;
  130. });
  131. });
  132. </script>
  133.  
  134. <script>
  135. $(document).ready(function() {
  136. //
  137. $('a.poplight[href^=#]').click(function() {
  138. var popID = $(this).attr('rel'); //Get Popup Name
  139. var popURL = $(this).attr('href'); //Get Popup href to define size
  140. var query= popURL.split('?');
  141. var dim= query[1].split('&');
  142. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  143. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('');
  144. var popMargTop = ($('#' + popID).height() + 0) / 2;
  145. var popMargLeft = ($('#' + popID).width() + 0) / 2;
  146. //Apply Margin to Popup
  147. $('#' + popID).css({
  148. 'margin-top' : -popMargTop,
  149. 'margin-left' : -popMargLeft
  150. });
  151. $('body').append('<div id="fade"></div>');
  152. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  153. return false;
  154. });
  155. $('a.close, #fade').live('click', function() {
  156. $('#fade , .popup_block').fadeOut(function() {
  157. $('#fade, a.close').remove(); //fade them both out
  158. });
  159. return false;
  160. });
  161. });
  162. </script>
  163.  
  164. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  165.  
  166. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  167.  
  168. <script>
  169.  
  170. (function($){
  171.  
  172. $(document).ready(function(){
  173.  
  174. $("a[title]").style_my_tooltips({
  175.  
  176. tip_follows_cursor:true,
  177.  
  178. tip_delay_time:90,
  179.  
  180. tip_fade_speed:600,
  181.  
  182. attribute:"title"
  183.  
  184. });
  185.  
  186. });
  187.  
  188. })(jQuery);
  189.  
  190. </script>
  191.  
  192. <meta name="color:bg" content="#FFFFFF">
  193. <meta name="color:link" content="#E6E4E4">
  194. <meta name="color:hover" content="#454545">
  195. <meta name="color:infobg" content="#FCFCFC">
  196. <meta name="color:text" content="#9A9A9A">
  197. <meta name="color:scrollbar" content="#D6D5D5">
  198. <meta name="color:border" content="#FAFAFA">
  199.  
  200. <meta name="image:sidebar" content=""/>
  201.  
  202. <meta name="text:link1" content="01">
  203. <meta name="text:link1 hover" content="">
  204. <meta name="text:link1 url" content="/">
  205. <meta name="text:link2" content="02">
  206. <meta name="text:link2 hover" content="">
  207. <meta name="text:link2 url" content="/">
  208. <meta name="text:link3" content="03">
  209. <meta name="text:link3 hover" content="">
  210. <meta name="text:link3 url" content="/">
  211. <meta name="text:link4" content="04">
  212. <meta name="text:link4 hover" content="">
  213. <meta name="text:link4 url" content="/">
  214. <meta name="text:link5" content="05">
  215. <meta name="text:link5 hover" content="">
  216. <meta name="text:link5 url" content="/">
  217. <meta name="text:link6" content="06">
  218. <meta name="text:link6 hover" content="">
  219. <meta name="text:link6 url" content="/">
  220.  
  221. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  222. <title>{Title}</title> {block:Description}<meta name="Description" content="{MetaDescription}" />{/block:Description}
  223. <link rel="shortcut icon" href="{Favicon}" />
  224. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  225.  
  226. <style type="text/css">
  227.  
  228. #bite
  229. #bite a{
  230. display:block
  231. }
  232. #bite .death {
  233. margin-right:0px;filter: alpha(opacity = 0);
  234. opacity:0;-webkit-transition: all 0.5s ease-out;
  235. -moz-transition: all 0.5s ease-out;transition: all 0.5s ease-out;
  236. }
  237.  
  238. #bite:hover .death {
  239. margin-left:0px;
  240.  
  241. -webkit-transition: all 0.8s ease-out;
  242. -moz-transition: all 0.8s ease-out;
  243. transition: all 0.8s ease-out;
  244. filter: alpha(opacity = 100);
  245. filter: alpha(opacity = 100);
  246. opacity:8;
  247. }
  248.  
  249.  
  250. a {
  251. color:{color:link};
  252. text-decoration:none;
  253. -moz-transition-duration:0.5s;
  254. -webkit-transition-duration:0.5s;
  255. -o-transition-duration:0.5s;
  256. }
  257.  
  258. a:hover {
  259. color:{color:hover};
  260. text-decoration:none;
  261. -moz-transition-duration:0.5s;
  262. -webkit-transition-duration:0.5s;
  263. -o-transition-duration:0.5s;
  264. }
  265.  
  266.  
  267. ::-webkit-scrollbar {background-color:{color:infobg}; height:8px; width:8px}
  268. ::-webkit-scrollbar-thumb:vertical {background-color:{color:scrollbar}; height:50px}
  269. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:scrollbar}; height:8px!important}
  270.  
  271. body {
  272. background-color:{color:bg};
  273. font-family:Calibri;
  274. font-weight:normal;
  275. }
  276.  
  277.  
  278.  
  279.  
  280. h1 {
  281. font-weight:normal;
  282. font-size:10px;
  283. text-align:center;
  284. font-style:normal;
  285. line-height:80%;
  286. letter-spacing:1px;
  287. text-transform:uppercase;
  288. color:{color:text};
  289. }
  290.  
  291. h2 {
  292. font-size:15px;
  293. text-align:center;
  294. line-height:100%;
  295. letter-spacing:-0.5px;
  296. color:{color:text};
  297. font-weight:normal;
  298. padding:5px;
  299. padding-bottom:2px;
  300. }
  301.  
  302.  
  303. blockquote {
  304. border-left:1px solid #f1f1f1;
  305. padding-left:5px;
  306. margin:5px;
  307. }
  308.  
  309. #theme {
  310. background-color:{color:bg};
  311. width:700px;
  312. margin: 0 auto -12px auto;
  313. text-align: center;
  314. }
  315.  
  316. #sidebar {
  317. position:relative;
  318. border:1px solid #f1f1f1;
  319. background-color:#fafafa;
  320. padding:10px;
  321. color:{color:text};
  322. position:fixed;
  323. width:110px;
  324. height:200px;
  325. margin-top:180px;
  326. text-align:center;
  327. }
  328.  
  329. #sidebar img {
  330. border-left:1px solid #f1f1f1;
  331. border-top:1px solid #f1f1f1;
  332. border-right:1px solid #f1f1f1;
  333. background:#fff;
  334. position:relative;
  335. margin-left:-6px;
  336. margin-top:-3px;
  337. width:110px;
  338. height:auto;
  339. margin-bottom:10px;
  340. padding:5px;
  341. }
  342.  
  343.  
  344. .links {
  345. background:#fff;
  346. border-bottom:1px solid #f1f1f1;
  347. border-left:1px solid #f1f1f1;
  348. border-right:1px solid #f1f1f1;
  349. width:118px;
  350. padding-left:1px;
  351. padding-right:1px;
  352. padding-bottom:5px;
  353. text-align:center;
  354. margin-left:-6px;
  355. margin-top:-2px;
  356.  
  357. }
  358.  
  359. .links a {
  360. display:inline-block;
  361. width:auto;
  362. font-size:8px;
  363. line-height:10px;
  364. font-family:cambria;
  365. font-style:italic;
  366. padding:1px 2px 1px 2px;
  367. letter-spacing:0.5px;
  368. text-align:center;
  369. text-transform: uppercase;
  370. color: {color:text};
  371. background:#fafafa;
  372. border:1px solid #f1f1f1;
  373. text-decoration:none;
  374. -webkit-transition: all 0.5s ease-in-out;
  375. -moz-transition: all 0.5s ease-in-out;
  376. -o-transition: all 0.5s ease-in-out;}
  377.  
  378. .links a:hover {
  379.  
  380. background-color:#fff;
  381. color:#000;
  382. -webkit-transition: all 0.5s ease-in-out;
  383. -moz-transition: all 0.5s ease-in-out;
  384. -o-transition: all 0.5s ease-in-out;
  385. }
  386.  
  387. .desc {
  388. border-top:1px solid #f1f1f1;
  389. border-left:1px solid #f1f1f1;
  390. border-right:1px solid #f1f1f1;
  391. background:#fff;
  392. width:110px;
  393. padding:5px;
  394. font-family:cambria;
  395. font-style:italic;
  396. margin-top:-13px;
  397. margin-left:-6px;
  398. text-align:center;
  399. font-size:8px;
  400. color:{color:text};
  401. letter-spacing:1px;
  402. line-height:150%;
  403. }
  404.  
  405. .desc a {
  406. color:{color:link};
  407. }
  408.  
  409. .pagi {
  410. font-size:7px;
  411. margin-top:10px;
  412. text-transform:uppercase;
  413. letter-spacing:3px;
  414. font-style:normal;
  415. text-align:center;
  416. }
  417.  
  418. .pagi a {
  419. color:{color:link};
  420. }
  421.  
  422.  
  423. #stuffcontainer {
  424. float:left;
  425. margin-left:200px;
  426. margin-top:45px;
  427. text-align:justify;
  428. background-color:{color:bg};
  429. color:{color:text};
  430. margin-bottom: 35px;
  431. }
  432.  
  433.  
  434. #stuff {
  435. width:500px;
  436. padding:1px;
  437. padding-bottom: 15px;
  438. margin-top:0px;
  439. margin-bottom:-11px;
  440. font-style: none;
  441. font-weight: normal;
  442. line-height:11px;
  443. background-color:{color:background};
  444. margin-top: 15px;
  445. font-size:10px;
  446. font-family: calibri;
  447. }
  448.  
  449. .caption {
  450. width:500px;
  451. text-align:justify;
  452. line-height:120%;
  453. }
  454.  
  455. .ask {
  456. padding:10px;
  457. text-align:left;
  458. color:{color:text};
  459. background-color:{color:infobg};
  460. border-bottom:1px solid {color:border};
  461. border-right:1px solid {color:border};
  462. }
  463.  
  464. .ans {
  465. text-align:left;
  466. padding:10px;
  467. color:{color:text};
  468. }
  469.  
  470. .audio {
  471. width:500px;
  472. padding-bottom:10px;
  473. background-color:#fff;
  474. }
  475.  
  476. .albumart {
  477. float:left;
  478. padding:0px 10px 10px 0px;
  479. }
  480.  
  481. .albumart img {
  482. padding:5px;
  483. border:1px solid #f1f1f1;
  484. width:100px;
  485. height:100px;
  486. }
  487.  
  488. .playercontainer {
  489. text-align:left;
  490. padding:10px;
  491. background-color:#ffffff;
  492. width:480px;
  493. }
  494.  
  495. .audioinfo {
  496. padding:10px;
  497. color:{color:text};
  498. }
  499.  
  500. #postinfo {
  501. text-align:right;
  502. font-family:cambria;
  503. font-size: 8px;
  504. letter-spacing:2px;
  505. font-style: italic;
  506. margin-top:10px;
  507. border-top: 1px solid #fafafa;
  508. padding:3px;
  509. text-transform:lowercase;
  510. }
  511.  
  512. #postinfo a {
  513. color:{color:link};
  514. text-align:center;
  515. letter-spacing:1px;
  516. font-style:italic;
  517. }
  518.  
  519. #postinfo a:hover {
  520. color:{color:hover};
  521. }
  522.  
  523. #s-m-t-tooltip {
  524. max-width:300px;
  525. padding:2px;
  526. margin:10px 0px 0px 10px;
  527. border:1px solid #eee;
  528. background-color:#ffffff; /* change the background color */
  529. font-family:cambria; /* change the font */
  530. font-size:8px;/* change the font size */
  531. font-style:italic;
  532. letter-spacing:1px; /* change the letter spacing */
  533. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  534. color:{color:text}; /* change the text color */
  535. z-index:999999999999999999999999999999999999;
  536. }
  537.  
  538. .note {
  539. text-transform:uppercase;
  540. font-style:normal;
  541. letter-spacing:0px;
  542. font-size: 9px;
  543. text-align:left;
  544. line-height:90%;
  545. margin-left:-40px;
  546. }
  547.  
  548. .note li {
  549. list-style-type:none;
  550. border-bottom:1px solid {color:border};
  551. padding:10px 25px 10px 25px;
  552. text-align:left;
  553. margin:0px;
  554. -moz-transition-duration:0.5s;
  555. -webkit-transition-duration:0.5s;
  556. -o-transition-duration:0.5s;
  557. }
  558.  
  559. .tags {
  560. width:500px;
  561. text-transform:lowercase;
  562. font-family:cambria;
  563. font-style:italic;
  564. color:{color:link};
  565. letter-spacing:2px;
  566. line-height:120%;
  567. font-size:8px;
  568. text-align:right;
  569. padding:2px;
  570. -moz-transition-duration:0.5s;
  571. -webkit-transition-duration:0.5s;
  572. -o-transition-duration:0.5s;
  573. }
  574.  
  575. .tags a {
  576. color:{color:link};
  577. letter-spacing:1px;
  578. padding:1px;
  579. }
  580.  
  581. .tags a:hover {
  582. color:{color:link};
  583. }
  584.  
  585. ul.chat, .chat ol, .chat li {
  586. list-style:none;
  587. margin:0px;
  588. padding:2px;
  589. }
  590.  
  591. .label {
  592. text-decoration:underline;
  593. font-weight:700;
  594. background-color:{color:infobg};
  595. margin-right:5px;
  596. }
  597.  
  598. #cred {
  599. font-family:cambria;
  600. position:fixed;
  601. font-size:8px;
  602. font-weight:normal;
  603. font-style:italic;
  604. line-height:150%;
  605. letter-spacing:2px;
  606. right:10px;
  607. bottom:10px;
  608. text-transform:lowercase;
  609. text-align:center;
  610. }
  611.  
  612. #cred a {
  613. padding:3px;
  614. border:1px solid #f1f1f1;
  615. color:{color:link};
  616. background-color:#fafafa;
  617. -moz-transition-duration:0.5s;
  618. -webkit-transition-duration:0.5s;
  619. -o-transition-duration:0.5s;
  620. }
  621.  
  622. {CustomCSS}
  623.  
  624. </style></head>
  625.  
  626. <body>
  627. <div id="theme">
  628. <div id="sidebar">
  629. <img src="{image:sidebar}">
  630. <div class="sidebarbg"></div>
  631. <div class="desc">
  632. {Description}
  633. </div>
  634. <div class="links">
  635. {block:IfLink1}
  636. <a title="{text:link1 hover}"href="{text:link1 url}">{text:link1}</a>
  637. {/block:IfLink1}
  638. {block:IfLink2}
  639. <a title="{text:link2 hover}"href="{text:link2 url}">{text:link2}</a>
  640. {/block:IfLink2}
  641. {block:IfLink3}
  642. <a title="{text:link3 hover}"href="{text:link3 url}">{text:link3}</a>
  643. {/block:IfLink3}
  644. {block:IfLink4}
  645. <a title="{text:link4 hover}"href="{text:link4 url}">{text:link4}</a>
  646. {/block:IfLink4}
  647. {block:IfLink5}
  648. <a title="{text:link5 hover}"href="{text:link5 url}">{text:link5}</a>
  649. {/block:IfLink5}
  650. {block:IfLink6}
  651. <a title="{text:link6 hover}"href="{text:link6 url}">{text:link6}</a>
  652. {/block:IfLink6}
  653.  
  654. </div>
  655. {block:Pagination}
  656. <div class="pagi">
  657. {block:PreviousPage}
  658. <a href="{PreviousPage}">←</a>
  659. {/block:PreviousPage}
  660. {block:NextPage}
  661. <a href="{NextPage}">→</a>
  662. {/block:NextPage}
  663. </div>
  664. {/block:Pagination}
  665. </div>
  666.  
  667. <div id="stuffcontainer">
  668.  
  669. {block:Posts}
  670. <div id="bite">
  671.  
  672. <div id="stuff">
  673.  
  674. {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
  675.  
  676. {block:Quote}<h2>“{Quote}”</h2><h1>{Source}</h1>{/block:Quote}
  677.  
  678. {block:Link}<a href="{URL}"><h2>{Name}</h2></a>
  679. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  680.  
  681. {block:Photo}<center><img src="{PhotoURL-500}"/></center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  682.  
  683. {block:Photoset}<center>{Photoset-500}</center>
  684. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  685.  
  686. {block:Chat}<ul class="chat">{block:Title}<h2>{Title}</h2>{/block:Title}{block:Lines}<li>{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  687.  
  688. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  689.  
  690. {block:Answer}<div class="ask"><b>{Asker}</b> asked: {Question}</div><div class="ans">{Answer}</div>{/block:answer}
  691.  
  692. {block:Audio}<div class="audio">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/></div>{/block:AlbumArt}
  693. <div class="audioinfo">{block:TrackName}<b>Title:</b> {TrackName}<br />{/block:TrackName}{block:Artist}<b>Artist:</b> {Artist}<br />{/block:Artist}
  694. {/block:ExternalAudio}<b>Played:</b> {PlayCount} times</div>
  695. <br><div class="playercontainer">{AudioPlayerWhite}</div></div>
  696. {block:Caption}{Caption}{/block:Caption}<br>{/block:Audio}
  697.  
  698.  
  699.  
  700. {block:Date}<div id="postinfo"><a href="{Permalink}">{TimeAgo}</a>{block:NoteCount} · <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} · <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
  701. {block:ContentSource} · ©<a href="{SourceURL}">{SourceLink}</a>{/block:ContentSource}</div>{/block:Date}
  702. <div class="death">
  703. {block:HasTags}
  704. <div class="tags">
  705. {block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>
  706. {/block:HasTags}</div></div>
  707. <div class="note">
  708. {block:PostNotes}{PostNotes}{/block:PostNotes}
  709. </div>
  710. </div>
  711. {/block:Posts}
  712.  
  713.  
  714. </div>
  715.  
  716. <div id="cred"><a href="http://lightweststhemes.tumblr.com/">lw</a></div>
  717.  
  718. </div>
  719. </div>
  720. </div>
  721. </body>
  722. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement