Advertisement
kthms

nice blogroll

Jan 26th, 2015
7,196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.55 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5.  
  6.  
  7.  
  8.  
  9. nice blogroll @ shythemes
  10.  
  11.  
  12.  
  13.  
  14. -->
  15. <title>{Title} &ndash; blogroll</title>
  16. <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
  17. <link rel="shortcut icon" href="{Favicon}"/>
  18. <style type="text/css">
  19.  
  20. /* if you need to hide blogs from your blogroll, replace url1, url2, etc with the url(s) you wish to hide. add as few or as many as you need, preceded by periods and separated with commas */
  21. .user_url1,
  22. .user_url2,
  23. .user_url3,
  24. .user_url4,
  25. .user_url5 {
  26. display:none !important;
  27. }
  28.  
  29. ::-webkit-scrollbar {
  30. width:3px;
  31. height:3px;
  32. background-color:inherit;
  33. }
  34. ::-webkit-scrollbar-track {
  35. background-color:inherit;
  36. }
  37. ::-webkit-scrollbar-thumb {
  38. background-color:#bdbdbd;
  39. }
  40. body {
  41. margin:0px;
  42. font-family:calibri, 'trebuchet ms', 'helvetica neue', sans-serif;
  43. font-size:9px;
  44. text-transform:lowercase;
  45. letter-spacing:1px;
  46. line-height:1.4em;
  47. word-wrap:break-word;
  48. color:#b8b8b8;
  49. background-color:#f9f9f9;
  50. background-size:cover;
  51. background-attachment:fixed;
  52. }
  53. a {
  54. text-decoration:none;
  55. color:inherit;
  56. }
  57. #main {
  58. position:absolute;
  59. }
  60. header {
  61. position:fixed;
  62. top:0;
  63. left:0;
  64. bottom:0;
  65. z-index:200;
  66. width:30%;
  67. text-align:center;
  68. font-size:8px;
  69. line-height:initial;
  70. font-family:calibri, 'trebuchet ms', sans-serif;
  71. text-transform:uppercase;
  72. letter-spacing:1px;
  73. background-color:#fff;
  74. }
  75. header .nest {
  76. display:table;
  77. position:relative;
  78. width:100px;
  79. height:100%;
  80. margin:auto;
  81. }
  82. header .content {
  83. display:table-cell;
  84. vertical-align:middle;
  85. width:100px;
  86. }
  87. header .avatar {
  88. display:block;
  89. width:70px;
  90. height:auto;
  91. margin:3px auto;
  92. padding:15px;
  93. background-color:#fafafa;
  94. }
  95. nav {
  96. padding:9px;
  97. background-color:#fafafa;
  98. }
  99. nav ol {
  100. list-style-type:none;
  101. padding-left:0;
  102. margin:0;
  103. }
  104. nav ol li {
  105. display:inline-block;
  106. margin:0 3px;
  107. }
  108. nav ol li:last-child {
  109. margin-bottom:0;
  110. }
  111. nav a {
  112. border:0;
  113. display:inline-block;
  114. }
  115. #content {
  116. margin-left:30%;
  117. padding:50px;
  118. width:70%;
  119. -moz-box-sizing:border-box;
  120. box-sizing:border-box;
  121. line-height:0;
  122. text-align:center;
  123. }
  124. .blog {
  125. margin:0 2px 2px 0;
  126. background-color:#fff;
  127. display:inline-block;
  128. position:relative;
  129. }
  130. .blog a {
  131. display:block;
  132. position:absolute;
  133. top:0px;
  134. left:0px;
  135. bottom:0px;
  136. right:0px;
  137. overflow:hidden;
  138. }
  139. .blog .bg {
  140. background-color:#f9f9f9;
  141. opacity:0;
  142. transition:opacity .2s ease-out;
  143. }
  144. .blog:hover .bg {
  145. opacity:1;
  146. }
  147. .blog .bg,
  148. .blog .nest {
  149. position:absolute;
  150. top:0px;
  151. left:0px;
  152. bottom:0px;
  153. right:0px;
  154. }
  155. .blog .content {
  156. display:table;
  157. position:relative;
  158. width:100%;
  159. height:100%;
  160. }
  161. .blog .name {
  162. display:table-cell;
  163. vertical-align:middle;
  164. text-align:center;
  165. opacity:0;
  166. color:inherit;
  167. font-size:8px;
  168. text-transform:uppercase;
  169. transition:opacity .2s ease-out;
  170. }
  171. .blog .name i {
  172. display:inline-block;
  173. max-width:68px;
  174. padding:6px;
  175. -moz-box-sizing:border-box;
  176. box-sizing:border-box;
  177. font-style:inherit;
  178. line-height:1.4em;
  179. }
  180. .blog:hover .name {
  181. opacity:1;
  182. transition:opacity .2s ease-in;
  183. }
  184. .blog img {
  185. position:relative;
  186. display:block;
  187. width:48px;
  188. height:48px;
  189. padding:16px;
  190. transition:border-color .2s ease-out;
  191. }
  192. #top, #bottom {
  193. position:fixed;
  194. left:0;
  195. right:0;
  196. height:50px;
  197. background-color:inherit;
  198. }
  199. #top {
  200. top:0;
  201. }
  202. #bottom {
  203. bottom:0;
  204. }
  205. </style>
  206. </head>
  207. <body>
  208. <div id="main">
  209. <header><div class="nest"><div class="content">
  210. <a style="display:block" href="/"><img src="{Favicon}" class="avatar"/></a>
  211. <nav>
  212. <ol>
  213. <li><a href="/">return</a></li>
  214. <li><a href="http://shythemes.tumblr.com">credit</a></li>
  215. </ol>
  216. </nav>
  217. </div></div></header>
  218. <div id="content">
  219. {block:Following}{block:Followed}<div class="blog user_{FollowedName}">
  220. <img src="{FollowedPortraitURL-128}"/>
  221. <div class="bg"></div>
  222. <div class="nest"><div class="content">
  223. <div class="name"><i>{FollowedName}</i></div>
  224. </div></div>
  225. <a href="{FollowedURL}"></a>
  226. </div>{/block:Followed}{/block:Following}
  227. </div></div>
  228. <div id="top"></div><div id="bottom"></div>
  229. </body>
  230. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement