thewisepotato

All-in-One Blogroll

Oct 8th, 2013
603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <title> {Title}{block:PostSummary}: {PostSummary}{/block:PostSummary}</title>
  6. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  7. <link rel="shortcut icon" href="{Favicon}" />
  8.  
  9. <link href='http://fonts.googleapis.com/css?family=News+Cycle|Megrim' rel='stylesheet' type='text/css'>
  10.  
  11. <style type="text/css">
  12.  
  13. *{-webkit-transition:all 0.5s ease-in-out; -moz-transition:all 0.5s ease-in-out; -ms-transition:all 0.5s ease-in-out; -o-transition:all 0.5s ease-in-out; transition:all 0.5s ease-in-out;}
  14.  
  15. body {
  16. background-color:#000000; /*CHANGE THE BACKGROUND COLOR*/
  17. background-image:url(); /*CHANGE THE BACKGROUND IMAGE*/
  18. font-family:News Cycle; /*CHANGE THE FONT TO News Cycle OR ANY DEFAULT FONT*/
  19. }
  20.  
  21. a, a:visited, a:link, a:active, a:hover {
  22. text-decoration:none;
  23. color:#000; /*CHANGE THE DEFAULT LINK COLOR*/
  24. }
  25.  
  26. #things {
  27. background-color:#fff;/*CHANGE THE BACKGROUND COLOR OF THE CONTENT*/
  28. height:100%;
  29. width:600px;
  30. position:fixed;
  31. top:0;
  32. left:340px;
  33. padding:5px;
  34. -webkit-box-shadow: 3px 3px 10px rgba(50, 50, 50, 0.75);
  35. -moz-box-shadow: 3px 3px 10px rgba(50, 50, 50, 0.75);
  36. box-shadow: 3px 3px 10px rgba(50, 50, 50, 0.75);
  37. }
  38.  
  39. #links a {
  40. display:inline-block;
  41. color:#666; /*CHANGE THE COLOR OF THE NAVIGATION LINKS*/
  42. letter-spacing:1px;
  43. margin:5px;
  44. margin-right:15px;
  45. padding:1px 5px;
  46. }
  47.  
  48. #links a:hover {
  49. background-color:#000; /*CHANGE THE NAVIGATION LINK BACKGROUND COLOR ON HOVER*/
  50. color:#ccc;/*CHANGE THE NAVIGATION LINK TEXT COLOR ON HOVER*/
  51. }
  52.  
  53. #textroll a:hover {
  54. color:#b8b8b8; /*CHANGE THE TEXT COLOR OF THE USERNAME BLOGROLL ON HOVER*/
  55. }
  56.  
  57. #titleroll a:hover {
  58. background-color:#000;/*CHANGE THE BACKGROUND COLOR OF THE TITLE BLOGROLL ON HOVER*/
  59. color:#fff;/*CHANGE THE TEXT COLOR OF THE TITLE BLOGROLL ON HOVER*/
  60. }
  61.  
  62. /*-------------------------------------------------------------------*/
  63. #desc {overflow:scroll; padding:5px; text-align:justify;}
  64.  
  65. h2 {text-align:center; font-size:2em; font-family:megrim;}
  66.  
  67. #links {padding:5px; width:47.5%; text-align:center; float:left;}
  68.  
  69. #buttons {padding:5px; padding-top:10px; width:47.5%; text-align:center;float:left; margin-left:5px;}
  70.  
  71. button {margin:5px;}
  72.  
  73. button:focus, button:hover {cursor:pointer;}
  74.  
  75. .spacer {width:580px; border:solid 10px transparent; border-bottom:solid 1px black; clear:both; margin-top:10px;}
  76.  
  77. .roll { overflow:scroll;width:595px;padding:5px; position:fixed; top:210; left:345px; background-color:#fff;}
  78.  
  79. #textroll {text-align:justify; word-break:keep-all;}
  80.  
  81. #textroll a {margin:5px;}
  82.  
  83. #portroll {text-align:center; z-index:99;}
  84.  
  85. #titleroll {text-align:center;}
  86.  
  87. #titleroll a {padding:5px; display:inline-block; margin:5px;}
  88.  
  89.  
  90. {CustomCSS}
  91. </style>
  92.  
  93. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  94. <script type="text/javascript">
  95. $(document).ready(function(){
  96. var $height = $('#things').height();
  97. var $h = $('#topthings').height();
  98. $('.roll').css('height', $height - ($h + 10));
  99. $('#names').click(function(){
  100. $('#textroll').css('z-index','99');
  101. $('#portroll, #titleroll').css('z-index','1');
  102. });
  103. $('#portraits').click(function(){
  104. $('#portroll').css('z-index','99');
  105. $('#textroll, #titleroll').css('z-index','1');
  106. });
  107. $('#titles').click(function(){
  108. $('#titleroll').css('z-index','99');
  109. $('#portroll, #textroll').css('z-index','1');
  110. });
  111. });
  112.  
  113. </script>
  114.  
  115. </head>
  116. <body>
  117.  
  118. <div id="things">
  119.  
  120. <div id="topthings">
  121. <div id="desc">
  122.  
  123. <h2>
  124. Blogroll <!--CHANGE THE TITLE-->
  125. </h2>
  126.  
  127. <!--CHANGE OR REMOVE THE DESCRIPTION-->
  128. This is text which serves as a filler description in this Tumblr theme. You can see <b>bold</b>, <em>italic</em>, and <strike>strikethrough</strike> text. <big>Big text</big>, <small>small text</small>, <sup>superscript,</sup> <sub>subscript,</sub> <a href="//syntaxthemes.tumblr.com">links,</a> anything you want.
  129. </div>
  130.  
  131. <div id="links">
  132. <a href="/">home</a>
  133.  
  134. <a href="/ask">ask</a>
  135.  
  136. <!--FEEL FREE TO ADD OR REMOVE AS MANY LINKS AS YOU WANT-->
  137. <a href="/"> <!--CHANGE THE LINK URL-->
  138. link 1<!--CHANGE THE LINK TITLE-->
  139. </a>
  140.  
  141. <a href="/"> <!--CHANGE THE LINK URL-->
  142. link 2<!--CHANGE THE LINK TITLE-->
  143. </a>
  144.  
  145. <a href="/"> <!--CHANGE THE LINK URL-->
  146. link 3<!--CHANGE THE LINK TITLE-->
  147. </a>
  148.  
  149. <a href="/"> <!--CHANGE THE LINK URL-->
  150. link 4<!--CHANGE THE LINK TITLE-->
  151. </a>
  152.  
  153. <a href="/"> <!--CHANGE THE LINK URL-->
  154. link 5<!--CHANGE THE LINK TITLE-->
  155. </a>
  156.  
  157. </div>
  158.  
  159. <div id="buttons">
  160. <b>Display Options</b><br/>
  161. <button id="names">Usernames</button>
  162. <button id="portraits">Portraits</button>
  163. <button id="titles">Blog Titles</button>
  164. </div>
  165.  
  166. <div class="spacer"></div>
  167. </div><!--topthings-->
  168.  
  169. {block:Following}
  170.  
  171. <div class="roll" id="textroll">
  172. {block:Followed}
  173. <a href="{FollowedURL}">{FollowedName}&nbsp;</a>
  174. {/block:Followed}
  175. </div>
  176.  
  177. <div class="roll" id="portroll">
  178. {block:Followed}
  179. <a href="{FollowedURL}"><img style="margin:5px;" src="{FollowedPortraitURL-40}"/></a>
  180. {/block:Followed}
  181. </div>
  182.  
  183. <div class="roll" id="titleroll">
  184. {block:Followed}
  185. <a href="{FollowedURL}"><b>{FollowedTitle}</b></a>
  186. {/block:Followed}
  187. </div>
  188.  
  189. {/block:Following}
  190.  
  191. </div><!--things-->
  192.  
  193. <!------DO NOT REMOVE THE CREDIT. DOING SO WOULD MAKE YOU A THIEF.------->
  194. <a href="http://syntaxthemes.tumblr.com">
  195. <img style="position:fixed; bottom:0; right:0; display:block; opacity:0.7; margin:0; z-index:999999999999!important;" onmouseover="this.style.opacity=0.9" onmouseout="this.style.opacity=0.7" src="http://static.tumblr.com/puls2hm/QOHn1brjx/st.png"/></a>
  196. <!----------------------------------THANK-------------------------------->
  197.  
  198. </body>
  199. </html>
Advertisement
Add Comment
Please, Sign In to add comment