Advertisement
ashirwined

heart out

Aug 13th, 2014
1,983
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.19 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4. <!--Theme by hoodclifford. Just don't steal this k-->
  5.  
  6.  
  7. <meta name="color:background" content="#ffffff"/>
  8. <meta name="color:text" content="#000000"/>
  9. <meta name="color:link" content="#000000"/>
  10. <meta name="color:link hover" content="#ddd"/>
  11. <meta name="color:border" content="#000000"/>
  12. <meta name="color:hoverlink text" content="#000000"/>
  13. <meta name="color:scrollbar bg" content="#ddd"/>
  14. <meta name="color:tooltip color" content="#fdbca1"/>
  15. <meta name="color:pop up link background" content="#fdbca1"/>
  16.  
  17.  
  18.  
  19. <meta name="image:sidebar" content=""/>
  20.  
  21. <meta name="text:title text" content="— title">
  22. <meta name="text:Pop Up Link 1 URL" content="" />
  23. <meta name="text:Pop Up Link 1" content="link 1" />
  24. <meta name="text:Pop Up Link 2 URL" content="" />
  25. <meta name="text:Pop Up Link 2" content="link 2 " />
  26. <meta name="text:Pop Up Link 3 URL" content="" />
  27. <meta name="text:Pop Up Link 3" content="link 3" />
  28. <meta name="text:Pop Up Link 4 URL" content="" />
  29. <meta name="text:Pop Up Link 4" content="link 4" />
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37. <head><title>{Title}</title>
  38. <link rel="shortcut icon" href="{Favicon}">
  39. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  40. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  41.  
  42. <link href='http://fonts.googleapis.com/css?family=Playfair+Display:400italic' rel='stylesheet' type='text/css'>
  43.  
  44. <script type="text/javascript"
  45. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  46. <script>
  47.  
  48.  
  49.  
  50.  
  51. $(document).ready(function() {
  52.  
  53. //
  54.  
  55.  
  56.  
  57. //When you click on a link with class of poplight and the href starts with a #
  58.  
  59. $('a.poplight[href^=#]').click(function() {
  60.  
  61. var popID = $(this).attr('rel'); //Get Popup Name
  62.  
  63. var popURL = $(this).attr('href'); //Get Popup href to define size
  64.  
  65.  
  66.  
  67. //Pull Query & Variables from href URL
  68.  
  69. var query= popURL.split('?');
  70.  
  71. var dim= query[1].split('&');
  72.  
  73. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  74.  
  75.  
  76.  
  77. //Fade in the Popup and add close button
  78.  
  79. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"> <class="btn_close" title="Close Window" alt="Close" /></a>');
  80.  
  81.  
  82. //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
  83.  
  84. var popMargTop = ($('#' + popID).height() + 80) / 2;
  85.  
  86. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  87.  
  88.  
  89.  
  90. //Apply Margin to Popup
  91.  
  92. $('#' + popID).css({
  93.  
  94. 'margin-top' : -popMargTop,
  95.  
  96. 'margin-left' : -popMargLeft
  97.  
  98. });
  99.  
  100.  
  101.  
  102. //Fade in Background
  103.  
  104. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  105.  
  106. $('#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
  107.  
  108.  
  109.  
  110. return false;
  111.  
  112. });
  113.  
  114.  
  115.  
  116. //Close Popups and Fade Layer
  117.  
  118. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  119.  
  120. $('#fade , .popup_block').fadeOut(function() {
  121.  
  122. $('#fade, a.close').remove(); //fade them both out
  123.  
  124. });
  125.  
  126. return false;
  127.  
  128. });
  129.  
  130.  
  131.  
  132.  
  133.  
  134. });
  135.  
  136. </script>
  137. </script>
  138.  
  139.  
  140.  
  141. <style type="text/css">
  142.  
  143.  
  144. ::-webkit-scrollbar-thumb {
  145. height:auto;
  146. background-color:{color:scrollbar bg};
  147. }
  148.  
  149. ::-webkit-scrollbar {
  150. height:4px;
  151. width:3px;
  152. padding-right:2px;
  153. background-color:white;
  154. }
  155.  
  156.  
  157. body {
  158. background:{color:background};
  159. margin:0px;
  160. color:{color:text};
  161. font-family:times;
  162. font-size:10px;
  163. line-height:100%;
  164. letter-spacing:0.5px;
  165. }
  166.  
  167. a {
  168. text-decoration:none;
  169. outline:none;
  170. -moz-outline-style:none;
  171. color:{color:link};
  172. -moz-transition-duration:0.8s;
  173. -webkit-transition-duration:0.8s;
  174. -o-transition-duration:0.8s;
  175. }
  176.  
  177. a:hover {
  178. color:{color:link hover};
  179. outline:none;
  180. -moz-outline-style:none;
  181. text-decoration:none;
  182. }
  183.  
  184. img {
  185. border:none;
  186. }
  187.  
  188. blockquote {
  189. padding-left:5px;
  190. border-left:2px solid;
  191.  
  192. }
  193.  
  194. blockquote blockquote {
  195. padding-left:5px;
  196. border-left:2px solid;
  197. }
  198.  
  199. h1 {
  200. font-size:8px;
  201. text-align:center;
  202. font-family:calibri;
  203. letter-spacing:1px;
  204. color:{color:text};
  205. }
  206.  
  207. h2 {
  208. font-size:8px;
  209. text-align:center;
  210. font-family:arial;
  211. letter-spacing:1px;
  212. color:{color:text};
  213. }
  214.  
  215.  
  216. #sidebar {
  217. width:150px;
  218. position:fixed;
  219. margin-left:255px;
  220. margin-top:350px;
  221. }
  222.  
  223. #sidebarimage {
  224. position:fixed;
  225. width:80px;
  226. height:6px;
  227. }
  228.  
  229. #sidebarimage img {
  230. width:85px;
  231. border:12px solid #eee;
  232. height:85px;
  233. margin-left:44px;
  234. margin-top:15px;
  235. }
  236.  
  237. #title {
  238. color:{color:title color};
  239. font-family:times;
  240. font-size:12px;
  241. text-transform:lowercase;
  242. font-weight:normal;
  243. letter-spacing:0px;
  244. padding:4px;
  245. margin-top:10px;
  246. margin-left:164px;
  247. position:fixed;
  248. text-align:left;
  249. font-style:italic;
  250. }
  251.  
  252. #links {
  253. width:177px;
  254. margin-top:125px;
  255. margin-left:37px;
  256. padding:5px;
  257. font-family:times;
  258. text-align:left;
  259. word-spacing:4px;
  260. font-size:9px;
  261. font-weight:normal;
  262. display:inline-block;
  263. color:{color:link};
  264.  
  265.  
  266. }
  267.  
  268. #links a {
  269. letter-spacing: 1px;
  270. padding:3px;
  271.  
  272.  
  273.  
  274.  
  275.  
  276. }
  277.  
  278. #links a:hover {
  279. color:#fff;
  280. font-weight:normal;
  281.  
  282.  
  283.  
  284. }
  285.  
  286. #description {
  287. width:85px;
  288. font-size:9px;
  289. text-align:left;
  290. letter-spacing:3px;
  291. word-spacing:2px;
  292. line-height:90%;
  293. margin-left:164px;
  294. margin-top:-113px;
  295. }
  296.  
  297. #s-m-t-tooltip {
  298. max-width:300px;
  299. padding:5px 5px 5px 6px;
  300. margin:20px 0px 0px 20px;
  301. background-color:{color:tooltip color};
  302. font-family:arial;
  303. font-size:9px;
  304. letter-spacing:2px;
  305. text-transform:lowercase;
  306. font-weight:bold;
  307. color:#fff;
  308. z-index:999999999999999999999999999999999999;
  309. }
  310.  
  311. #pagination {
  312. margin-left: 180px;
  313. margin-bottom: 100px;
  314. position: relative
  315. padding-top:20px;
  316. text-align: left;
  317. letter-spacing:0px;
  318. text-transform: lowercase;
  319. font-style:none;
  320. font-weight:normal;
  321. font-family: times;
  322. font-size: 9px;
  323.  
  324.  
  325. }
  326.  
  327. #pagination a {
  328. padding:0px 15px;
  329. }
  330.  
  331.  
  332. #entries {
  333. width:400px;
  334. margin-top:50px;
  335. margin-left: 550px;
  336. padding-bottom:10px;
  337. }
  338.  
  339.  
  340. #post {
  341. width:400px;
  342. margin-top:30px ;
  343. margin-left:0px;
  344. margin-right:10px;
  345. margin-bottom:109px;
  346. padding:20px;
  347. background:#fff;
  348. border:1px solid #eee;
  349.  
  350. }
  351.  
  352. .postinfo {
  353. margin-top:20px;
  354. margin-bottom:1px;
  355. margin-left:-20px;
  356. padding-bottom:4px;
  357. padding-top:15px;
  358. width:440px;
  359. text-align:left;
  360. border-top:1px solid #eee;
  361. font-style:none;
  362. font-family:times;
  363. text-transform:lowercase;
  364. font-size:9px;
  365.  
  366. }
  367.  
  368. .postinfo a {
  369. color:{color:link};
  370. }
  371.  
  372. .postinfo a:hover {
  373. color:{color:link hover};
  374. }
  375.  
  376. .tags {
  377. width:410px;
  378. margin-top:4px;
  379. margin-left:-12px;
  380. padding:2px;
  381. font-family:times;
  382. letter-spacing:0px;
  383. font-size:9px;
  384. font-style:none;
  385. text-align:left;
  386.  
  387. }
  388.  
  389. .tags a {
  390. color:{color:text};
  391. }
  392.  
  393. .tags a:hover {
  394. color:{color:link hover};
  395. }
  396. #question a{
  397. color:#000;
  398. text-align:center;
  399.  
  400.  
  401. }
  402.  
  403. .playercontainer {
  404. text-align:left;
  405. padding:10px;
  406. padding-left:0px;
  407. background-color:#fff;
  408. width:380px;
  409. }
  410.  
  411.  
  412.  
  413. .musicinfo {
  414. padding-top:7px;
  415. padding-left:50px;
  416. color:#000;
  417. text-align:justify;
  418. }
  419.  
  420. #cred {
  421. position:fixed;
  422. font-size:9px;
  423. color:#000;
  424. font-weight:bold;
  425. line-height:150%;
  426. letter-spacing:3px;
  427. right:10px;
  428. bottom:10px;
  429. text-transform:lowercase;
  430. text-align:center;
  431. }
  432.  
  433. #cred a {
  434. letter-spacing: 0px;
  435. padding:3px;
  436. color:#000;
  437. }
  438.  
  439. #cred a:hover {
  440. background:#fff;
  441. color:{color:scrollbar bg};
  442. }
  443.  
  444. #fade {
  445. display: none;
  446. background: #fff;
  447. position: fixed;
  448. left: 0;
  449. top: 0;
  450. width: 100%;
  451. height: 100%;
  452. opacity: 0;
  453. z-index: 9999;
  454. }
  455.  
  456. .popup_block{
  457. display: none;
  458. background: {color:pop up link background};
  459. padding: 20px;
  460. float: left;
  461. position: fixed;
  462. left:373px;
  463. top:490px;
  464. z-index: 99999;
  465. width:85px;
  466. height:70px;
  467. }
  468.  
  469. img.btn_close {
  470. float: right;
  471. margin: -55px -55px 0 0;
  472. }
  473.  
  474. *html #fade {
  475. position: absolute;
  476. }
  477.  
  478. *html .popup_block {
  479. position: absolute;
  480. }
  481.  
  482.  
  483. {CustomCSS}</style></head><body>
  484.  
  485. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  486. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  487. <script>
  488.  
  489. (function($){
  490.  
  491. $(document).ready(function(){
  492.  
  493. $("a[title]").style_my_tooltips({
  494.  
  495. tip_follows_cursor:true,
  496.  
  497. tip_delay_time:50,
  498.  
  499. tip_fade_speed:600,
  500.  
  501. attribute:"title"
  502.  
  503. });
  504.  
  505. });
  506.  
  507. })(jQuery);
  508.  
  509. </script>
  510.  
  511.  
  512.  
  513.  
  514. <div id="sidebar">
  515.  
  516.  
  517.  
  518.  
  519. <div id="sidebarimage"><img src="{image:sidebar}"></div>
  520. <div id="title">{text:title text}</div>
  521.  
  522. <div id="links">
  523. <a href="/">home</a> /
  524. <a href="/ask">ask</a> /
  525. <a href="#?w=70" rel="popup_name" class="poplight">
  526. links
  527. </a></div>
  528.  
  529. <div id="description">{Description}</div>
  530.  
  531.  
  532.  
  533. </div>
  534.  
  535.  
  536. <div id="entries">{block:Posts}<div id="post">
  537.  
  538. {block:Text}<h1>{block:Title}<big><big>{Title}</big></big>{/block:Title}</h1>{Body}{/block:Text}
  539.  
  540. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-400}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  541.  
  542. {block:Photoset}{Photoset-400}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  543.  
  544. {block:Quote}<big><b><i>"{Quote}"</i></b></big>{block:Source}<p></p>— {Source}{/block:Source}{/block:Quote}
  545.  
  546. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  547.  
  548. {block:Chat}{block:Title}<h1>{Title}</h1>{/block:Title}{block:Lines}{block:Label}<b>{Label}</b>{/block:Label} {Line}<br>{/block:Lines}{/block:Chat}
  549.  
  550. {block:Video}{Video-400}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  551.  
  552.  
  553. {block:AudioPlayer}
  554. <div class="playercontainer"> <div style="padding: 5px 0px 5px 5px;width:inherit;background:#fff; border:2px solid #fff; width:30px;overflow:hidden; position:absolute;font-weight:bold;"> {AudioPlayer}</div><div class="musicinfo">{block:TrackName}<span style="#fff">{TrackName}</span>{/block:TrackName}{block:Artist}<br/>{Artist} {/block:Artist}<br>{block:PlayCount}{PlayCountWithLabel}{/block:PlayCount}</div></div>{block:Caption}{Caption}{/block:Caption}{/block:AudioPlayer}
  555.  
  556.  
  557. {block:Answer}<div id="question"><span style="font-size:12px;">{Asker} asked:</font> </span>{Question}<span style="text-transform:none;font-size:11px;font-style:none;text-align:center;"><font face="arial"></div>{Answer}</font></span>{/block:Answer}
  558.  
  559. {block:Date}<div class="postinfo"> <a href="{Permalink}">{month} {dayofmonth}{dayofmonthsuffix}</a>   {block:NoteCount}+ {NoteCount}{/block:NoteCount}   {block:RebloggedFrom}<a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}   {block:ContentSource}<a href="{SourceURL}">source</a>{/block:ContentSource}{/block:RebloggedFrom}</div>{/block:Date}
  560.  
  561. {block:HasTags}
  562. <div class="tags">
  563. {block:Tags}<a href="{TagURL}">#{Tag}</a>  {/block:Tags}</div>
  564. {/block:HasTags}
  565.  
  566. <div class="postnote">
  567. {block:PostNotes}{PostNotes}{/block:PostNotes}
  568. </div>
  569. </div>
  570. {/block:Posts}
  571.  
  572. {block:Pagination}<div id="pagination">
  573. {block:PreviousPage}<a href="{PreviousPage}"></a>&nbsp;&nbsp;{/block:PreviousPage}
  574. {block:JumpPagination length="3"}
  575. {block:CurrentPage}<span class="current_page">{PageNumber}</span>&nbsp;&nbsp;{/block:CurrentPage}
  576. {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>&nbsp;&nbsp;{/block:JumpPage}
  577. {/block:JumpPagination}
  578. {block:NextPage}<a href="{NextPage}"></a>{/block:NextPage}
  579. </div>{/block:Pagination}
  580.  
  581. </div></div></div></div>
  582. </div>
  583.  
  584. <div id="cred"><a title="theme by hoodclifford"href="http://hoodclifford.tumblr.com/">hc</a></div>
  585.  
  586. <div id="popup_name" class="popup_block">
  587. <a href="{text:Pop Up Link 1 URL}"<span style="text-align:center; margin-left:15px; color:#fff; font-weight:bold; font-size:16px; width:85px;">{text:Pop Up Link 1}</a> </span>
  588. <P></P>
  589. <a href="{text:Pop Up Link 2 URL}"<span style="text-align:center; margin-left:15px; color:#fff; font-weight:bold; font-size:16px; width:85px;">{text:Pop Up Link 2}</a> </span>
  590. <p></p>
  591. <a href="{text:Pop Up Link 3 URL}"<span style="text-align:center; margin-left:15px; color:#fff; font-weight:bold; font-size:16px; width:85px;">{text:Pop Up Link 3}</a> </span>
  592. <p></p>
  593. <a href="{text:Pop Up Link 4 URL}"<span style="text-align:center; margin-left:15px; color:#fff; font-weight:bold; font-size:16px; width:85px;">{text:Pop Up Link 4}</a> </span>
  594. </div>
  595.  
  596.  
  597. </body>
  598. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement