Advertisement
lills

blogroll

Sep 15th, 2014
1,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4.  
  5. <!--
  6. THEME BY LILLSTHEMES
  7. DO NOT STEAL OR USE AS BASE CODE
  8. LEAVE CREDIT IN TACT
  9. -->
  10.  
  11.  
  12. <!--
  13. Be sure to scroll to the bottom of this code and add your URL where it says "YOUR URL" or the ask box will not work!!!
  14. -->
  15.  
  16.  
  17.  
  18. <script type="text/javascript"
  19. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  20. <script>
  21. $(document).ready(function() {
  22. //
  23. $('a.poplight[href^=#]').click(function() {
  24. var popID = $(this).attr('rel'); //Get Popup Name
  25. var popURL = $(this).attr('href'); //Get Popup href to define size
  26. var query= popURL.split('?');
  27. var dim= query[1].split('&');
  28. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  29. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  30. var popMargTop = ($('#' + popID).height() + 80) / 2;
  31. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  32. //Apply Margin to Popup
  33. $('#' + popID).css({
  34. 'margin-top' : -popMargTop,
  35. 'margin-left' : -popMargLeft
  36. });
  37. $('body').append('<div id="fade"></div>');
  38. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  39. return false;
  40. });
  41. $('a.close, #fade').live('click', function() {
  42. $('#fade , .popup_block').fadeOut(function() {
  43. $('#fade, a.close').remove(); //fade them both out
  44. });
  45. return false;
  46. });
  47. });
  48. </script>
  49.  
  50. <title>Blogroll</title>
  51.  
  52. <link rel="shortcut icon" href="{Favicon}" />
  53.  
  54. <link href="http://static.tumblr.com/fjkiake/3brnbyue4/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  55.  
  56. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  57. <script src="http://static.tumblr.com/fjkiake/zp5nbyud9/jquery.style-my-tooltips.js"></script>
  58. <script>
  59. (function($){
  60. $(document).ready(function(){
  61. $("a[title]").style_my_tooltips({
  62. tip_follows_cursor:true,
  63. tip_delay_time:10,
  64. tip_fade_speed:300,
  65. attribute:"title"
  66. });
  67. });
  68. })(jQuery);
  69. </script>
  70.  
  71.  
  72. </head>
  73.  
  74. <style type="text/css">
  75.  
  76. .popup_block{
  77. display:none;
  78. background:#fff;
  79. padding:20px;
  80. border:1px solid #eee;
  81. float:left;
  82. position:fixed;
  83. top:50%;left:50%;
  84. z-index: 99999;
  85. -webkit-box-shadow: 0px 0px 20px #000;
  86. -moz-box-shadow: 0px 0px 20px #000;
  87. box-shadow: 0px 0px 20px #000;
  88. }
  89.  
  90. *html #fade {position: absolute;}
  91. *html .popup_block {position: absolute;}
  92. #fade {
  93. display:none;
  94. position:fixed;
  95. left:0px;
  96. top:0px;
  97. width:100%;
  98. height:100%;
  99. z-index:9999;
  100. background:#000;
  101. opacity:0.5;
  102. }
  103.  
  104. ::-webkit-scrollbar-thumb{
  105. background-color: white;
  106. border: 2px solid black;
  107. height:auto;
  108. }
  109.  
  110. ::-webkit-scrollbar {
  111. height:auto;
  112. width:11px;
  113. background-color: white;
  114. border:5px solid black;
  115. }
  116.  
  117.  
  118. body {
  119. background:black;
  120. font-family:consolas, courier new;
  121. }
  122.  
  123. a {
  124. color:white;
  125. text-decoration:none;
  126. text-transform:uppercase;
  127. }
  128.  
  129. #container {
  130. position:fixed;
  131. top:100px;
  132. right:482px;
  133. width:505px;
  134. padding:5px;
  135. }
  136.  
  137. #title {
  138. color: white;
  139. text-align:left;
  140. font-style:italic;
  141. text-transform:uppercase;
  142. font-size:14px;
  143. }
  144.  
  145. #links {
  146. color:white;
  147. text-align:right;
  148. font-size:11px
  149. }
  150.  
  151. #info {
  152. height:90px;
  153. width:150px;
  154. display:inline-table;
  155. border:1px solid white;
  156. margin-bottom:10px;
  157. }
  158.  
  159. #info img {
  160. margin-right:5px;
  161. border-radius:50%;
  162. padding:2px;
  163. }
  164.  
  165. #info a {
  166. color:black;
  167. }
  168.  
  169. #text, #text a {
  170. font-size:10px;
  171. text-transform:normal;
  172. text-decoration:none;
  173. letter-spacing:0px;
  174. padding:5px;
  175. color:white;}
  176.  
  177.  
  178. #blogroll {
  179. height:400px;
  180. background:black;
  181. border:1px solid white;
  182. padding:5px;
  183. overflow:auto;
  184. }
  185.  
  186. #s-m-t-tooltip{
  187. position:absolute;
  188. z-index:9999;
  189. background:#fff;
  190. max-width:100px;
  191. font-family:consolas;
  192. color:black;
  193. border-radius:0;
  194. }
  195.  
  196. #cred {
  197. position:fixed;
  198. font-family:consolas, courier new;
  199. font-size:12px;
  200. right:9px;
  201. bottom:9px;
  202. }
  203.  
  204. </style>
  205.  
  206.  
  207. <body>
  208.  
  209. <div id="container">
  210.  
  211. <div id="title">blogroll</div>
  212.  
  213. <div id="links">
  214. <a href="/">home</a> <a href="#?w=450" rel="box1" class="poplight">ask</a>
  215. </div>
  216.  
  217.  
  218. <div id="blogroll">
  219.  
  220. {block:Following}{block:Followed}
  221. <div id="info">
  222. <a target="_blank" href='{FollowedURL}' title='{FollowedTitle}'><center><br><img src="{FollowedPortraitURL-40}"><br><div id="text">{FollowedName}<br></div></center></a>
  223. </div>
  224. {block:Followed}{/block:Following}
  225.  
  226. </div>
  227.  
  228. </div>
  229. </body>
  230.  
  231. <div id="box1" class="popup_block">
  232. <iframe frameborder="0" height="200" id="ask_form" scrolling="yes" src="http://www.tumblr.com/ask_form/YOUR URL.tumblr.com" width="100%"></iframe>
  233. </div>
  234.  
  235. </div></div></div></div></div></div></div></div></div></div>
  236.  
  237. <div id="cred">
  238. <a href="http://lillsthemes.tumblr.com/">LT</a>
  239. </div>
  240.  
  241.  
  242. </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement