sofiiayala

Blogroll #2 for Tumblr

Mar 1st, 2016
1,060
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5.  
  6. <script type="text/javascript">
  7. WebFontConfig = {
  8. google: { families: [ 'Montserrat:400,700:latin' ] }
  9. };
  10. (function() {
  11. var wf = document.createElement('script');
  12. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  13. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  14. wf.type = 'text/javascript';
  15. wf.async = 'true';
  16. var s = document.getElementsByTagName('script')[0];
  17. s.parentNode.insertBefore(wf, s);
  18. })(); </script>
  19.  
  20. <!---- Blogroll #2 by Sofi (castiiel.tumblr.com). DON'T REMOVE THE CREDIT OR CLAIM THE THEME AS YOURS. DON'T USE IT AS A BASE --->
  21.  
  22. <style type="text/css">
  23.  
  24. ::-webkit-scrollbar {width: 4px; height: 4px; background: transparent; }
  25. ::-webkit-scrollbar-thumb { background-color: #6F9296; -webkit-border-radius: 0ex; } /*Here change the scrollbar color*/
  26.  
  27. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
  28. display:none;
  29. }
  30.  
  31. body{
  32. font-family:Arial;
  33. background: #fff; /*Here change background color*/
  34. color:#fff; /*Here change text color*/
  35. overflow-x:hidden;
  36. overflow-y:scroll;
  37. }
  38.  
  39. a{
  40. text-decoration:none;
  41. color:#fff; /*Here change links color*/
  42. -webkit-transition-duration:.6s;
  43. -moz-transition-duration:.6s;
  44. -o-transition-duration:.6s;
  45. -ms-transition-duration:.6s;
  46. }
  47.  
  48. a:hover{
  49. -webkit-transition-duration:.6s;
  50. -moz-transition-duration:.6s;
  51. -o-transition-duration:.6s;
  52. -ms-transition-duration:.6s;
  53. }
  54.  
  55. #content {
  56. margin:auto;
  57. margin-top:100px;
  58. height:90%;
  59. width:95%;
  60. text-align:center;
  61. margin-bottom:50px;
  62. }
  63.  
  64. #topbar {
  65. position:absolute;
  66. top:0px;
  67. left:0px;
  68. width:100%;
  69. height:50px;
  70. background:#6F9296; /*Here change top bar background color*/
  71. }
  72.  
  73. .plinks a {
  74. overflow:hidden;
  75. display:block;
  76. text-align:center;
  77. padding: 9.5px 12px;
  78. font-size:9px;
  79. text-transform:uppercase;
  80. white-space: nowrap;
  81. font-family: 'Montserrat', trebuchet ms, consolas, 'lato', sans-serif;
  82. font-weight:700;
  83. letter-spacing:1px;
  84. border-top:1px solid #fff; /*Here change links border color*/
  85. }
  86.  
  87. .plinks a:first-child {
  88. border-top:0px;
  89. }
  90.  
  91. #pt {
  92. position:absolute;
  93. left:10px;
  94. top:9px;
  95. text-align:center;
  96. padding: 7px 9px 8px 9px;
  97. font-size:12px;
  98. text-transform:uppercase;
  99. font-family: 'Montserrat', trebuchet ms, consolas, 'lato', sans-serif;
  100. font-weight:700;
  101. letter-spacing:1px;
  102. background:#fff; /*Here change top bar title background color*/
  103. color:#6F9296; /*Here change top bar title color*/
  104. overflow:hidden;
  105. z-index:9;
  106. -webkit-border-radius: 4px;
  107. -moz-border-radius: 4px;
  108. border-radius: 4px;
  109. }
  110.  
  111. #controls {
  112. position:absolute;
  113. top:9px;
  114. right:10px;
  115. }
  116.  
  117. #controls a {
  118. display:inline-block;
  119. margin-left:10px;
  120. -webkit-border-radius: 4px;
  121. -moz-border-radius: 4px;
  122. border-radius: 4px;
  123. padding: 7px 9px 8px 9px;
  124. font-size:10px;
  125. text-transform:uppercase;
  126. font-family: 'Montserrat', trebuchet ms, consolas, 'lato', sans-serif;
  127. font-weight:700;
  128. letter-spacing:1px;
  129. background:#fff; /*Here change the top bar controls background color*/
  130. color:#6F9296; /*Here change the top bar controls color*/
  131. }
  132.  
  133. #pannel {
  134. width:128px;
  135. height:155px;
  136. background:#6F9296; /*Here change the pannels background color*/
  137. position: relative;
  138. margin:10px;
  139. display:inline-block;
  140. -webkit-border-radius: 4px;
  141. -moz-border-radius: 4px;
  142. border-radius: 4px;
  143. overflow:hidden;
  144. }
  145.  
  146. #pannel img{
  147. width:128px;
  148. height:128px;
  149. }
  150.  
  151. #purl {
  152. width:112px;
  153. overflow:hidden;
  154. text-align:center;
  155. padding: 8px 10px;
  156. font-size:9px;
  157. text-transform:uppercase;
  158. white-space: nowrap;
  159. text-overflow: ellipsis;
  160. font-family: 'Montserrat', trebuchet ms, consolas, 'lato', sans-serif;
  161. font-weight:700;
  162. letter-spacing:1px;
  163. border-bottom:1px solid #fff; /*Here change the url border color*/
  164. }
  165.  
  166. #ptitle {
  167. border-top:1px solid #fff; /*Here change the blogs title border color*/
  168. text-align:center;
  169. padding: 8px 10px;
  170. font-size:9px;
  171. font-family: 'Montserrat', trebuchet ms, consolas, 'lato', sans-serif;
  172. font-weight:700;
  173. text-transform:uppercase;
  174. letter-spacing:1px;
  175. background:#6F9296; /*Here change blogs title background color*/
  176. position:absolute;
  177. bottom:-60px;
  178. width:108px;
  179. transition: all 0.6s linear;
  180. -webkit-transition: opacity 0.6s linear;
  181. -webkit-transition: all 0.6s linear;
  182. -moz-transition: all 0.6s linear;
  183. }
  184.  
  185. #pannel:hover #ptitle {
  186. bottom:0px;
  187. transition: all 0.6s linear;
  188. -webkit-transition: opacity 0.6s linear;
  189. -webkit-transition: all 0.6s linear;
  190. -moz-transition: all 0.6s linear;
  191. }
  192.  
  193. </style>
  194. </head>
  195. <body>
  196.  
  197. <div id="topbar">
  198. <div id="pt">great blogs to follow</div>
  199. <div id="controls">
  200. <a href="http://tumblr.com">dashborad</i></a>
  201. <a href="http://www.tumblr.com/follow/{Name}">+follow</i></a>
  202. </div>
  203. </div>
  204.  
  205. <div id="content">
  206.  
  207. {block:Following}
  208. <div id="pannel" style="height:155px;" class="plinks">
  209. <a href="/">index</a>
  210. <a href="/ask">mail</a>
  211. <a href="/about">about</a>
  212. <a href="/tags">tags</a>
  213. <!--No. Go away. Do not touch the credit. Don't be misserable. If you don't want a credit, biuld your own damn code.-->
  214. <a href="http://castiiel.tumblr.com">credit</a>
  215. </div>
  216. {block:Followed}
  217. <div id="pannel">
  218. <a href="{FollowedURL}">
  219. <div id="purl">{FollowedName}</div>
  220. <img src="{FollowedPortraitURL-128}">
  221. <div id="ptitle">{FollowedTitle}</div>
  222. </div>
  223. </a>
  224. {/block:Followed}
  225. {/block:Following}
  226.  
  227. </div>
  228. </body>
  229. </html>
  230. <!--
Advertisement
Add Comment
Please, Sign In to add comment