hoopers

Linear

Aug 30th, 2014
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.86 KB | None | 0 0
  1.  
  2.  
  3. <!--Farahmir base code-->
  4.  
  5. <!DOCTYPE html>
  6. <head>
  7. <script type="text/javascript"
  8. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  9. <script>
  10. $(document).ready(function() {
  11. //
  12. $('a.poplight[href^=#]').click(function() {
  13. var popID = $(this).attr('rel'); //Get Popup Name
  14. var popURL = $(this).attr('href'); //Get Popup href to define size
  15. var query= popURL.split('?');
  16. var dim= query[1].split('&');
  17. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  18. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="btn_close" title="Close" alt="Close" /></a>');
  19. var popMargTop = ($('#' + popID).height() + 80) / 2;
  20. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  21. //Apply Margin to Popup
  22. $('#' + popID).css({
  23. 'margin-top' : -popMargTop,
  24. 'margin-left' : -popMargLeft
  25. });
  26. $('body').append('<div id="fade"></div>');
  27. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  28. return false;
  29. });
  30. $('a.close, #fade').live('click', function() {
  31. $('#fade , .popup_block').fadeOut(function() {
  32. $('#fade, a.close').remove(); //fade them both out
  33. });
  34. return false;
  35. });
  36. });
  37. </script>
  38.  
  39.  
  40. <title>{Title}</title>
  41.  
  42. <link rel="shortcut icon" href="{Favicon}">
  43. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  44. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  45.  
  46. <!--Default Variables-->
  47.  
  48. <meta name="color:Background" content="#ffffff"/>
  49. <meta name="color:Text" content="#aaaaaa"/>
  50. <meta name="color:Link" content="#000000"/>
  51.  
  52. <meta name="image:B" content=""/>
  53.  
  54. <meta name="text:Your Url" content:""/>
  55. <meta name="text:Ask Title" content:"ask title here"/>
  56.  
  57. <meta name="text:Link 1 URL" content="" />
  58. <meta name="text:Link 1" content="" />
  59. <meta name="text:Link 2 URL" content="" />
  60. <meta name="text:Link 2" content="" />
  61. <meta name="text:Link 3 URL" content="" />
  62. <meta name="text:Link 3" content="" />
  63.  
  64.  
  65. <!-- jquery for tooltips-->
  66.  
  67.  
  68. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  69.  
  70. </script>
  71.  
  72.  
  73. <script>
  74.  
  75. (function($){
  76.  
  77. $(document).ready(function(){
  78.  
  79. $("a[title]").style_my_tooltips({
  80.  
  81. tip_follows_cursor:true,
  82.  
  83. tip_delay_time:30,
  84.  
  85. tip_fade_speed:300,
  86.  
  87. attribute:"title"
  88.  
  89. });
  90.  
  91. });
  92.  
  93. })(jQuery);
  94.  
  95. </script>
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. <style type="text/css">
  107.  
  108. #s-m-t-tooltip{
  109. position:absolute;
  110. margin-top: 15px;
  111. z-index:9999;
  112. background:{color:background};
  113. }
  114.  
  115.  
  116.  
  117. /*basics*/
  118. blockquote {padding:5px 0 5px 30px;
  119. border-left:1px solid {color:text};
  120. margin-left:30px;
  121. }
  122. html {
  123. background: url("{image:B}") no-repeat center center fixed;
  124. -webkit-background-size: cover;
  125. -moz-background-size: cover;
  126. -o-background-size: cover;
  127. background-size: cover; }
  128. body {
  129. background-image:{image:b};
  130. color:{color:text};
  131. font-family:courier new;
  132. font-size:11px;
  133. text-align:justify;
  134. margin:0;
  135. }
  136.  
  137.  
  138. a {
  139. color:{color:link};
  140. text-decoration:none;
  141. }
  142.  
  143. a:hover {
  144. color:transparent;}
  145.  
  146. img{opacity:1;
  147. border:none;
  148. text-decoration:none}
  149.  
  150.  
  151. small {
  152. font-size:9px;}
  153.  
  154. big {
  155. font-size:12px;}
  156.  
  157.  
  158. #title {font-size:12px;
  159. line-height:18px;
  160. margin-bottom:10px;
  161. text-transform:uppercase;
  162. text-align:left;}
  163.  
  164.  
  165. /*sidebar*/
  166. #sidebar {text-align:left;
  167. position:fixed;
  168. margin-left:-100px;
  169. margin-top:100px;
  170. width:125px;
  171. }
  172.  
  173.  
  174. #blogt {font-size:14px;
  175. font-style:italic;
  176. }
  177.  
  178. #links {
  179. line-height:16px;
  180. text-transform:lowercase;
  181. font-style:italic;
  182. }
  183. /* Start http://www.cursors-4u.com */ body, a:hover {cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), progress !important;} /* End http://www.cursors-4u.com */
  184.  
  185. #links a {
  186. margin-right:5px;
  187. font-size:14px;
  188. display:inline-block;
  189. margin-bottom:5px;
  190. }
  191.  
  192. #description {
  193. margin:20px 0;
  194. }
  195.  
  196.  
  197. /*pagination*/
  198. #pagination {
  199. margin:10px 0;
  200. text-transform:lowercase;
  201.  
  202. }
  203. #pagination a {
  204. }
  205.  
  206. /*container*/
  207. #con {
  208. left:50%;
  209. margin-left:-250px;
  210. position:absolute;
  211. }
  212.  
  213. html::-webkit-scrollbar {width:5px;height:auto;background:;}
  214. html::-webkit-scrollbar-corner { background:black; }
  215. html::-webkit-scrollbar-button:vertical {height:2px;display:block;}
  216. html::-webkit-scrollbar-button:horizontal {width:2px;display:block;}
  217. html::-webkit-scrollbar-thumb:vertical {background-image: url(););border: 1px solid black;border-right:none;}
  218. html::-webkit-scrollbar-thumb:horizontal {background-image: url(http://38.media.tumblr.com/1c06bc000cdfae56fe1e14370e37f6fd/tumblr_mnjigxybac1st9jt2o1_1280.png);border: 1px solid black;border-bottom;}
  219. html::-webkit-scrollbar-thumb {background image:url(http://38.media.tumblr.com/1c06bc000cdfae56fe1e14370e37f6fd/tumblr_mnjigxybac1st9jt2o1_1280.png);}
  220. html:-webkit-scrollbar-thumb:hover {background-image:url(http://38.media.tumblr.com/1c06bc000cdfae56fe1e14370e37f6fd/tumblr_mnjigxybac1st9jt2o1_1280.png)}
  221. html::-webkit-scrollbar-track-piece {background: none;}
  222. html::-webkit-scrollbar:vertical {border-left:1px solid transparent;}
  223. html::-webkit-scrollbar:horizontal {border-top:1px solid ;}
  224.  
  225. /*posts*/
  226.  
  227. #entries {
  228. margin-top:75px;
  229. width:400px;
  230. }
  231.  
  232.  
  233.  
  234. #posts {
  235. width:400px;
  236. margin-left:90px;
  237. {block:IndexPage}
  238. margin-bottom:250px;
  239. {/block:IndexPage}
  240. {block:PermalinkPage}
  241. margin-bottom:50px;
  242. {/block:PermalinkPage}
  243.  
  244. }
  245. #posts img {
  246. max-width:500px;
  247. }
  248.  
  249. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  250. .caption {width:100%;
  251. margin-top:10px;
  252.  
  253. }
  254.  
  255. /*quote*/
  256.  
  257. #titlequote{text-align:left;
  258. font-size:14px;
  259. line-height:18px;
  260. font-weight:;
  261. }
  262. #source {
  263. margin-top:15px;
  264. margin-left:15px;}
  265.  
  266. /*audio*/
  267.  
  268. .player {
  269. width:25px;
  270. height:25px;
  271. overflow:hidden;
  272. position:absolute;
  273. background:black;}
  274.  
  275. .audioinfo {
  276. margin-left:50px;
  277. }
  278.  
  279.  
  280. /*asks*/
  281. .q {margin-bottom:10px;
  282. }
  283. .as {
  284. font-weight:bold;}
  285.  
  286. .a {
  287. margin-top:10px;
  288. }
  289.  
  290.  
  291. /*chat*/
  292.  
  293. .chat ol {
  294. padding:0;
  295. list-style:none;
  296. }
  297. .line {padding:5px 0;}
  298.  
  299. .label {font-weight:bold;
  300. }
  301.  
  302.  
  303.  
  304.  
  305.  
  306. /*permalink and notes*/
  307.  
  308. #permalink {
  309. margin-top:15px;
  310. font-size:9px;
  311. text-transform:uppercase;
  312. }
  313. #permalink a {margin-right:10px;
  314. }
  315.  
  316.  
  317. .tags {
  318.  
  319. font-size:9px;
  320. }
  321.  
  322. .pagenotes {
  323. {block:IndexPage}
  324. text-align:center;
  325. display: none!important;
  326. {/block:IndexPage}
  327. width:400px;
  328. text-align:left;
  329.  
  330. }
  331. .pagenotes img {
  332. display:none!important;}
  333. .pagenotes li {
  334. list-style-type:none;
  335. padding:5px 0px;
  336. text-align:left;
  337. margin:0 0 0 -40px;
  338. }
  339.  
  340. #fade {
  341. display:none;
  342. background:transparent;
  343. position:fixed;
  344. left:0; top:0;
  345. width:100%;
  346. height:100%;
  347. opacity:1;
  348. z-index:9999;
  349. background-image:url("{image:B}");
  350. background-attachment:fixed;
  351. background-repeat:repeat;
  352. background-position:center;
  353. background-size:100% 100%;
  354. opacity:1;}
  355.  
  356. .popup_block {
  357. display:none;
  358. background:transparent;
  359. float:left;
  360. font-size:10;
  361. position:fixed;
  362. top:50%; left:50%;
  363. z-index:99999;
  364. }
  365. img.btn_close {
  366. float:right;
  367. margin:3px 3px 0px 0px; }
  368. *html #fade { position:absolute; }
  369. *html .popup_block { position:absolute; }
  370. #credit {
  371. position:fixed;
  372. right:3px;
  373. bottom:3px;
  374. padding:4px;
  375.  
  376. }
  377.  
  378. #credit a {
  379.  
  380. color:black;
  381. font-size:15px;
  382. }
  383. #credit a:hover{
  384. font-size:25px;
  385.  
  386. {CustomCSS}
  387.  
  388.  
  389. </style>
  390.  
  391.  
  392.  
  393. </head>
  394.  
  395. <body>
  396.  
  397.  
  398. <div id="con">
  399. <div id="sidebar">
  400. <div id="blogt"><a href="/">refresh</a></div><p></p>
  401. <div id="links">
  402. <a href="#?w=500" rel="03" class="poplight">ponder</a><p></p>
  403. <a href="#?w=500" rel="04" class="poplight">info</a>
  404.  
  405. <div id="pagination">
  406. {block:Pagination}
  407. {block:PreviousPage}
  408. <a href="{PreviousPage}">less </a>
  409. {/block:PreviousPage}
  410. <p></p>
  411.  
  412. {block:NextPage}
  413. <a href="{NextPage}">more</a>
  414. {/block:NextPage}
  415. {/block:Pagination}
  416. </div>
  417. </div>
  418.  
  419.  
  420.  
  421.  
  422. </div>
  423.  
  424.  
  425.  
  426.  
  427. <div id="entries">
  428.  
  429. {block:Posts}
  430. <div id="posts">
  431.  
  432.  
  433. {block:Quote}
  434.  
  435.  
  436. <div id="titlequote">“{Quote}”</div>
  437. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  438. {/block:Quote}
  439.  
  440.  
  441.  
  442. {block:Text}
  443.  
  444. {block:Title}
  445. <div id="title">{Title}</div>{/block:Title}
  446. {Body}
  447. {/block:Text}
  448.  
  449. {block:Link}
  450. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  451. {/block:Link}
  452.  
  453. {block:Chat}
  454. {block:Title}
  455. <h1>{Title}</h1>
  456. {/block:Title}
  457. <div class="chat">
  458. <ol>{block:Lines}
  459. <li class="line {Alt}">
  460. {block:Label}
  461. <span class="label">
  462. {Label}</span>
  463. {/block:Label}{Line}</li>
  464. {/block:Lines}
  465. </ol></div>
  466. {/block:Chat}
  467.  
  468.  
  469. {block:Photo}
  470. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}
  471. {/block:Photo}
  472.  
  473. {block:Photoset}
  474. {Photoset-400}
  475. {/block:Photoset}
  476.  
  477. {block:Video}
  478. {Video-400}
  479. {/block:Video}
  480.  
  481.  
  482. {block:Audio}
  483. <div class="player">{AudioPlayerWhite}</div>
  484. <div class="audioinfo">
  485. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  486. </div>
  487. {/block:Audio}
  488.  
  489. {block:Answer}
  490. <div class="q">
  491. <div class="as">{Asker} said: </div>
  492. {Question}</div>
  493. <div class="a">{Answer}</div>
  494. {/block:Answer}
  495.  
  496.  
  497. <center>{block:Date}
  498. <div id="permalink">
  499. <a href="{Permalink}" >{12Hour}:{Minutes} {AmPm}</a>{block:NoteCount}<a href="{Permalink}">+ {NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  500. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  501. </div>
  502. {/block:Date}</center>
  503.  
  504.  
  505.  
  506. </div>
  507.  
  508.  
  509. {block:PostNotes}
  510. <div class="pagenotes">
  511. {PostNotes}
  512. </div>
  513. {/block:PostNotes}
  514.  
  515.  
  516. {/block:Posts}
  517.  
  518.  
  519.  
  520.  
  521.  
  522. </div>
  523.  
  524. </div>
  525.  
  526.  
  527. {block:ContentSource}
  528. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  529. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  530. {/block:SourceLogo}
  531. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  532. {/block:ContentSource}
  533. <div id="credit"><a href="http://137px.tumblr.com" title="theme by 137px">☕</a></div>
  534. </body>
  535. <div id="03" class="popup_block">
  536. <center>
  537. {text:ask title}
  538. <p><iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/{text:your url}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]--></p>
  539.  
  540. </center></div></div></div></div></div></div></div></div></div></div></div>
  541. <div id="04" class="popup_block">
  542. <center>
  543. <big>Links</big> <br>
  544. <a href="{text:Link 1 URL}">{text:Link 1}</a>
  545. ~ <a href="{text:Link 2 URL}">{text:Link 2}</a>
  546. ~ <a href="{text:Link URL}">{text:Link 3}</a>
  547. </center></div></div></div></div></div></div></div></div></div></div></div>
  548. </html>
Advertisement
Add Comment
Please, Sign In to add comment