Advertisement
str-wrs

Tags: Crystalised

Jun 16th, 2013
7,053
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. <!--
  2.  
  3. TAG PAGE: CRYSTALISED
  4. by acuite
  5.  
  6. - don't steal this pls
  7. - enjoy, ilu (ノ◕ヮ◕)ノ*:・゚✧
  8.  
  9. - @acuite for more themes
  10.  
  11. -->
  12.  
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16.  
  17. <title>Navigation</title>
  18. <link rel="shortcut icon" href="{Favicon}" />
  19. <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  20. <style type="text/css">
  21.  
  22. body {
  23. margin:0px;
  24. background:#f8f8f8;
  25. font-family:'Open Sans',Helvetica,Arial,sans-serif;
  26. color:#333;
  27. font-size:8px;
  28. letter-spacing:0.25px;
  29. }
  30.  
  31. a:hover {color:#ccc;}
  32. a {
  33. text-decoration:none;
  34. transition:0.5s ease;
  35. -o-transition:0.5s ease;
  36. -moz-transition:0.5s ease;
  37. -webkit-transition:0.5s ease;
  38. color:#888;
  39. }
  40.  
  41. .c {
  42. position:fixed;
  43. right:30px;
  44. bottom:30px;
  45. font-size:9px;
  46. letter-spacing:1px;
  47. text-transform:uppercase;
  48. }
  49.  
  50. #center {position:relative;margin:20px auto;width:516px;}
  51. .box {
  52. width:190px;
  53. margin:20px;
  54. padding:13px;
  55. border-radius:4px;
  56. box-shadow:rgba(0,0,0,.05)1px 1px 2px;
  57. }
  58.  
  59. .box img{
  60. float:left;
  61. width:48px;
  62. height:48px;
  63. margin-right:9px;
  64. border-radius:4px;
  65. }
  66.  
  67. h2{
  68. padding:10px;
  69. font-size:9px;
  70. font-weight:400;
  71. letter-spacing:1px;
  72. font-style:italic;
  73. text-align:center;
  74. text-transform:uppercase;
  75. margin:-13px -13px 13px;
  76. border-bottom:1px solid #eee;
  77. }
  78.  
  79. .links a:hover {padding-left:12px;}
  80. .links a:last-child {border:none;}
  81. .links a{display:block;padding:6px;border-bottom:1px solid #eee;}
  82. .box, ::-webkit-scrollbar-thumb {background:#fff;border:1px solid #eee;}
  83. ::-webkit-scrollbar {width:10px;height:10px;background:#f8f8f8;}
  84.  
  85. </style>
  86.  
  87. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  88.  
  89. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  90.  
  91. <script>
  92. $(function(){
  93. var $container = $('#content');
  94. $container.imagesLoaded(function(){
  95. $container.masonry({
  96. itemSelector: '.box',
  97. });
  98. });
  99. $container.infinitescroll({
  100. itemSelector : ".box",
  101. navSelector : "div.pagination",
  102. nextSelector : ".pagination a#next",
  103. loadingImg : "",
  104. loadingText : "<em></em>",
  105. bufferPx : 10000,
  106. extraScrollPx: 12000,
  107. },
  108. // trigger Masonry as a callback
  109. function( newElements ) {
  110. var $newElems = $( newElements ).css({ opacity: 0 });
  111. // ensure that images load before adding to masonry layout
  112. $newElems.imagesLoaded(function(){
  113. $newElems.animate({ opacity: 1 });
  114. $container.masonry( 'appended', $newElems, true );
  115. });
  116. }
  117. );
  118. });
  119. </script>
  120. </head>
  121. <body>
  122. <div id="center">
  123. <div id="content">
  124.  
  125.  
  126.  
  127.  
  128.  
  129. <!-- Example -->
  130. <div class="box">
  131. <h2>Category Name</h2><!-- Title -->
  132. <img src="http://i.imgur.com/A3cw9r6.png"/><!-- Image URL -->
  133. <div class="links">
  134. <a href="/tagged/tag-link">Tag Name</a>
  135. <a href="/tagged/tag-link">Tag Name</a>
  136. <a href="/tagged/tag-link">Tag Name</a>
  137. <a href="/tagged/tag-link">Tag Name</a>
  138. <a href="/tagged/tag-link">Tag Name</a>
  139. </div>
  140. </div>
  141.  
  142.  
  143.  
  144. <!-- Example -->
  145. <div class="box">
  146. <h2>Category Name</h2><!-- Title -->
  147. <img src="http://i.imgur.com/A3cw9r6.png"/><!-- Image URL -->
  148. <div class="links">
  149. <a href="/tagged/tag-link">Tag Name</a>
  150. <a href="/tagged/tag-link">Tag Name</a>
  151. <a href="/tagged/tag-link">Tag Name</a>
  152. <a href="/tagged/tag-link">Tag Name</a>
  153. <a href="/tagged/tag-link">Tag Name</a>
  154. <a href="/tagged/tag-link">Tag Name</a>
  155. <a href="/tagged/tag-link">Tag Name</a>
  156. <a href="/tagged/tag-link">Tag Name</a>
  157. </div>
  158. </div>
  159.  
  160.  
  161.  
  162. <!-- Example -->
  163. <div class="box">
  164. <h2>Category Name</h2><!-- Title -->
  165. <img src="http://i.imgur.com/A3cw9r6.png"/><!-- Image URL -->
  166. <div class="links">
  167. <a href="/tagged/tag-link">Tag Name</a>
  168. <a href="/tagged/tag-link">Tag Name</a>
  169. <a href="/tagged/tag-link">Tag Name</a>
  170. <a href="/tagged/tag-link">Tag Name</a>
  171. <a href="/tagged/tag-link">Tag Name</a>
  172. </div>
  173. </div>
  174.  
  175.  
  176.  
  177.  
  178.  
  179. </div>
  180. </div>
  181. <div class="c"><a href="http://acuite.tumblr.com">acuite</a></div>
  182. </body>
  183. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement